@extends('layouts.app') @section('title', 'Checkout - Stars Education & Training') @push('page-styles') @endpush @section('content')

Billing Details

Enter your details to proceed with the order

Billing Details

@csrf
@error('full_name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('postcode')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
You will be able to review your order before making payment.

Your Order

@foreach($cartItems as $item)
@if($item->item_type === 'package' && $item->package && $item->package->image) {{ $item->package->name }} @elseif($item->course && $item->course->bigPic) {{ $item->course->name }} @else
@endif {{ $item->display_name }} @if($item->item_type === 'package') PACKAGE @endif £{{ number_format($item->price * $item->quantity, 2) }}
@endforeach
Subtotal ({{ $itemCount }} items) £{{ number_format($originalSubtotal, 2) }}
@if($totalDiscount > 0)
Total Discount -£{{ number_format($totalDiscount, 2) }}
@endif
Total £{{ number_format($cartTotal, 2) }}
@push('page-scripts') @endpush @endsection