@extends('layouts.app') @section('title') {{'Sales Quotation Details'}} @endsection @section('content') @include('layouts.numbertowords')
@if ($sales_info[0]->status == 0 && Auth::user()->parent_id == "0") Confirm @endif
|
WTC Quotation No : WTC0{{ $sales_info[0]->sales_id }}
|
|||||||||||
|
Quotation Date : {{date('d-m-Y', strtotime($sales_info[0]->txn_date)) }}
|
|||||||||||
|
Customer Name : {{ $sales_info[0]->supplier_id }} - {{ $sales_info[0]->name }}
|
|||||||||||
|
Contact Person : {{ $sales_info[0]->person_name }}
|
|||||||||||
|
Address : {{ $sales_info[0]->address }}
|
|||||||||||
|
Mobile No. : {{ $sales_info[0]->mobile }}
|
|||||||||||
| S.L. | ID | Item Name | Unit | Quantity | Free | TP Price | Amount | Comm. % | Comm. Tk. | Sub Total |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $catrow->department_name }} | ||||||||||
| '. $i++ .' | '; echo ''. $product_id .' | '; echo ''. $product_name .' | '; echo ''. $pack_type .' | '; echo ''. $product_qty .' | '; echo ''. $free .' | '; echo ''. $tp_price .' | '; echo ''. number_format($total_value,2) .' | '; echo ''. $commission .' | '; echo ''. number_format($commission_tk,2) .' | '; echo ''. number_format($sub_total,2) .' | '; echo '
| Sub Total = | {!! number_format($torder_quantity) !!} | {!! number_format($t_quantity) !!} | {!! $torder_free !!} | {!! number_format($t_total_price,2) !!} | {!! number_format($t_commission,2) !!} | {!! number_format($t_sub_total,2) !!} | ||||
| Grand Total = | {!! number_format($g_torder_quantity) !!} | {!! number_format($g_t_quantity) !!} | {{ $g_torder_free }} | {{ number_format($g_t_total_price,2) }} | {!! number_format($g_t_commission,2) !!} | {!! number_format($g_t_sub_total,2) !!} | ||||
| IN WORDS : {!! numberTowords($g_t_sub_total) !!} | ||||||||||
| S.L. | ID | Party Name | Due Amount | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $row->id }} | {{ $row->name }} | {{ number_format($row->amount,2) }} | ||||||||
| Total = | {{ number_format($t_due,2) }} | ||||||||||
| IN WORDS : {!! numberTowords($t_due) !!} | |||||||||||
| S.L. | Cost Details | Cost Amount | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $row->values }} | {{ number_format($row->cost_amount,2) }} | |||||||||
| Total = | {{ number_format($t_cost,2) }} | ||||||||||
| IN WORDS : {!! numberTowords($t_cost) !!} | |||||||||||
| Debit (Tk.) | Credit (Tk.) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| S.L. | Details | Amount | S.L. | Details | Amount | ||||||
| 1 | Due Amount | {{ number_format($t_due,2) }} | 1 | Sales Amount | {{ number_format($g_t_total_price,2) }} | ||||||
| 2 | Cost Amount | {{ number_format($t_cost,2) }} | 2 | - | 0 | ||||||
| 3 | Product Commission | {{ number_format($g_t_commission,2) }} | 3 | - | 0 | ||||||
| 4 | Payable Amount | {{ number_format($payable,2) }} | 4 | - | 0 | ||||||
| Total = | {{ number_format($total,2) }} | Total = | {{ number_format($g_t_total_price,2) }} | ||||||||
| Payable Amount : {!! number_format($payable,2) !!} | |||||||||||
| IN WORDS : @if($payable>=0) {!! numberTowords($payable) !!} @else Sorry! The amount is minus = {!! ($payable) !!} @endif | |||||||||||