@extends('admin.layout.master') @section('title','QUOTATION MANAGEMENT') @section('custom_style') @endsection @section ('content')

Quotation Edit

@csrf
{{-- --}}
{{-- --}}
{{--
--}}
{{-- end --}}
{{-- size --}} {{-- --}} {{-- rate --}} {{-- costing --}} {{-- Profit --}} @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 $unit_price=($item->unit_price); $ctn_price=($item->unit_size*$unit_price); $other_cost=($item->other_cost); $commission_total=($item->commission_rate*$ctn_price); $fob=((($ctn_price+$other_cost)-$commission_total)/$roe); $tcbm=($item->cbm_unit*$item->qty); $offer_fob_unit=($item->offer_fob_unit); $profit_unit=($offer_fob_unit-$fob); $profit_total=($profit_unit*$item->qty); $total_fob_offer=($offer_fob_unit*$item->qty); @endphp @php $total_qty+=$item->qty; $total_tcbm+=$tcbm; $total_gprofit+=$profit_total; $total_fob_offer_g+=$total_fob_offer; @endphp @empty @endforelse
# PRODUCT Packing Size F. Rate Costing Comm
(CTN)
FOB CBM QTY T.CBM OFFER Profit T.FOB GP
carton piecePCS CartonO. Cost Comm.(%)Carton Total
{{++$i}}
Total
Add, Other Charge @php $invoice_charge=($quotation->invoice_charge/$roe); @endphp
Net Amount

@include('inventory.prepurchase.quotation.install_modal') @endsection @section('script') @stop