@extends('panel.layout.app') @section('title', 'Cart') @section('titlebar_actions', '') @section('titlebar_pretitle', '') @section('content')
@if(isset($items['data']) && $items['data'] && $app_is_not_demo)

{{ __('Cart Items') }}

{{ __('To complete the order, make payment') }}.

@foreach($items['data'] as $item)

{{ $item['extension']['name'] }}

{{ $item['extension']['price'] . ' USD' }}
@endforeach
@csrf
@if(isset($items['coupon']['code'])) {{ __('Remove Coupon') }} @else {{ __('Apply Coupon') }} @endif
@error('coupon_code')
{{ $message }}
@enderror
{{ __('Subtotal') }}: ${{ number_format($items['sub_total_price'], 2) }} USD
@if($items['coupon'])
{{ __('Discount') }} ({{ data_get($items, 'coupon.code') }}): -${{ data_get($items, 'coupon.discount_value') }} USD
@endif
{{ __('Total') }}: ${{ number_format($items['total_price'], 2) }} USD

{{ __('Tax included. Your payment is secured via SSL.') }}

{{ __('Pay Now') }}
@else @if($app_is_demo)

{{ __('You can not add any extensions in demo mode.') }}

@else

{{ __('You did not add any extensions.') }}

@endif @endif
@endsection @push('script') @endpush