@else
@endif
{{ strtoupper($client->name) }}
{{ date('d/m/Y', strtotime($sale->saleDate)) }} {{ date('H:i:s') }}
PCN NO. {{ $contract->number }}
Market Center :
|
Name of Market Center : {{ strtoupper($sale->market->code) }} - {{ strtoupper($sale->market->name) }}
|
Growing Area :
|
Primary Society : {{ strtoupper($client->name) }}
|
Date: {{ date('d/m/Y', strtotime($sale->saleDate)) }}
|
Sale No : {{ $sale->number }}
|
@if(count($contract->tickets) > 0)
No |
Bale Ticket No |
Farmer ID |
National Grade |
KGs |
Price(USD) |
Value(USD) |
@php $tmass = 0 @endphp
@php $tvalue = 0 @endphp
@for($i = 0; $i < count($contract->tickets); $i++)
{{ $i + 1 }}
|
{{ $contract->tickets[$i]['barcode'] }}
|
{{ $contract->tickets[$i]['growerNumber'] }}
|
{{ $contract->tickets[$i]['grade'] }}
|
{{ number_format($contract->tickets[$i]['mass'], 2, '.', ',') }}
@if($contract->tickets[$i]['price'] > 0)
@php $tmass += $contract->tickets[$i]['mass'] @endphp
@endif
|
{{ number_format($contract->tickets[$i]['price'], 3, '.', ',') }}
|
{{ number_format($contract->tickets[$i]['value'], 3, '.', ',') }}
@php $tvalue += $contract->tickets[$i]['value'] @endphp
|
@endfor
TOTAL
|
{{ number_format($tmass, 3, '.', ',') }}
|
|
{{ number_format($tvalue, 3, '.', ',') }}
|
|
Name |
Signature |
Date |
Market Clerk |
_________________________________ |
_________________________________ |
_________________________________ |
Captured By |
_________________________________ |
_________________________________ |
_________________________________ |
Checked By |
_________________________________ |
_________________________________ |
_________________________________ |
@endif
@endforeach