@include('docs._printhead', ['title'=>'WEIGHBRIDGE TICKET','no'=>$t->ticket_no,'date'=>'Date: '.fdate($t->ticket_date)])
<div class="doc-meta"><div><b>Vehicle:</b> {{ $t->vehicle_no }}<br><b>Driver:</b> {{ $t->driver_name ?? '—' }}<br><b>Transporter:</b> {{ $t->transporter->name ?? '—' }}</div>
<div><b>Customer:</b> {{ $t->customer->name ?? '—' }}<br><b>Product:</b> {{ $t->product->display_name ?? '—' }}<br><b>Type:</b> {{ $t->transaction_type }}<br><b>Status:</b> {{ ucfirst($t->status) }}</div></div>
<div class="twrap"><table class="tbl"><thead><tr><th></th><th class="r">Weight (t)</th><th>Time</th></tr></thead>
<tbody><tr><td><b>Gross</b></td><td class="r">{{ qty($t->gross_weight) }}</td><td>{{ $t->first_weight_time?->format('H:i') }}</td></tr>
<tr><td><b>Tare</b></td><td class="r">{{ qty($t->tare_weight) }}</td><td>{{ $t->second_weight_time?->format('H:i') }}</td></tr>
<tr><td><b>NET</b></td><td class="r"><b style="font-size:18px">{{ qty($t->net_weight) }}</b></td><td></td></tr></tbody></table></div>
<p class="small">Operator: {{ $t->operator->name ?? '—' }} · {{ $t->remarks }}</p>
@include('docs._printfoot', [])
