Sales Order
Name : {{ $company_name }}
Mobile No :{{ $company_mobile_no }}
Email : {{ $company_email }}
Address : {{ $company_address }}
{{ $company_name }}
{!! nl2br(e($company_address)) !!}
Voucher No.
{{ $salesorder->sales_order_no }}
Dated.
{{ \Carbon\Carbon::parse($salesorder->sales_order_date)->format('d-m-Y') }}
Mode/Terms of Payment
{{ $salesorder->mode_terms_of_payment }}
Buyers Order No.
{{ $salesorder->quotation ? $salesorder->quotation->quotation_no : '' }}
Other Reference
{{ $salesorder->other_reference }}
Ship To Party
{{ $salesorder->shipToParty ? $salesorder->shipToParty->name : '' }}
{!! nl2br(e($salesorder->shipToParty ? $salesorder->shipToParty->address : '')) !!}
Terms of Delivery
{{ $salesorder->terms_of_delivery }}
Buyer Bill No
{{ $salesorder->customer ? $salesorder->customer->name : '' }}
{!! nl2br(e($salesorder->customer ? $salesorder->customer->address : '')) !!}
@php $sub_total = 0; $total_qty = 0; if ($salesorder->is_igst_customer){ $total_discount = $salesorder->SalesOrderDetail()->sum('igst_amount'); }else{ $total_cgst_amount_discount = $salesorder->SalesOrderDetail()->sum('cgst_amount'); $total_sgst_amount_discount = $salesorder->SalesOrderDetail()->sum('sgst_amount'); $total_discount = $total_cgst_amount_discount + $total_sgst_amount_discount; } @endphp @if(isset($salesorder) && !empty($salesorder)) @foreach($salesorder->SalesOrderDetail as $key => $salesorderDetail) @php $sub_total = $salesorder->sub_total_amount; $total_qty += $salesorderDetail->quantity; @endphp @endforeach @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if(isset($salesorder->salesorderSelectionOtherCharges) && !empty($salesorder->salesorderSelectionOtherCharges)) @foreach($salesorder->salesorderSelectionOtherCharges as $salesorderSelectionOtherCharge) @endforeach @endif @if(isset($salesorder->salesorderOtherCharges) && !empty($salesorder->salesorderOtherCharges)) @foreach($salesorder->salesorderOtherCharges as $salesorderOtherCharge) @endforeach @endif
Sr. No Description Of Goods HSN/SAC Part No. Due On Quantity Rate Per Disc..(%) Amount
{{ $key+1 }} {{ $salesorderDetail->material->name }}
{!! nl2br(e($salesorderDetail->material->description)) !!}
{{ $salesorderDetail->material->hsn->product_hsn_sac_code }} {{ $salesorderDetail->material->code }} {{ \Carbon\Carbon::parse($salesorderDetail->due_on)->format('d-m-Y') }} {{ $salesorderDetail->quantity }} {{ $salesorderDetail->rate }} {{ $salesorderDetail->material->unit->name }} {{ number_format($salesorderDetail->amount,2) }}
Transportation Insurance REQ REQ {{ number_format($salesorder->sub_total_amount,2) }}
REQ REQ Discount {{ number_format($salesorder->distributor_discount_amount,2) }}
REQ REQ Special Discount {{ number_format($salesorder->special_discount_amount,2) }}
--}} {{-- IGST{{ number_format($total_discount,2) }}
Round Off REQ
Sub Total {{ $total_qty }} {{ number_format($salesorder->total_amount,2) }}
{{ $salesorderSelectionOtherCharge->otherCharges ? $salesorderSelectionOtherCharge->otherCharges->name : '' }} {{ number_format($salesorderSelectionOtherCharge->charges_amount) }}
{{ $salesorderOtherCharge->charges_name ? $salesorderOtherCharge->charges_name : '' }} {{ number_format($salesorderOtherCharge->charges_amount) }}
Total {{ number_format($salesorder->total_amount + $total_discount,2) }}
Amount chargable (In Word) E. & O.E
{{ app(\Modules\Quotation\Services\QuotationService::class)->CurrencyInWord($salesorder->total_amount + $total_discount) }} Company's Bank Details
Account Holder's Name : {{ $company_account_holder_name }}
Bank Name : {{ $company_bank_name }}
A/C No. : {{ $company_account_no }}
Branch & IFC Code : {{ $company_branch_ifc_code }}
Company's PAN : {{ $company_pancard_no }}
Declaration
We declare that this invoice shows the actual price of the goods described and that all particulars are true and correct.
For {{ $company_name }} Authorised Signatory
This is a Computer generated Invoice