@if($invoiceSetting->locale == 'th') @endif @if(!is_null($invoices[0]->client_id) && !is_null($invoices[0]->clientDetails)) @php $client = $invoices[0]->client; @endphp @elseif ( !is_null($invoices[0]->project) && !is_null($invoices[0]->project->client) && !is_null($invoices[0]->project->client->clientDetails)) @php $client = $invoices[0]->project->client; @endphp @endif
#
 
 
Date : {{ date("d.m.Y") }}
Client : {{ mb_ucwords($client?->name) }}
Mobile : {{ $client->mobile }}
User :
Sales person : {{ $invoices[0]->addedBy->name }}
   
@php $totAmt=0; @endphp @foreach ($invoices as $invoice) @foreach ($invoice->items as $item) @php $totAmt += $item->amount; @endphp @endforeach @endforeach
Invoices. Serial No. Size Product Details Line Total
{{$invoice->invoice_number}} {{$invoice->serial_id}} {{$invoice->size->name}} {{strtoupper($invoice->brand->name)}}  {{strtoupper($invoice->brand_model->model_name)}}  {{strtoupper($invoice->bracelet->name)}}  
{{strtoupper($item->item_name)}} {{currency_format($item->amount, $invoice->currency->id,false)}}
         
         
Total {{currency_format($totAmt, $invoices[0]->currency->id,false)}} KWD
Payment Method {{ucwords($invoices[0]?->gateway)}}
{{--
@lang('PLEASE NOTE')

یرجى العلم بأن الشركة غیر مسؤولة عن الزلوغ و الخدوش المذكورة بالساعة وكذلك في حال وجود ستیكر على الساعة

The company is not responsible for the above mentioned scratches, stains or dirts on the watch, same applies if there is sticker present.

--}} {{--footer--}} @if($copy=='customer') @elseif ($copy=='self') @endif {{--
Invoice Date : {{ $invoice->issue_date->translatedFormat(company()->date_format) }} User :
Invoice No : {{ $invoice->original_invoice_number }} Sales person : {{ $invoice->addedBy->name }}
Client : {{ mb_ucwords($invoice?->client?->name) }} Delivery Date : {{ $invoice->due_date->translatedFormat(company()->date_format) }}
Mobile : {{ $invoice->client->mobile }}    
--}} @if($print == 1) @endif