{{-- --}} {{-- --}} @admin @endadmin {{-- --}} {{-- --}} {{-- --}} @foreach ($items as $key => $item) {{-- --}} {{-- --}} @admin @endadmin {{-- --}} {{-- --}} @endforeach
# {{ __('Code') }} {{ __('Barcode') }} {{ __('Name') }} {{ __('Size') }}{{ __('Price Sell') }}{{ __('Price Buy') }}{{ __('Avg Price') }}{{ __('Qty') }}{{ __('Unit') }}{{ __('Qty') }} {{ __('Action') }}{{ __('Action') }}
{{ $key + 1 }} {{ $item->code }} {{ $item->barcode }} {{ $item->name }} {{ $item->size_code }}{{ number_format($item->price) }}{{ number_format($item->pricebuy) }}{{ number_format($item->avgprice) }}{{ number_format($item->trans_qty) }} pcs{{ $item->unit_name }} {{ $item->message ?: '-' }} @if ($item->trans_qty > 0)
@else
@endif
# {{ __('Total Qty') }}
Total {{ number_format($items->sum('trans_qty'), 0, ',', ',') }}
Lost Sale
@foreach ($lostSale as $item)

Item : {{ $item->name }} - {{ $item->barcode }}

@if ($item->total_qty <= 0)

Tidak ada stock

@else

Ada stock {{ $item->total_qty }} pcs

@endif


@endforeach
@livewireScripts