{!! Form::open(['url' => $url]) !!}
@foreach ($order->products as $orderProduct) @php $product = $orderProduct->product->original_product; @endphp @endforeach
{{ 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') }}
{{ $orderProduct->product_name }} {{ format_price($orderProduct->price) }} {{ $orderProduct->qty }} {{ $orderProduct->restock_quantity }} @if ($orderProduct->qty - $orderProduct->restock_quantity > 0) @endif
@if ($order->products->sum('qty') - $order->products->sum('restock_quantity') > 0) @endif @if (is_plugin_active('payment') && $order->payment->refunded_amount) @endif
{{ trans('plugins/ecommerce::products.form.shipping_fee') }} {{ format_price($order->shipping_amount) }}
{{ trans('plugins/ecommerce::order.total_refund_amount') }}: {{ format_price($order->payment->refunded_amount) }}
{{ 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)
@if (get_payment_is_support_refund_online($order->payment)) @endif
{{ get_application_currency()->symbol }}
@endif
{!! Form::close() !!}