@extends('layouts.app') @section('page-title', 'Home') @section('body-content')
@php $sub_total = 0; $total_amount = 0; $cart_count = 0; $weight = 0; @endphp @if(session('cart')) @foreach(session('cart') as $id => $details) @php $cart_count++ @endphp @php $sub_total += $details['price'] * $details['quantity'] @endphp @php $weight += $details['weight'] * $details['quantity'] @endphp @php $total_amount += $details['price'] * $details['quantity'] @endphp @endforeach @endif
Product Name Quantity Price Total
Network & Communication

{{ $details['name'] }}

MFR: {{ $details['brand'] }}
Part #: {{ $details['part_no'] }} {{-- SKU: 8PL072 --}}
{{-- --}} {{-- --}}
Price: ${{ $details['price'] }} /each Amount: ${{ $details['price'] * $details['quantity'] }}

Date: {{ date('m/d/Y') }} Cart #: {{ session()->get('cart_no')['cart_no'] }}

Order Summary

Number of Item(s): {{ $cart_count }}
Subtotal: ${{ $sub_total }}
Tax: As Applicable
Freight: As Applicable
Amount: ${{ $total_amount }}
@if(session("failureMsg")) @endif
Billing Details:
Shipping Details:

{{--
--}}
@csrf
{{--
--}}


{{--
--}}
@endsection @section('end-scripts') @include('checkout.js-for-views.checkout-js') @include('checkout.js-for-views.payment-gateway-js.braintree-js') @endsection