@extends('layoutt') @section('content')

{{ $title }}

@if (session()->has('success')) @endif
@csrf
@foreach ($transactions as $transaction) @if ($transaction['stok'] < 0) @endif @endforeach
Riwayat Terjual
{{ $transaction['nama_obat'] }}
@foreach ($riwayatMasuk as $riwayat) @endforeach
Riwayat Masuk
{{ $riwayat['nama_obat'] }}
@endsection