@extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} @endsection @section('title')

Order delivery View

@endsection @section('main-content')

Order # {{ $order->order_id }} @if($order->emi == 1)(EMI) @endif

{{ Form::label('Order Date') }} {{ \Carbon\Carbon::parse($order->created_at)->format('M d, Y h:i a') }}

{{ Form::label('Order Status') }} {{ $order->order_status }}

@if($order->order_status == 'Canceled by customer')

{{ Form::label('Cancel Reason') }} {{ $order_delivery->title }}

@endif

{{ Form::label('Total Amount') }} {{ number_format($order->grand_total, 2, '.', ',') }}

{{ Form::label('Payment Method') }} {{ $order->transaction ? $order->transaction->paymentMethod->payment_method_name : 'Not Available' }}

{{ $order_delivery->customer_confirmation }} {{ $order_delivery->transaction_no ? ' (' . $order_delivery->transaction_no . ')' : '' }}

{{-- payment tracing record --}} @if($payment_tracking->payment_child_id == 'bKash' && $payment_tracking->tracing_record != 'NILL') bKash Number:{{ $customer_bkash_number }} @endif @if($payment_tracking->payment_child_id == 'Visa' && $payment_tracking->tracing_record != 'NILL') Card Number:{{ $customer_card_no }} ({{ $customer_card_type }}) @endif @if($payment_tracking->payment_child_id == 'Master' && $payment_tracking->tracing_record != 'NILL') Card Number:{{ $customer_card_no }} ({{ $customer_card_type }}) @endif {{-- payment tracing record --}}

Billing Information

@if($order->billing) @if($order->billing->billing_name)

{{ Form::label('Billing Name') }} {{ $order->billing->billing_name }}

@endif @if($order->billing->billing_address)

{{ Form::label('Billing Address') }} {{ $order->billing->billing_address }}

@endif @else

Not available

@endif