NO: | --}}{{ $gate_pass->gate_pass_no }} |
Date: | {{ $gate_pass->date ? \Carbon\Carbon::parse($gate_pass->date)->format('d-M-Y h:i:s A') : '' }} |
Corporate Office: Holding No 4/2 A, Plot 49 & 57 135 Gopalpur Munnu Nagar, Tongi, Gazipur Bangladesh. Tel: +88-02-9817461-63, FAX: 880-2-9817743
Name: {{ $gate_pass->user->name }} |
Phone: | {{ $gate_pass->user->phone ?? '' }} |
Company: | {{ $gate_pass->user->company->name ?? '' }} |
Department: | {{ $gate_pass->user->department->name ?? '' }} |
ID | Buyer | Style | Description | Destination | Returnable | Pkt/Roll | Quantity |
---|---|---|---|---|---|---|---|
|
@foreach (json_decode($gate_pass->buyer_id) as $key => $buyerId)
{{ $buyerId }} @endforeach |
@foreach (json_decode($gate_pass->style) as $key => $style)
{{ $style }} @endforeach |
@foreach (json_decode($gate_pass->description) as $key => $description)
{{ $description }} @endforeach |
@foreach (json_decode($gate_pass->destination) as $destination)
@if ($destination == null)
N/A @else {{ $destination }} @endif @endforeach |
@foreach (json_decode($gate_pass->returnable) as $returnable)
@if ($returnable == 1)
Returnable @else Non-Returnable @endif @endforeach |
@foreach (json_decode($gate_pass->pkt_roll) as $key => $pktRoll)
{{ $pktRoll }} @php $total_pkt_roll += $pktRoll; @endphp @endforeach |
@foreach (json_decode($gate_pass->quantity) as $key => $quantity)
{{ $quantity }} @php $total_quantity += $quantity; @endphp @endforeach |
Total | {{ $total_pkt_roll }} | {{ $total_quantity }} |