@extends('shared.admin') @section('content')
{{trans('admin::message.status.' . $status)}}
{{trans('admin::order.title.customer')}}
{{$order->fullname}}
{{$order->street}}, {{$order->ward}}, {{$order->district}}
{{$order->city}}
{{trans('admin::order.phone.label')}}: {{$order->phone}}
@if(!empty($order->email ?? '')){{trans('admin::order.email.label')}}: {{$order->email}}
@endif{{trans('admin::order.title.company')}}
@if(!empty($order->company ?? '')){{$order->company}}
{{trans('admin::order.tax_code.label')}}: {{$order->taxcode}}
@if(!empty($order->phoneinvoice ?? '')){{trans('admin::order.phone.label')}}: {{$order->phoneinvoice}}
@endif @if(!empty($order->email ?? '')){{trans('admin::order.email.label')}}: {{$order->email}}
@endif @else ------ @endif{{trans('admin::order.item.label')}} #ORDER{{$order->id}}
{{trans('admin::order.date.created_at')}}: {{Common::dateTime($order->created_at)}}
{{trans('admin::order.date.modified_at')}}: {{Common::dateTime($order->updated_at)}}
@if(!empty($order->deleted_at ?? '')){{trans('admin::order.date.deleted_at')}}: {{Common::dateTime($order->deleted_at)}}
@endif{{trans('admin::order.number.label')}} | {{trans('admin::order.product.label')}} | {{trans('admin::order.amount.sale_price')}} | {{trans('admin::order.quantity.label')}} | {{trans('admin::order.amount.label')}} |
---|---|---|---|---|
{{ $i + 1 }} | {{ $m->title }} | {{Common::numberFormat($m->price)}} | {{ $m->quanlity }} | {{Common::numberFormat($m->price * $m->quanlity)}} |
{{trans('admin::order.payment.label')}}: {{ !empty($order->paymentmethod ?? '') ? $order->paymentmethod : 'COD'}}
@if((int)($order->promotion_id ?? 0) > 0){{trans('admin::order.promotion.label')}}: {{$order->promotion_name ?? ''}}
@endif @if(!empty($order->promocode ?? '')){{trans('admin::order.promotion.voucher')}}: {{$order->promocode ?? ''}}
@endif{{trans('admin::order.amount.total')}}: | {{Common::numberFormat($total)}} |
---|---|
{{trans('admin::order.amount.discount')}}: | {{Common::numberFormat($order->discount)}} |
{{trans('admin::order.amount.total_incl')}}: | {{Common::numberFormat($order->totalprice ?? 0)}} |
{{ $order->fullname }}
{{trans('admin::order.date.created_at')}}: {{ $order->created_at }}
# | Item | Price | Qty | Total |
---|---|---|---|---|
{{ $i + 1 }} | {{ $m->title }} | {{\App\Http\Controllers\ProductController::product_price($m->price)}} | {{ $m->quanlity }} | {{\App\Http\Controllers\ProductController::product_price($m->price * $m->quanlity)}} |