@extends('frontend.theme_2.app') @section('title', 'Booking Success') @section('content')

{{ __('thank_you') }} {{ $booking->first_name }} {{ $booking->last_name }}

{{ __('your_order_has_been_successfully_placed') }}

{{ __('order_id') }}: {{ $booking->order_id }}

{{ __('order_summary') }}
{{-- Loop through the products relationship --}} @foreach($booking->products as $product)

{{ $product->product_name }} X {{ $product->quantity }}

{{ $currecy_details }}{{ number_format($product->subtotal, 2) }}
@endforeach
{{ __('Subtotal') }} {{ $currecy_details }}{{ number_format($booking->service_amount, 2) }}
@if ($booking->total_coupon_discount_amount > 0)

{{ __('Coupon') }}

{{ $currecy_details }}{{ number_format($booking->total_coupon_discount_amount ?? 0, 2) }}

@endif

{{ __('Tax') }}

{{ $currecy_details }}{{ number_format($booking->amount_tax, 2) }}

{{ __('Total') }}
{{ $currecy_details }}{{ number_format($booking->total_amount, 2) }}

{{ __('product_order_success_title') }}

{{ __('product_order_success_body') }}

@endsection