{{$item->code}}
|
{{$item->date}}
|
{{$item->transaction_type}}
|
{{$item->supplier ? $item->supplier->name : "-"}}
|
{{ $item->user ? $item->user->username : "-" }}
|
{{ number_format($item->total ?? 0,2,',','.') }}
|
@if($item->discount_type == "NOMINAL")
( RP )
@else
( % )
@endif
{{ number_format($item->discount ?? 0,2,',','.') }}
|
{{ number_format($item->tax ?? 0,2,',','.') }}
|
{{ number_format($item->grand_total ?? 0,2,',','.') }}
|
|
{{$itemDetail->product ? $itemDetail->product->name : "-"}}
|
{{$itemDetail->product ? $itemDetail->product->purchase_unit : "-"}}
|
{{ number_format($itemDetail->price ?? 0,2,',','.') }}
|
{{ number_format($itemDetail->quantity ?? 0,2,',','.') }}
|
{{ number_format($itemDetail->amount ?? 0,2,',','.') }}
|
@endforeach
@empty