Invoice/Bill No # {{ $SaleInvoice->code }}
Date: {{ $SaleInvoice->sale_date }}
Billed To:
{{ $SaleInvoice->Contact->business_name }}
{{ $SaleInvoice->Contact->address }}
{{ $SaleInvoice->Contact->mobile }}
Shipped From:
@if($companyInfo)
{{$companyInfo->name}}
{{$companyInfo->address}}
{{$companyInfo->mobile}}
@endif
Sale summary
SL. |
Vendor |
Image |
Product |
Quantity |
MRP |
Total |
@php
$i = 0;
$subTotal = 0;
@endphp
@foreach ($SaleInvoice->SaleInvoiceDetail as $saleInvoiceDetail)
{{ ++$i }}
|
{{ $saleInvoiceDetail->Product->Vendor->business_name }}
|
Product->ProductImageFirst) src="{{ asset('storage/photo/' . $saleInvoiceDetail->Product->ProductImageFirst->image) }}" @endif
style="height:80px; weight:80px;" alt="Image2"
class="img-circle img-fluid">
|
{{ $saleInvoiceDetail->Product->name }} |
{{ $saleInvoiceDetail->quantity }} |
{{ $saleInvoiceDetail->unit_price }} |
{{ $saleInvoiceDetail->unit_price * $saleInvoiceDetail->quantity }} |
@php
$subTotal += $saleInvoiceDetail->unit_price * $saleInvoiceDetail->quantity;
@endphp
@endforeach
Sub Total |
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
{{ $subTotal }}
|
{{-- Start Payment Method --}}
Method |
Date |
Amount |
@foreach ($SaleInvoice->SalePayment as $SalePayment)
{{ $SalePayment->PaymentMethod->name }} |
{{ $SalePayment->date }} |
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
{{ $SalePayment->total_amount }}
|
@endforeach
{{-- End Payment Method --}}
|
Discount
|
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
@if ($SaleInvoice->discount)
{{ $SaleInvoice->discount }}
@else
0
@endif
|
{{-- | --}}
Shipping
|
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
@if ($SaleInvoice->shipping_charge)
{{ $SaleInvoice->shipping_charge }}
@else
0
@endif
|
{{-- | --}}
Total
|
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
{{ $subTotal + $SaleInvoice->shipping_charge - $SaleInvoice->discount }}
|
|
Paid
|
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
{{ $SaleInvoice->SalePayment->sum('total_amount') }}
|
Due
|
@if ($currencySymbol)
{{ $currencySymbol->symbol }}
@endif
{{ $SaleInvoice->payable_amount - $SaleInvoice->SalePayment->sum('total_amount') }}
|
@if ($InvoiceSetting)
{!! $InvoiceSetting->invoice_footer !!}
@endif