@php $i = 1; @endphp @forelse ($transactions as $t) {{ $i++ }} {{ \Illuminate\Support\Carbon::parse($t->txn_date)->format('Y-m-d') }} {{ optional($t->branch)->branch_name ?? '-' }} {{ $t->product->product_code ?? '' }} {{ $t->product->name ?? '' }} {{ $t->type }} {{ numberformat($t->qty_change) }} {{ numberformat($t->old_qty) }} {{ numberformat($t->new_qty) }} {{ $t->user->name ?? '' }} {{ $t->purchase_price !== null ? numberformat($t->purchase_price) : '-' }} {{ $t->sale_price !== null ? numberformat($t->sale_price) : '-' }} {{ $t->note ?? '' }} @empty No transactions found for the selected filters. @endforelse