|
{{ $orderProduct->product_name }}
@if ($sku = Arr::get($orderProduct->options, 'sku'))
({{ trans('plugins/ecommerce::order.sku') }}:
{{ $sku }})
@endif
@if ($attributes = Arr::get($orderProduct->options, 'attributes'))
{{ $attributes }} @endif @if (! empty($orderProduct->product_options) && is_array($orderProduct->product_options)) {!! render_product_options_html($orderProduct->product_options, $orderProduct->price) !!} @endif @include('plugins/ecommerce::themes.includes.cart-item-options-extras', ['options' => $orderProduct->options]) {!! apply_filters(ECOMMERCE_ORDER_DETAIL_EXTRA_HTML, null) !!} @if ($order->shipment->id)
|
{{ format_price($orderProduct->price) }}
|
x | {{ $orderProduct->qty }} | {{ format_price($orderProduct->price * $orderProduct->qty) }} |
{{ trans('plugins/ecommerce::order.quantity') }} | {{ number_format($order->products->sum('qty')) }} |
{{ trans('plugins/ecommerce::order.sub_amount') }} | {{ format_price($order->sub_total) }} |
{{ trans('plugins/ecommerce::order.discount') }} @if ($order->coupon_code){!! trans('plugins/ecommerce::order.coupon_code', ['code' => Html::tag('strong', $order->coupon_code)->toHtml()]) !!} @elseif ($order->discount_description){{ $order->discount_description }} @endif |
{{ format_price($order->discount_amount) }} |
{{ trans('plugins/ecommerce::order.shipping_fee') }} {{ $order->shipping_method_name }} {{ $weight }} {{ ecommerce_weight_unit(true) }} |
{{ format_price($order->shipping_amount) }} |
{{ trans('plugins/ecommerce::order.tax') }} |
{{ format_price($order->tax_amount) }} |
{{ trans('plugins/ecommerce::order.total_amount') }} @if (is_plugin_active('payment') && $order->payment->id) @endif |
@if (is_plugin_active('payment') && $order->payment->id) {{ format_price($order->amount) }} @else {{ format_price($order->amount) }} @endif |
{{ trans('plugins/ecommerce::order.paid_amount') }} | @if (is_plugin_active('payment') && $order->payment->id) {{ format_price($order->payment->status == \Botble\Payment\Enums\PaymentStatusEnum::COMPLETED ? $order->payment->amount : 0) }} @else {{ format_price(is_plugin_active('payment') && $order->payment->status == \Botble\Payment\Enums\PaymentStatusEnum::COMPLETED ? $order->payment->amount : 0) }} @endif |
{{ trans('plugins/ecommerce::order.refunded_amount') }} | {{ format_price($order->payment->amount) }} |
{{ trans('plugins/ecommerce::order.amount_received') }} | {{ format_price(is_plugin_active('payment') && $order->payment->status == \Botble\Payment\Enums\PaymentStatusEnum::COMPLETED ? $order->amount : 0) }} |
@if ($order->isInvoiceAvailable())
{{ trans('plugins/ecommerce::order.order_number') }} | {{ $order->code }} |
---|---|
{{ trans('plugins/ecommerce::order.description') }} | {{ $history->description . ' ' . trans('plugins/ecommerce::order.from') . ' ' . $order->payment->payment_channel->label() }} |
{{ trans('plugins/ecommerce::order.amount') }} | {{ format_price(Arr::get($history->extras, 'amount', 0)) }} |
{{ trans('plugins/ecommerce::order.status') }} | {{ trans('plugins/ecommerce::order.successfully') }} |
{{ trans('plugins/ecommerce::order.transaction_type') }} | {{ trans('plugins/ecommerce::order.refund') }} |
{{ trans('plugins/ecommerce::order.staff') }} | {{ $history->user->name ?: trans('plugins/ecommerce::order.n_a') }} |
{{ trans('plugins/ecommerce::order.refund_date') }} | {{ $history->created_at }} |
{{ trans('plugins/ecommerce::order.order_number') }} | {{ $order->code }} |
---|---|
{{ trans('plugins/ecommerce::order.description') }} | {!! trans('plugins/ecommerce::order.mark_payment_as_confirmed', ['method' => $order->payment->payment_channel->label()]) !!} |
{{ trans('plugins/ecommerce::order.transaction_amount') }} | {{ format_price($order->payment->amount) }} |
{{ trans('plugins/ecommerce::order.payment_gateway') }} | {{ $order->payment->payment_channel->label() }} |
{{ trans('plugins/ecommerce::order.status') }} | {{ trans('plugins/ecommerce::order.successfully') }} |
{{ trans('plugins/ecommerce::order.transaction_type') }} | {{ trans('plugins/ecommerce::order.confirm') }} |
{{ trans('plugins/ecommerce::order.staff') }} | {{ $history->user->name ?: trans('plugins/ecommerce::order.n_a') }} |
{{ trans('plugins/ecommerce::order.payment_date') }} | {{ $history->created_at }} |