@if (@$main->language == 'en') @else @endif
Logo
{{-- @if (@$main->language == 'en')

{{ @$documentSetting->getTranslate('name', $main->language) }}

{{ @$documentSetting->getTranslate('address', $main->language) }}

@else --}}

{{ @$documentSetting?->getTranslation('name', $main->language) . ' ( ' . __('Head Office') . ' ) ' }}

{!! @$documentSetting?->getTranslation('address', $main->language) !!}

{{-- @endif --}}

{{ __('Tax ID') }} : {{ @$documentSetting?->tax_id }}

{{ __('Tel') }} : {{ @$documentSetting?->tel }}

{{ __('Email') }} : {{ @$documentSetting?->email }}

{{ __('TAXINVOICE') }}

{{ __('No.') }}

{{ @$main->no }}

{{ __('Date') }}

{{ date('d/m/Y', strtotime(@$main->date)) }}

{{ __('Customer') }} : {{ @$main->name }} @if (@$main->type == 'company') ( @if ($main->is_headoffice == 1) {{ __('Head Office') }} @else {{ __('Branch') }} {{ @$main->branch_code }} @endif ) @endif

{{ @$main->address }}

{{ __('Tel') }} : {{ @$main->tel }} {{ __('Email') }} : {{ @$main->email }} {{ __('Tax ID') }} : {{ @$main->tax_id }}

@php $service = null; @endphp @forelse (@$main->order?->getDetails??[] as $key => $item) @if ($service != $item->service_id) @if ($key != 0) @endif @php $service = $item->service_id; $service_name = $item->service?->name; @endphp

{{ __($service_name) }}

@else @endif @if ($loop->last)
# {{ __('Product') }} {{ __('Price') }} {{ __('QTY') }} {{ __('Total') }}
{{ $key + 1 }} {{ __($item->product?->name) }} {{ number_format($item->price, 2) }} {{ $item->qty }} {{ number_format($item->price * $item->qty, 2) }}
{{ $key + 1 }} {{ __($item->product?->name) }} {{ number_format($item->price, 2) }} {{ $item->qty }} {{ number_format($item->price * $item->qty, 2) }}
@endif @empty
# {{ __('Description') }} {{ __('QTY') }} {{ __('Total') }}
1 {{ __('Laundry service fee') }} 1 {{ @$main->total }}
@endforelse

{{ __('Cancel the abbreviated tax invoice Order No.') }} {{ @$main->order?->no }}

{{ __('Note') }} : {{ @$main->note }}

@php $total = @$main->total + @$main->shipping_price + @$main->urgent_price; $total_after_discount = $total - @$main->discount_price; $total_excluded_vat = $total_after_discount - $main->vat_price; @endphp @if($main->discount_price > 0) @endif
{{ __('Total Price') }} : {{ number_format($main->total , 2) }}
{{ __('Shipping Cost') }} : {{ number_format($main->shipping_price, 2) }}
{{ __('Urgent Cost') }} : {{ number_format($main->urgent_price, 2) }}
{{ __('Total') }} : {{ number_format($total, 2) }}
{{ __('Discount') }} : {{ number_format($main->discount_price, 2) }}
{{ __('After Discount') }} : {{ number_format($total_after_discount, 2) }}
{{ __('Total Excluded VAT') }} : {{ number_format($total_excluded_vat, 2) }}
{{ __('VAT 7%') }} : {{ number_format($main->vat_price, 2) }}
{{ __('Grand total') }} : {{ number_format($main->grand_total, 2) }}
{{--

{{ __('Cancel the abbreviated tax invoice Order No.') }} {{ @$main->order?->no }}

{{ __('Note') }} : {{ @$main->note }}

@php $total = @$main->total + @$main->shipping_price + @$main->urgent_price; $total_after_discount = $total - @$main->discount_price; $total_excluded_vat = $total_after_discount - $main->vat_price; @endphp

{{ __('Total Price') }} :

{{ number_format($main->total , 2) }}

{{ __('Shipping Cost') }} :

{{ number_format($main->shipping_price, 2) }}

{{ __('Urgent Cost') }} :

{{ number_format($main->urgent_price, 2) }}

{{ __('Total') }} :

{{ number_format($total, 2) }}

@if($main->discount_price > 0)

{{ __('Discount') }} :

{{ number_format($main->discount_price, 2) }}

{{ __('After Discount') }} :

{{ number_format($total_after_discount, 2) }}

@endif

{{ __('Total Excluded VAT') }} :

{{ number_format($total_excluded_vat, 2) }}

{{ __('VAT 7%') }} :

{{ number_format($main->vat_price, 2) }}

{{ __('Grand total') }} :

{{ number_format($main->grand_total, 2) }}

--}}