@csrf
@if(count($bills) > 0)
@else @endif

{{__('common.Edit')}} {{__('frontend.Billing Details')}}

{{__('common.Name')}} {{isset($bills[0]->first_name)?$bills[0]->first_name:''}} {{isset($bills[0]->last_name)?$bills[0]->last_name:''}}
{{__('common.Email')}} {{isset($bills[0]->email)?$bills[0]->email:''}}
{{__('common.Phone')}} {{isset($bills[0]->phone)?$bills[0]->phone:''}}
{{__('frontend.Company Name')}} {{isset($bills[0]->company_name)?$bills[0]->company_name:''}}
{{__('frontend.Country')}} {{isset($bills[0]->country)?$bills[0]->countryDetails->name:''}}
{{__('common.State')}} {{isset($bills[0]->state)?$bills[0]->stateDetails->name:''}}
{{__('frontend.City')}} {{isset($bills[0]->city)?$bills[0]->cityDetails->name:''}}
{{__('frontend.Zip Code')}} {{isset($bills[0]->zip_code)?$bills[0]->zip_code:''}}
{{__('frontend.Street Address')}} {{isset($bills[0]->address1)?$bills[0]->address1:''}} {{isset($bills[0]->address2)?$bills[0]->address2:''}}
{{__('frontend.Order Details')}} {{isset($bills[0]->details)?$bills[0]->details:''}}
@php $name = explode(" ", $profile->name); @endphp first('first_name') ? 'autofocus' : ''}}> {{$errors->first('first_name')}}
first('last_name') ? 'autofocus' : ''}}> {{$errors->first('last_name')}}
{{$errors->first('country')}}
{{$errors->first('state')}}
{{$errors->first('city')}}
first('address1') ? 'autofocus' : ''}}> {{$errors->first('address1')}}
first('phone') ? 'autofocus' : ''}}> {{$errors->first('phone')}}
first('email') ? 'autofocus' : ''}}> {{$errors->first('email')}}

{{__('frontend.Additional Information')}}

{{__('frontend.Your order')}}

@php $totalSum=0; @endphp @if(isset($carts)) @foreach($carts as $cart) @php if ($cart->course_id !=0){ if ($cart->course->discount_price!=null) { $price = $cart->course->discount_price; } else { $price = $cart->course->price; } }else{ $price = $cart->bundle->price; } $totalSum = $totalSum + @$price; @endphp
{{@$cart->course->title}}
{{getPriceFormat($price)}}
@endforeach @endif
@if(showEcommerce())
@if($checkout->purchase_price == 0) {{__('frontend.Payable Amount')}} @else {{__('frontend.Subtotal')}} @endif {{getPriceFormat($checkout->price)}}
@if($checkout->purchase_price > 0)
{{-- --}}
{{__('payment.Discount Amount')}}
@if(hasTax())
{{__('tax.TAX')}} {{getPriceFormat(taxAmount($checkout->price))}}
@endif @if(isModuleActive('UpcomingCourse') && $checkout->pre_booking_amount > 0)
{{__('frontend.Pre Booking Amount')}} {{getPriceFormat($checkout->pre_booking_amount)}}
@endif
{{__('frontend.Payable Amount')}} @if(hasTax()) {{getPriceFormat($checkout->purchase_price)}} @else {{getPriceFormat($checkout->purchase_price)}} @endif
@endif
@endif

{{__("frontend.Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our privacy policy")}} .