@foreach($order->cartItems as $cartItem)
@include('account.order.order_history_row_item', [
'isPaid' => $order->paymentStatus == \App\Enumerables\PaymentStatus::PAID
])
@endforeach
@if($offline)
@else
{{$currency.number_format($order->orderDiscountedValue(), 2, ".", ",")}}
@if($order->hasApplicationFees())
({{__('Includes application fee')}}:
{{$currency.number_format(($order->applicationFees ?? 0), 2, ".", ",")}})
@endif
@endif
@if($order->paymentStatus == \App\Enumerables\PaymentStatus::PAID)
@if($order->getActiveCartItems() > 0)
{{__('PAID')}}
@else
{{__('CLOSED')}}
@endif
@endif
@if($order->paymentStatus == \App\Enumerables\PaymentStatus::CANCELLED)
{{__('CANCELLED')}}
@endif
@if($isPending)
{{__('order-pay')}}
@endif
{{__('View Order')}}
@if($isPending)
{{__('Cancel Order')}}
@endif
@if($order->paymentStatus == \App\Enumerables\PaymentStatus::CANCELLED)
{{__('order-re-add-to-cart')}}
@endif