@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($userAddressId)

{{__("Shipping way")}}

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

{{__("No shipping companies found")}}

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

{{__("Payment way")}}

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

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

@endforelse
@endif @if( ($userAddressId && $shippingCompanyId && $paymentMethodId > 0)) @if(\Str::lower($paymentMethodCode) == 'ppex')
@csrf
@endif @if(\Str::lower($paymentMethodCode) == 'mada')
@csrf
@endif @if(in_array(Str::lower($paymentMethodCode),['orange-momo-cmr',"mtn-momo-cmr"])) @endif @endif @if(blank($paymentMethods) or !$paymentMethodFounded) @endif @else @if($shippingCompanyId) @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($cartTotal,true) }}