Invoice - {{$invoice->invoice_code ?? ''}}

{{$invoice->invoice_date ?? ''}}


{{ __('xinvoice::invoice.labels.company_name')}}

{{ __('xinvoice::invoice.labels.company_address')}}
{{ __('xinvoice::invoice.labels.email')}}: {{ __('xinvoice::invoice.labels.company_p_mail')}}
Phone: {{ __('xinvoice::invoice.labels.company_phone')}}
Telephone: {{ __('xinvoice::invoice.labels.company_tel')}}

{{$customer->fullname ?? ''}}

@if(isset($business_address->address_line_1) && $business_address->address_line_1!='')
{{$business_address->address_line_1 ?? ''}}, @endif @if(isset($business_address->address_line_2) && $business_address->address_line_2!='')
{{$business_address->address_line_2 ?? ''}}, @endif @if(isset($business_address->city_name) && $business_address->city_name!='')
{{$business_address->city_name ?? ''}}, @endif @if(isset($business_address->district_name) && $business_address->district_name!='')
{{$business_address->district_name ?? ''}},
@endif @if(isset($customer->email) && $customer->email!='') {{ __('xinvoice::invoice.labels.email')}}: {{$customer->email ?? ''}}
@endif @if(isset($customer->mobile) && $customer->mobile!='') Phone: {{$customer->mobile ?? ''}}
@endif @if(isset($customer->telephone) && $customer->telephone!='') Telephone: {{$customer->telephone ?? ''}} @endif

@foreach($invoiceproducts as $product) @endforeach
Category Item Description Quantity Unit Price Sub Total Discount Amount
{{$product->product->category->category_name}} {{$product->product->item_code}} {{$product->description}} {{$product->qty}} {{\App\Http\Helper::formatPrice($product->unit_price)}} {{\App\Http\Helper::formatPrice($product->qty*$product->unit_price)}} @if($product->discount!='' || $product->discount!=0) @if($product->discount_type=='P') {{$product->discount}} % @else {{\App\Http\Helper::formatPrice($product->discount)}} @endif @else -- @endif {{\App\Http\Helper::formatPrice($product->sub_total)}}
{!! $invoice->remarks!!}
@if($invoice->discount!='' || $invoice->discount!=0) @if($invoice->discount_type=='P') @else @endif @endif @if(isset($invoice->vat_amount) || $invoice->vat_amount!=0) @endif @if(isset($invoice->nbt_amount) || $invoice->nbt_amount !=0) @endif
Total {{\App\Http\Helper::formatPrice($invoice->sub_total)}}
Discount {{$invoice->discount}}% {{\App\Http\Helper::formatPrice($invoice->discount)}}
VAT Amount (15%) {{\App\Http\Helper::formatPrice($invoice->vat_amount)}}
NBT Amount (2%) {{\App\Http\Helper::formatPrice($invoice->nbt_amount)}}
Sum Total {{\App\Http\Helper::formatPrice($invoice->total)}}
Paid Amount {{\App\Http\Helper::formatPrice($invoice->paid_amount)}}
Amount Due {{\App\Http\Helper::formatPrice($invoice->balance)}}