@extends('admin.layouts.master') @section('content')
@lang('app.reason'): {!! $order->cancellation->reason !!}
@if ($order->cancellation->description)@lang('app.detail'): {{ $order->cancellation->description ?? '' }}
@endif {{ trans('app.requested_items') }}:{{ $order->buyer_note }}@endif @if ($order->admin_note) {{ trans('app.admin_note') }}: @can('fulfill', $order) {{ trans('app.edit') }} @endcan
{!! $order->admin_note !!}@else @can('fulfill', $order)
{{ trans('app.total') }} | {{ get_formated_currency($order->total, 2, $order->currency_id) }} |
{{ trans('app.discount') }} | − {{ get_formated_currency($order->discount, 2, $order->currency_id) }} |
{{ trans('app.shipping') }} @if ($order->shippingRate) {{ optional($order->shippingRate)->name }} @php $carrier_name = $order->carrier ? $order->carrier->name : ($order->shippingRate ? optional($order->shippingRate->carrier)->name : null); @endphp @if ($carrier_name) {{ trans('app.by') . ' ' . $carrier_name }} @endif @else {{ trans('app.custom_shipping') }} @endif |
{{ get_formated_currency($order->shipping, 2, $order->currency_id) }} |
{{ trans('app.packaging') }} {{ optional($order->shippingPackage)->name }} |
{{ get_formated_currency($order->packaging, 2, $order->currency_id) }} |
{{ trans('app.handling') }} | {{ get_formated_currency($order->handling, 2, $order->currency_id) }} |
{{ trans('app.taxes') }} @if ($order->shippingZone) {{ optional($order->shippingZone)->name }} @elseif($order->shippingRate) {{ optional($order->shippingRate->shippingZone)->name }} @endif {{ get_formated_decimal($order->taxrate, true, 2) }}% |
{{ get_formated_currency($order->taxes, 2, $order->currency_id) }} |
{{ trans('app.grand_total') }} | {{ get_formated_currency($order->grand_total, 2, $order->currency_id) }} |
@if (Gate::allows('view', $order->shop) && $order->shop->id) {{ $order->shop->name }} @else
@if ($order->deliveryBoy)
@if ($order->deliveryBoy) @else @endif @endif@if ($order->customer->email) @endif @if ($order->conversation) {{ trans('app.view_conversations') }} @else {{ trans('app.send_message') }} @endif {{ trans('app.invoice') }} @if ($order->dispute) {{ trans('app.view_dispute') }} @endif @if (is_incevio_package_loaded('pharmacy')) @if (count($order->attachments)) @foreach ($order->attachments as $attachment) {{ $attachment->name }} @endforeach @endif @endif @if ($order->pickup()) @if ($order->warehouse) {{ $order->warehouse->name }}
{{ trans('app.info_not_found') }}
@endif @else {!! address_str_to_html($order->shipping_address) !!} @if ($order->shipping_address == $order->billing_address) {!! Form::label('same_as_shipping_address', strtoupper(trans('app.same_as_shipping_address')), ['class' => 'indent5']) !!} @else {!! address_str_to_html($order->billing_address) !!} @endif @endif