{{ __('adminhub::components.orders.show.title') }} // #{{ $order->id }}

@if ($this->requiresCapture)
{{ __('adminhub::components.orders.show.requires_capture') }}
@endif
@include('adminhub::partials.orders.actions')
@if ($this->paymentStatus == 'partial-refund')
{{ __('adminhub::components.orders.show.partially_refunded') }}
@endif @if ($this->paymentStatus == 'refunded')
{{ __('adminhub::components.orders.show.refunded') }}
@endif
    @include('adminhub::partials.orders.lines')
@if ($this->physicalAndDigitalLines->count() > $maxLines)
@if (!$allLinesVisible)

{{ __('adminhub::components.orders.show.additional_lines_text', [ 'count' => $this->physicalAndDigitalLines->count() - $maxLines, ]) }}
@endif
@endif
@include('adminhub::partials.orders.totals')
{{ __('adminhub::components.orders.show.transactions_header') }}
@include('adminhub::partials.orders.transactions')
{{ __('adminhub::components.orders.show.timeline_header') }}
@livewire('hub.components.activity-log-feed', [ 'subject' => $this->order, ])
@if ($order->customer)
{{ $order->customer->first_name }} @if ($order->customer->last_name) {{ $order->customer->last_name }} @endif {{ __('adminhub::components.orders.show.view_customer') }}
@endif @foreach($this->getSlotsByPosition('top') as $slot)
@livewire($slot->component, ['slotModel' => $order], key("top-slot-{{ $slot->handle }}"))
@endforeach
@include('adminhub::partials.orders.details')
@include('adminhub::partials.orders.address', [ 'heading' => __('adminhub::components.orders.show.shipping_header'), 'editTrigger' => 'showShippingAddressEdit', 'hidden' => false, 'address' => $this->shippingAddress, ])
@include('adminhub::partials.orders.address', [ 'heading' => __('adminhub::components.orders.show.billing_header'), 'editTrigger' => 'showBillingAddressEdit', 'hidden' => $this->shippingEqualsBilling, 'message' => __('adminhub::components.orders.show.billing_matches_shipping'), 'address' => $this->billingAddress, ])
{{ __('adminhub::components.orders.show.tags_header') }}
@livewire('hub.components.tags', [ 'taggable' => $order, 'independant' => true, ])
{{ __('adminhub::components.orders.show.additional_fields_header') }}
@foreach ($this->metaFields as $key => $value)
{{ $key }}:
@if (!is_string($value))
{{ json_encode($value) }}
@else {{ $value }} @endif
@endforeach
@foreach($this->getSlotsByPosition('bottom') as $slot)
@livewire($slot->component, ['slotModel' => $order], key("bottom-slot-{{ $slot->handle }}"))
@endforeach
{{ __('adminhub::orders.update_status.title') }} @foreach ($this->statuses as $handle => $status) @endforeach {{ __('adminhub::global.cancel') }} {{ __('adminhub::orders.update_status.btn') }}
@livewire('hub.components.orders.refund', [ 'order' => $this->order, 'amount' => $this->refundAmount / 100, ])
@livewire('hub.components.orders.capture', [ 'order' => $this->order, 'amount' => $this->order->total->decimal, ])
@include('adminhub::partials.forms.address', [ 'bind' => 'shippingAddress', 'states' => $this->shippingStates, ]) {{ __('adminhub::global.cancel') }} {{ __('adminhub::components.orders.show.save_shipping_btn') }} @include('adminhub::partials.forms.address', [ 'bind' => 'billingAddress', 'states' => $this->billingStates, ]) {{ __('adminhub::global.cancel') }} {{ __('adminhub::components.orders.show.save_billing_btn') }}