|
|
{{trans('applang.the_client')}}
{{$salesInvoice->client->full_name}}
@if($salesInvoice->client->street_address != null)
{{$salesInvoice->client->street_address}}
{{$salesInvoice->client->state}}, {{$salesInvoice->client->city}}, {{$salesInvoice->client->postal_code}}
@endif
|
{{trans('applang.invoice_number')}}# {{$salesInvoice->inv_number}}
{{trans('applang.issue_date')}}: {{$salesInvoice->issue_date}}
{{trans('applang.due_date')}}: {{$salesInvoice->due_date}}
{{trans('applang.print_date')}}: {{\Carbon\Carbon::now()->format('Y-m-d')}}
|
|
| # |
{{trans('applang.item')}} |
{{trans('applang.description')}} |
{{trans('applang.unit_price')}} |
{{trans('applang.quantity')}} |
{{trans('applang.total')}} |
@foreach($salesInvoice->salesInvoiceDetails as $index => $item)
| {{$index +1}} |
{{\App\Models\ERP\Inventory\Product::where('id', $item->product_id)->pluck('name')->first()}} |
{{$item->description}} |
{{$item->unit_price}} {{$currency_symbol}} |
{{$item->quantity}} |
{{$item->row_total}} |
@endforeach
{{trans('applang.invoice-thanks')}}. |
{{trans('applang.total_before')}} |
{{$salesInvoice->subtotal}} |
@if($salesInvoice->discount_inv != null)
|
{{trans('applang.discount')}} |
{{$salesInvoice->discount_inv}} |
@endif
@foreach($salesInvoice->salesInvoiceTaxes as $key => $tax)
|
{{$tax->total_tax_inv}} |
{{$tax->total_tax_inv_sum}} |
@endforeach
@if($salesInvoice->shipping_expense_inv != null)
|
{{trans('applang.shipping_expense')}} |
{{$salesInvoice->shipping_expense_inv}} |
@endif
@if($salesInvoice->down_payment_inv != null)
|
{{trans('applang.down_payment')}} |
{{$salesInvoice->down_payment_inv}} |
@endif
|
{{trans('applang.due_amount')}} |
{{$salesInvoice->due_amount}} |
@if($salesInvoice->paid_to_supplier_inv != null)
|
{{trans('applang.paid')}} |
{{$salesInvoice->paid_to_supplier_inv}} |
|
{{trans('applang.due_amount_after_paid')}} |
{{$salesInvoice->due_amount_after_paid}} |
@endif
@if($salesInvoice->payments_total > 0.00)
|
{{trans('applang.payments_total')}} |
-{{number_format($salesInvoice->payments_total,0,'.','')}} {{$companyData->basic_currency_symbol}} |
|
{{trans('applang.due_amount_after_payments')}} |
{{number_format($salesInvoice->due_amount_after_payments, 0, '.', '')}} {{$companyData->basic_currency_symbol}} |
@endif
@if($salesInvoice->notes != '')
|
| {{trans('applang.notes')}} |
| {!! $salesInvoice->notes !!} |
@endif