{{--*/ $total_amount =0 /*--}} @foreach($stock_received_entries as $index=> $entry) {{--*/ $total_amount += $entry->quantity*$entry->price_per_item /*--}} @endforeach
S/N Item Name Quantity Price Amount
{{++$index}} {{ $entry->item }} {{ $entry->quantity }} {{number_format($entry->price_per_item,2)}} {{ number_format($entry->quantity*$entry->price_per_item,2) }}
Total Amount {{number_format($total_amount,2)}}