@if(!session()->has('coupon'))

{{__("Have a coupon?")}}

@endif

{{__("Shipping addresses")}}

@forelse($addresses as $address)
id ? 'checked' : '' }} value="{{ $address->id }}">
@empty

{{__("No addresses found")}}

{{__("Add Your Address")}}
@endforelse
@if($productsIsAvailable ) @if($userAddressId)

{{__("Shipping options")}}

@forelse($shippingCompanies as $shippingCompany)
id ? 'checked' : '' }} value="{{ $shippingCompany->id }}">
@empty

{{__("No shipping options found.")}}

@endforelse
@if($paymentIsRequired) @if($userAddressId && $shippingCompanyId)

{{__("Payment Method")}}

@forelse($paymentMethods as $paymentMethod)
id ? 'checked' : '' }} value="{{ $paymentMethod->id }}">
@if($loop->last and getSettingsOf("submit_order_with_payment_frontend"))
@endif @empty

{{__("No payment way found")}}

@endforelse
@endif @if( ($userAddressId && $shippingCompanyId && $paymentMethodId > 0)) {{-- @if(in_array($paymentMethodCode,['mtn-momo-cmr','orange-momo-cmr']))--}} {{-- @endif--}} {{-- @if(in_array($paymentMethodCode,['paypal-rest']))--}} {{--
--}} {{--
--}} {{--
--}} {{-- @endif--}} @endif @if($paymentMethodId == -1) @endif @else @if($shippingCompanyId) @endif @endif @endif @endif

{{__("Your order")}}

@if(session()->has('coupon')) @endif @if(session()->has('shipping')) @endif @if(auth(activeGuard())->user()->balance > 0) @else @endif
{{__("Subtotal")}} {{ format_amount($cartSubTotal,true) }}
{{__("Discount")}} ({{ getNumbersOfCart()->get('discountCode') }})
{{__("Remove coupon")}}
- {{ format_amount($cartDiscount,true) }}
{{__("Shipping")}} ({{ getNumbersOfCart()->get('shippingCode') }}) {{ format_amount($cartShipping,true) }}
{{__("Tax")}} {{ format_amount($cartTax,true) }}
{{__("Balance")}} {{ format_amount(auth(activeGuard())->user()->balance,true) }}
{{__("Total")}} {{ format_amount($cartTotal,true) }}
{{__("Remaining")}} {{ format_amount($netPayable,true) }}
{{__("Total")}} {{ format_amount($netPayable,true) }}
{{--@endif--}}