Info Transaction
No Order : {{$detail['transaction_receipt_number']}}
Tanggal & Waktu : {{$detail['transaction_date']}}


Delivery Info
Shipment ID : {{$detail['transaction_receipt_number']}}
Name : {{$detail['address']['destination_name']}}
Phone : {{$detail['address']['destination_phone']}}
Address : {{$detail['address']['destination_address']}} ({{$detail['address']['destination_city']}} - {{$detail['address']['destination_province']}}
Notes : {{(empty($detail['address']['destination_description']) ? '-' : $detail['address']['destination_description'])}}


Detail Item
@foreach($detail['transaction_products'] as $product) @endforeach
{{$product['product_name']}}
@if(!empty($product['variants'])) {{($product['variants']??"")}}
@endif {{($product['note']??"")}}
{{$product['product_qty']}} x {{$product['product_base_price']}} {{$product['product_total_price']}} @if(!empty($product['discount_all']))
- {{number_format($product['discount_all'],0,",",".")}}
@endif

PAYMENT
@foreach($detail['payment_detail'] as $pd) @if(strpos($pd['text'],"Discount") === false && strpos(strtolower($pd['text']),"point") === false) @else @endif @endforeach
{{$pd['text']}} {{$pd['value']}}{{$pd['text']}} {{$pd['value']}}
GRAND TOTAL
{{$detail['transaction_grandtotal']}}
PAYMENT USE
@if(!empty($detail['payment'])) {{$detail['payment']}} @else - @endif