{{ $company }}

{!! $greeting !!}

@if(empty($tableData))

No invoice data available for this schedule.

@else {{-- --}} @foreach ($tableData as $row) {{-- --}} {{-- --}} {{-- --}} @endforeach
No PlantDistribution Type Customer CodeDocument Number Document Date Customer TradeName Customer Location Status
{{ $row['no'] }} {{ $row['plant'] }}{{ $row['distribution_type'] }} {{ $row['customer_code'] }}{{ $row['document_number'] }} @if(!empty($row['document_date']) && $row['document_date'] != '-') {{ \Carbon\Carbon::parse($row['document_date'])->format('d-M-Y') }} @else - @endif {{ $row['customer_trade_name'] }}{{ $row['customer_trade_name'] }} {{ $row['customer_location'] }} {{ $row['status'] }} {{ $row['status'] }}
@endif

{!! $wishes !!}