@extends('layouts.master')
@section('content')
Your new company name: {{ isset($checkout) ? $checkout->company_name : (isset($indx) ? $sessionCart[$indx]['company_name'] ?? '' : '') }} {{ isset($checkout) ? $checkout->cart->package->package_name : (isset($indx) ? $sessionCart[$indx]['package_name'] ?? '' : '') }} Package {{ isset($checkout) ? $checkout->cart->package->package_name : (isset($indx) ? $sessionCart[$indx]['package_name'] ?? '' : '') }} Package {!!isset($checkout) ? $checkout->cart->package->package_features : (isset($indx) ? $sessionCart[$indx]['package_features'] ?? '' : '') !!}
Features:
Your Order
@foreach($package->features as $feature)
@if (auth()->check())
@php
$total_addon_price =0 ;
if(isset($checkout->cart->addonCartServices)){
foreach ($checkout->cart->addonCartServices as $key => $value) {
$total_addon_price+=$value->service->price;
}
}
$total_net = ($checkout->cart->package->package_price) - $checkout->paid_amount;
@endphp
@endif
@if(auth()->check())
@if($checkout->cart)
@if(isset($checkout->cart->addonCartServices))
@foreach( $checkout->cart->addonCartServices as $key => $value)
Price
£{{ isset($checkout) ? $total_net : (isset($indx) ? $sessionCart[$indx]['price'] ?? '0' : '0') }}
@endforeach
@endif
@php
$total_purchased_address_amount = \App\Models\purchaseAddressCart::where('order_id',$checkout->order_id)->sum('price');
if ($total_purchased_address_amount==null) {
$total_purchased_address_amount=0;
}
@endphp
@if ($total_purchased_address_amount!=0)
{{ $value->service->service_name }}
£{{ $value->service->price }}
@endif
@else
@if( isset($indx) && isset($sessionCart[$indx]['addon_service']) )
@foreach( $sessionCart[$indx]['addon_service'] as $key => $value)
Total Address services £{{ $total_purchased_address_amount }}
@endforeach
@endif
@endif
@else
@if( isset($indx) && isset($sessionCart[$indx]['addon_service']) )
@foreach( $sessionCart[$indx]['addon_service'] as $key => $value)
{{ $value['service_name'] }}
@endforeach
@endif
@endif
{{ $value['service_name'] }}
£{{ $value['price'] }}
Net
£
VAT
£
Total
£
Paid Amount
£{{$total_paid}}
Amount Due
£
Paid Amount
£0
Amount Due
£