@extends('layouts.front') @push('styles') @endpush @section('content')

@lang('front.headings.bookingDetails')

@if(!is_null($taxes)) @endif @if (!is_null($products)) @endif @if (!is_null($products)) @foreach($products as $key => $product) @if(!is_null($taxes)) @endif @endforeach @else @endif
@lang('front.table.headings.serviceName') @lang('front.table.headings.unitPrice') @lang('front.table.headings.quantity')@lang('app.tax')@lang('front.table.headings.subTotal') 
{{ $product['name'] }} {{ currencyFormatter($product['price']) }}
-
+
@php $appliedTax = 0; $taxPercent = 0; $subTotal = $product['quantity'] * $product['price'] @endphp @if (isset($product['tax'])) @forelse (json_decode($product['tax']) as $tax) @if (isset($tax->tax_name)) @php $taxPercent += $tax->percent; $appliedTax += ($subTotal*$tax->percent)/100; @endphp @endif {{ $tax->tax_name }}-{{ $tax->percent }}% @if(!$loop->last),@endif @empty ----- @endforelse @endif {{ currencyFormatter($product['quantity'] * $product['price']) }}
@lang('front.table.emptyMessage')
@lang('front.summary.cart.heading.cartTotal')
@if ($type == 'booking') @endif
  • @if ($type == 'booking') @lang('front.summary.cart.subTotal') @else @lang('front.summary.cart.totalAmount'): @endif
  • @lang('app.totalTax')
  • @if(!is_null($couponData))
  • @lang('app.discount') ({{ $couponData[0]['title'] }}): -{{ currencyFormatter($couponData['applyAmount']) }}
  • @endif
  • @lang('front.summary.cart.totalAmount'):
@if (!is_null($products)) @endif
@endsection @push('footer-script') @include("partials.currency_format") @endpush