@extends('backend.layouts.app') @section('content') @csrf All Categories @foreach (\App\Category::all() as $key => $category) {{ $category->getTranslation('name') }} @endforeach All Brands @foreach (\App\Brand::all() as $key => $brand) {{ $brand->getTranslation('name') }} @endforeach Load More {{translate('Walk In Customer')}} @foreach (\App\Customer::all() as $key => $customer) @if ($customer->user) {{ $customer->user->name }} @endif @endforeach {{translate('Product')}} {{translate('QTY')}} {{translate('Price')}} {{translate('Subtotal')}} {{translate('Remove')}} @php $subtotal = 0; $tax = 0; $shipping = 0; @endphp @if (Session::has('posCart')) @forelse (Session::get('posCart') as $key => $cartItem) @php $subtotal += $cartItem['price']*$cartItem['quantity']; $tax += $cartItem['tax']*$cartItem['quantity']; $shipping += $cartItem['shipping']*$cartItem['quantity']; if(Session::get('shipping', 0) == 0){ $shipping = 0; } @endphp {{ \App\Product::find($cartItem['id'])->name }} ({{ $cartItem['variant'] }}) {{ single_price($cartItem['price']) }} {{ single_price($cartItem['price']*$cartItem['quantity']) }} @empty {{ translate('No Product Added') }} @endforelse @endif @endsection @section('modal')
Load More
{{ translate('No Product Added') }}
{{translate('Are you sure to confirm this order?')}}