@extends('admin.layout.master') @section('title','PROFORMA INVOICE') @section('custom_style') @endsection @section ('content')

PROFORMA INVOICE

 
{{--
--}}
{{-- end --}}
@php $total_qty=0; $total_tcbm=0; $total_gprofit=0; $total_fob_offer_g=0; $i=0; $roe=$quotation->roe; @endphp @forelse ($quotation->details as $k=>$item) @php $total_qty+=$item->qty; $total_tcbm+=$tcbm; $total_fob_offer_g+=$total_fob_offer; @endphp @empty @endforelse
Customer : {{$quotation->party->name_eng}} || Order NO : {{$quotation->quotation_no}} || Currency : {{$quotation->currency->name}}
# PRODUCT Packing Size ORDERED QTY FOB T.FOB CBM
{{++$i}}
{{$item->product->name_eng}}
{{$item->unit_size}}/Carton {{$item->qty}} {{$offer_fob_unit=($item->offer_fob_unit/$roe)}} {{$total_fob_offer=($offer_fob_unit*$item->qty)}} {{$tcbm=($item->cbm_unit*$item->qty)}}
Total {{$total_qty}} {{$total_fob_offer_g}} {{$total_tcbm}}
Add, Other Charge {{$invoice_charge=($quotation->invoice_charge/$roe)}}
Net Amount{{$total_fob_offer_g+$invoice_charge}}

@endsection