@extends('layouts.front') @push('styles') @endpush @section('content') @lang('front.headings.bookingDetails') @lang('front.table.headings.serviceName') @lang('front.table.headings.unitPrice') @lang('front.table.headings.quantity') @lang('front.table.headings.subTotal') @if (!is_null($products)) @endif {{--{{ dd($products) }}--}} @if (!is_null($products)) @foreach($products as $key => $product) {{ $product['serviceName'] }} {{ $settings->currency->currency_symbol.$product['servicePrice'] }} - + {{ $settings->currency->currency_symbol }}{{ $product['serviceQuantity'] * $product['servicePrice'] }} @endforeach @else @lang('front.table.emptyMessage') @endif @lang('front.buttons.continueBooking') @if (!is_null($products)) @lang('front.buttons.clearCart') @endif @lang('front.summary.cart.heading.cartTotal') @lang('front.summary.cart.applyCoupon') {{----}} @lang('app.coupons') @if(!is_null($couponData)) {{ $couponData[0]['title'] }} @endif @lang('app.youSaved') {{ $settings->currency->currency_symbol }} @if(!is_null($couponData)) {{ $couponData['applyAmount'] }} @endif @lang('app.remove') @lang('front.summary.cart.subTotal') @if(!is_null($tax)) {{ $tax->tax_name }} ({{ $tax->percent }}%): @endif @if(!is_null($couponData)) @lang('app.discount') ({{ $couponData[0]['title'] }}): -{{ $settings->currency->currency_symbol }}{{ $couponData['applyAmount'] }} @endif @lang('front.summary.cart.totalAmount'): @if (!is_null($products)) @lang('front.navigation.goBack') {{ !is_null($bookingDetails) ? __('front.navigation.toCheckout') : __('front.selectBookingTime') }} @endif @endsection @push('footer-script') @endpush
@lang('app.youSaved') {{ $settings->currency->currency_symbol }} @if(!is_null($couponData)) {{ $couponData['applyAmount'] }} @endif