{{ trans('plugins/ecommerce::products.form.product') }} {{ trans('plugins/ecommerce::products.form.price') }} {{ trans('plugins/ecommerce::products.form.quantity') }} {{ trans('plugins/ecommerce::products.form.restock_quantity') }} {{ trans('plugins/ecommerce::products.form.remain') }} @foreach ($order->products as $orderProduct) @php $product = $orderProduct->product->original_product; @endphp {{ $orderProduct->product_name }} {{ format_price($orderProduct->price) }} {{ $orderProduct->qty }} {{ $orderProduct->restock_quantity }} @if ($orderProduct->qty - $orderProduct->restock_quantity > 0) @endif @endforeach
@if ($order->products->sum('qty') - $order->products->sum('restock_quantity') > 0)
{!! trans( 'plugins/ecommerce::order.restock_products', ['count' => '' . $order->products->sum('qty') - $order->products->sum('restock_quantity') . ''] )!!}
@endif {{ trans('plugins/ecommerce::products.form.shipping_fee') }} {{ format_price($order->shipping_amount) }} @if (is_plugin_active('payment') && $order->payment->refunded_amount) {{ trans('plugins/ecommerce::order.total_refund_amount') }} {{ format_price($order->payment->refunded_amount) }} @endif {{ trans('plugins/ecommerce::order.total_amount_can_be_refunded') }} @if (!is_plugin_active('payment') || $order->payment->status == Botble\Payment\Enums\PaymentStatusEnum::PENDING) {{ format_price(0) }} @else {{ format_price($order->payment->amount - $order->payment->refunded_amount) }} @endif @if ( is_plugin_active('payment') && $order->payment->status !== Botble\Payment\Enums\PaymentStatusEnum::PENDING && $order->payment->amount - $order->payment->refunded_amount > 0 )
{{ $order->payment->payment_channel->label() }} @if (get_payment_is_support_refund_online($order->payment))

{{ trans('plugins/ecommerce::order.payment_method_refund_automatic', [ 'method' => $order->payment->payment_channel->label(), ]) }}

@endif
{{ get_application_currency()->symbol }}
@endif