@extends('layouts.main') @section('page-style') @endsection @section('page-plugin') @endsection @section('page-script') @endsection @section('content')

@include('layouts.notifications')

Transaction Info


Receipt Number
: {{$detail['transaction_receipt_number']}}
Time & date
: {{$detail['transaction_date']}}
Order Status
: {{$detail['transaction_status_text']}}
@if($detail['transaction_status_code'] == 1)
Reject at
: {{$detail['transaction_reject_at']}}
Reject reason
: {{$detail['transaction_reject_reason']}}
@endif

Delivery Info


Shipment ID
: @if(empty($detail['delivery']['delivery_id'])) - @else {{$detail['delivery']['delivery_id']}} @endif
Pick up ID
: @if(empty($detail['delivery']['pickup_code'])) - @else {{$detail['delivery']['pickup_code']}} @endif
Pick up time
: @if(empty($detail['delivery']['pickup_code'])) - @else {{date('d F Y', strtotime($detail['delivery']['pickup_date_start']))}} ({{date('H:i', strtotime($detail['delivery']['pickup_date_start']))}} - {{date('H:i', strtotime($detail['delivery']['pickup_date_end']))}}) @endif
Shipment Price
: @if(empty($detail['delivery']['delivery_price'])) - @else {{$detail['delivery']['delivery_price']}} @endif
Customer Name
: {{$detail['address']['destination_name']}}
Customer Phone
: {{$detail['address']['destination_phone']}}
Address
: {{$detail['address']['destination_address']}} ({{$detail['address']['destination_city']}} - {{$detail['address']['destination_province']}}
Notes
: {{$detail['address']['destination_description']}}
@foreach($detail['transaction_products'] as $product)
{{$product['product_name']}}
@if(!empty($product['need_recipe_status']))(Need recipe doctor)
@endif @if(!empty($product['variants'])) {{($product['variants']??"")}}
@endif {{($product['note']??"")}}

x {{$product['product_qty']}}

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

Delivery Tracking Update

@foreach($detail['delivery']['delivery_tracking'] as $track)
  • {{$track['description']}}
    {{$track['date']}}
@endforeach
@endsection