@extends('front.layouts.main') @section('content')

MY CART

@if(count($data['data']) > 0)
@foreach($data['data'] as $key => $product)
{{$product['jsonData']['data']['orderItemDetail']['productName']}}
{{$product['orderItemId']}}
{{config('constants.CURRENCY_SYMBOL'). $product['subTotal']}}
@endforeach
SUB TOTAL : {{$data['totalPrice']}}
DELIVERY FEE : {{$data['deliveryFee']}}
VAT {{config('constants.VAT_PERCENTAGE')}}% : {{(($data['totalPrice']/1.18)*16)/100}}
CTL {{config('constants.CTL_PERCENTAGE')}}% : {{(($data['totalPrice']/1.18)*2)/100}}
TOTAL : {{$data['totalPrice'] + $data['deliveryFee']}}

@if(session()->has('id')) @endif @if(session()->has('id')) @endif
@else

CART IS EMPTY!

@endif
@if(count($data2['products']) > 0) @else @endif @if(session()->has('id')) @endif @if(session()->has('id')) @endif @endsection @section('js')