@extends('layouts.app') @section('title') {{'Sales Register'}} @endsection @section('content') @include('layouts.numbertowords')
|
Customer Name : {{ $supplier_list[0]->id }} - {{ $supplier_list[0]->name }}
|
||||||||||||
|
Contact Person : {{ $supplier_list[0]->person_name }}
|
||||||||||||
|
Address : {{ $supplier_list[0]->address }}
|
||||||||||||
|
Mobile No. : {{ $supplier_list[0]->mobile }}
|
Customer Name : {{ isset($_GET['id']) && $_GET['id'] == "All" ? "All" : "Summary" }}
|
@endif
|||||||||||
| S.L. | ID | Item Name | Unit | Sales Qty | Amount | Comm. Tk. | Sub Total | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| S.L. | ID | Item Name | Unit | Sales Qty | Amount | Comm. Tk. | Sub Total | |||||
| S.L. | ID | Item Name | Unit | Sales Qty | Amount | Comm. Tk. | Sales Total | Return Qty | Amount | Comm. Tk. | Return Total | Sub Total |
| Date: {!! date('d-F-Y', strtotime($txn_date)) !!} | ||||||||||||
| SI#{{ $sales_id }} {{'- - -'}}Customer Name : {{ $catrow->id }} - {{ $catrow->name }} | ||||||||||||
| '. $i++ .' | '; echo ''. $product_id .' | '; echo ''. $product_name .' | '; echo ''. $pack_type .' | '; echo ''. $product_qty .' | '; echo ''. $amount .' | '; echo ''. $commission_tk .' | '; echo ''. $total_value .' | '; echo '|||||
| Sub Total = | {!! number_format($sub_torder_quantity) !!} | {!! number_format($sub_total_price,2) !!} | {!! number_format($sub_commission_tk,2) !!} | {!! number_format($sub_total_value,2) !!} | ||||||||
| Sub Grand Total = | {!! number_format($sub_grand_qty) !!} | {!! number_format($sub_grand_total,2) !!} | {!! number_format($sub_grand_commission_tk,2) !!} | {!! number_format($sub_grand_total_value,2) !!} | ||||||||
| Grand Total = | {!! number_format($grand_torder_quantity) !!} | {{ number_format($grand_total_price,2) }} | {{ number_format($grand_total_commission_tk,2) }} | {{ number_format($grand_total_value,2) }} | ||||||||
| SI#{{ $catrow->sales_id }} - - - Date: {!! date('d-F-Y', strtotime($catrow->txn_date)) !!} | ||||||||||||
| '. $i++ .' | '; echo ''. $product_id .' | '; echo ''. $product_name .' | '; echo ''. $pack_type .' | '; echo ''. $product_qty .' | '; echo ''. $amount .' | '; echo ''. $commission_tk .' | '; echo ''. $total_value .' | '; echo '|||||
| Sub Total = | {!! number_format($sub_torder_quantity) !!} | {!! number_format($sub_total_price,2) !!} | {!! number_format($sub_commission_tk,2) !!} | {!! number_format($sub_total_value,2) !!} | ||||||||
| Grand Total = | {!! number_format($grand_torder_quantity) !!} | {{ number_format($grand_total_price,2) }} | {{ number_format($grand_total_commission_tk,2) }} | {{ number_format($grand_total_value,2) }} | ||||||||
| '. $i++ .' | '; echo ''. $info['product_id'] .' | '; echo ''. $info['product_name'] .' | '; echo ''. $info['pack_type'] .' | '; echo ''. $info['product_qty'] .' | '; echo ''. number_format($info['amount'],2) .' | '; echo ''. number_format($info['commission_tk'],2) .' | '; echo ''. number_format($info['total_value'],2) .' | '; echo ''. $info['t_r_quantity'] .' | '; echo ''. number_format($info['t_r_amount'],2) .' | '; echo ''. number_format($info['t_r_commission'],2) .' | '; echo ''. number_format($info['t_r_amount']-$info['t_r_commission'],2) .' | '; echo ''. number_format($info['total_value']-$info['t_r_amount']-$info['t_r_commission'],2) .' | '; echo '
| Grand Total = | {!! number_format($grand_torder_quantity) !!} | {{ number_format($grand_total_price,2) }} | {{ number_format($grand_total_commission_tk,2) }} | {{ number_format($grand_total_value,2) }} | {!! number_format($grand_r_torder_quantity) !!} | {{ number_format($grand_r_total_price,2) }} | {{ number_format($grand_r_total_commission_tk,2) }} | {{ number_format($grand_r_total_value,2) }} | {{ number_format($grand_t_total_value,2) }} | |||
| IN WORDS : {!! numberTowords($grand_t_total_value) !!} | ||||||||||||