@extends('layouts.app') @section('title') {{'Item Wise Sales Report'}} @endsection @section('content') @include('layouts.numbertowords')
|
Supplier 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 }}
|
@php
$product_name="";
if(isset($_GET['id']) && $_GET['id'] != "All"){
foreach($item_info as $val){
if($val->product_id == $_GET['id']){
$product_name = $val->product_id ."-".$val->product_name;
break;
}
}
}
@endphp
Item Name : {{ isset($_GET['id']) && $_GET['id'] == "All" ? "All" : $product_name }}
|
@endif
||||||||||
| S.L. | Date | Voucher | Customer Name | Sales Quantity | Sales Price | Amount | Comm. % | Comm. Tk. | Total | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Item Name: {{$product_name}} | |||||||||||
| '. $i++ .' | '; echo ''. date('d-F-Y', strtotime($catrow->txn_date)) .' | '; echo 'PI#'. $catrow->sales_id .' | '; echo ''. $catrow->supp_name .' | '; echo ''. $product_qty .' | '; echo ''. $tp_price .' | '; echo ''. number_format($amount,2) .' | '; echo ''. $commission .' | '; echo ''. number_format($commission_tk,2) .' | '; echo ''. number_format($total_value,2) .' | '; echo '||
| Sub 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) }} | |||||||
| IN WORDS : {!! numberTowords($grand_total_value) !!} | |||||||||||