{{--

Reporting Person:

{{$body['payroll']->reporting_person??""}}

Reporting Date:

{{$body['payroll']->reported_date??""}}
@if (isset($body['payroll']->reporting_depot))

Transport Hub:

{{$body['payroll']->reporting_depot}}
@endif

Reporting Site:

{{$body['payroll']->customer_site??""}}

Customer Name:

{{$body['payroll']->customer_name??""}}

UID:

{{$body['payroll']->uid??""}}

Doc Ref:

{{$body['payroll']->doc_ref??""}}

Delivery Date:

{{$body['payroll']->delivery_date??""}}

Reason:

{{$body['payroll']->reason??""}}
@if (isset($body['comment']->comment))

Comments:

{{$body['comment']->comment }}
@else

Comments:

@endif

Status:

{{$body['payroll']->status??""}}
@foreach ($body['products'] as $key => $product)

Product:

{{$key+1}}

Product Code:

{{$product['product_code']??""}}

Product Description:

{{$product['product_description']??""}}

Pack Size:

{{$product['pack_size']??""}}

Cases:

{{$product['cases']??""}}

Bottles:

{{$product['bottles']??""}}

@endforeach
--}}
@if (isset($body['payroll']->reporting_depot)) @endif @if (isset($body['comment']->comment)) @endif @if (isset($body['payroll']->additional_comment)) @endif @foreach ($body['products'] as $key => $product) @endforeach
Reporting Person {{ $body['payroll']->reporting_person ?? '' }}
Reporting Date {{Carbon\Carbon::parse($body['payroll']->reported_date ?? '')->format('m-d-Y')}}
Transport Hub {{ $body['payroll']->reporting_depot ?? '' }}
Reporting Site {{ $body['payroll']->customer_site ?? '' }}
Customer Name {{ $body['payroll']->customer_name ?? '' }}
UID {{ $body['payroll']->uid ?? '' }}
Doc Ref {{ $body['payroll']->doc_ref ?? '' }}
Delivery Date {{Carbon\Carbon::parse($body['payroll']->delivery_date ?? '')->format('m-d-Y')}}
Reason {{ $body['payroll']->reason ?? '' }}
Comments {{ $body['comment']->comment }}
Additional Comment {{ $body['payroll']->additional_comment }}
Status {{ $body['payroll']->status ?? '' }}
Product {{ $key + 1 }}
Product Code {{ $product['product_code'] ?? '' }}
Product Description {{ $product['product_description'] ?? '' }}
Pack Size {{ $product['pack_size'] ?? '' }}
Cases {{ $product['cases'] ?? '' }}
Bottles {{ $product['bottles'] ?? '' }}