{{ get_shipment_code($shipment->id) }}

{{ $shipment->status->label() }}
{{ 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 ($shipment->status != \Botble\Ecommerce\Enums\ShippingStatusEnum::CANCELED)
@if (in_array($shipment->status, [\Botble\Ecommerce\Enums\ShippingStatusEnum::NOT_APPROVED, \Botble\Ecommerce\Enums\ShippingStatusEnum::APPROVED])) @endif {!! apply_filters('shipment_buttons_detail_order', null, $shipment) !!}
@endif