{{-- --}} {{ $header['company_name']." - ".$dates['branch'] }}
Opened at: {{ $dates['open_at_date'] }} @if($header['close_day'] == 1) Closed at: {{ $dates['closed_at_date'] }} @endif Printed at: {{ $dates['closed_at_date'] }}
@if (!empty($order_items)) @foreach ($order_items as $item_index => $item_details) {{ $item_index }} @foreach ($item_details as $details) @endforeach
Name Qty. Amount
@foreach (explode(' ', ucfirst(str_replace(['-', '_'], ' ', $details['name']))) as $word_index => $word) {{ $word . ' ' }} @if (($word_index % 3 == 0) & ($word_index != 0))
@endif @endforeach
{{ $details['qty'] ?? '-' }} {{ $details['value'] ?? '-' }}
@endforeach @endif

End of DSR

Powered by Dinex