{!! Form::open(array('route' => 'invoices.store', 'class' => 'stdform','method'=>'post','id'=>'generate_client_invoice')) !!}
D.O.N | Truck/Trailer | Destination | Product | Offloading Quantity | Loss | Chargeable Loss | Rate | Gross Erning | Loss Value | Net Earning |
---|---|---|---|---|---|---|---|---|---|---|
{{$proforma_invoice_item_loading_order_destination->d_o_number}} | {{$proforma_invoice_item_loading_order_destination->truck}}/{{$proforma_invoice_item_loading_order_destination->trailer}} | {{$proforma_invoice_item_loading_order_destination->destination}} | {{$proforma_invoice_item_loading_order_destination->product}} | {{number_format($proforma_invoice_item_loading_order_destination->offloading_quantity)}} | {{number_format($proforma_invoice_item_loading_order_destination->different_quantity)}} | {{number_format($proforma_invoice_item_loading_order_destination->driver_loss)}} | {{number_format($proforma_invoice_item_loading_order_destination->rate)}} | {{--*/ $gross_erning = $proforma_invoice_item_loading_order_destination->offloading_quantity*$proforma_invoice_item_loading_order_destination->rate*0.001 /*--}} {{--*/ $loss_value = $proforma_invoice_item_loading_order_destination->driver_loss*$proforma_invoice_item_loading_order_destination->rate*0.001 /*--}} {{--*/ $net_earning = $gross_erning - $loss_value /*--}} {{--*/ $total_invoice_amount += $net_earning /*--}}{{number_format($gross_erning)}} | {{number_format($loss_value)}} | {{number_format($net_earning)}} |
INVOICE AMOUNT | {{number_format($total_invoice_amount,2)}} |