@extends('layouts.app') @section('title') {{ __('messages.nfc.nfc_card_order_details') }} @endsection @section('header_toolbar')

@yield('title')

@endsection @section('content')
{{ $nfcCardOrder->name }}
{{ $nfcCardOrder->nfcCard->name }}
@if (!@empty($nfcCardOrder->vcard->name))
{{ $nfcCardOrder->vcard->name }}
@endif
{{ $nfcCardOrder->company_name }}
{{ $nfcCardOrder->address }}
@if ($nfcCardOrder->order_status == '0') {{ __('messages.nfc.Pending') }} @elseif ($nfcCardOrder->order_status == '1') {{ __('messages.nfc.Ready To Ship') }} @elseif ($nfcCardOrder->order_status == '2') {{ __('messages.nfc.Shipped') }} @elseif ($nfcCardOrder->order_status == '3') {{ __('messages.nfc.Delivered') }} @else {{ __('messages.nfc.Cancelled') }} @endif
{{ Carbon\Carbon::parse($nfcCardOrder->created_at)->format('jS \of F Y') }}
@if (empty($nfcCardOrder->nfcTransaction) || $nfcCardOrder->nfcTransaction->status == App\Models\NfcOrders::FAIL) {{ __('messages.nfc.failed') }} @else @if ($nfcCardOrder->nfcTransaction->status == App\Models\NfcOrders::PENDING) {{ __('messages.nfc.Pending') }} @else {{ __('messages.nfc.paid') }} @endif @endif
@if (empty($nfcCardOrder->nfcTransaction->type)) {{ __('messages.nfc.failed') }} @else {{ __('messages.setting.' . App\Models\NfcOrders::PAYMENT_TYPE_ARR[$nfcCardOrder->nfcTransaction->type]) }} @endif
Company Logo {{ __('messages.common.download') }}
@endsection