{{ trans('plugins/ecommerce::shipping.shipping') }}
{{ get_shipment_code($shipment->id) }}
{{ trans('plugins/ecommerce::shipping.status') }}
{!! BaseHelper::clean($shipment->status->toHtml()) !!}
{{ trans('plugins/ecommerce::shipping.shipping_method') }}
{{ $shipment->order->shipping_method_name }}
{{ trans('plugins/ecommerce::shipping.weight_unit', ['unit' => ecommerce_weight_unit()]) }}
{{ $shipment->weight }} {{ ecommerce_weight_unit() }}
{{ trans('plugins/ecommerce::shipping.updated_at') }}
{{ $shipment->updated_at }}
@if((float) $shipment->cod_amount)
{{ trans('plugins/ecommerce::shipping.cod_amount') }}
{{ format_price($shipment->cod_amount) }}
@endif
@if ($shipment->note)
{{ trans('plugins/ecommerce::shipping.delivery_note') }}
{{ $shipment->note }}
@endif
@if (
auth()->user()->hasPermission( 'ecommerce.shipments.edit')
&& $shipment->status != Botble\Ecommerce\Enums\ShippingStatusEnum::CANCELED
&& $order->status != Botble\Ecommerce\Enums\OrderStatusEnum::CANCELED
)
@if (in_array($shipment->status, [
Botble\Ecommerce\Enums\ShippingStatusEnum::NOT_APPROVED,
Botble\Ecommerce\Enums\ShippingStatusEnum::APPROVED,
]))
{{ trans('plugins/ecommerce::shipping.cancel_shipping') }}
@endif
{{ trans('plugins/ecommerce::shipping.update_shipping_status') }}
{{ trans('plugins/ecommerce::shipping.shipping_label.print_shipping_label') }}
{!! apply_filters('shipment_buttons_detail_order', null, $shipment) !!}
@endif