@extends('backend.layouts.app') @section('content')
@csrf
{{ translate('Loading..') }}
{{--
--}} {{-- @php--}} {{-- $subtotal = 0;--}} {{-- $tax = 0;--}} {{-- @endphp--}} {{-- @if (Session::has('pos.cart'))--}} {{--
    --}} {{-- @forelse (Session::get('pos.cart') as $key => $cartItem)--}} {{-- @php--}} {{-- $subtotal += $cartItem['price']*$cartItem['quantity'];--}} {{-- $tax += $cartItem['tax']*$cartItem['quantity'];--}} {{-- $stock = \App\Models\ProductStock::find($cartItem['stock_id']);--}} {{-- @endphp--}} {{--
  • --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- --}} {{-- --}} {{-- --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    {{ $stock->product->name }}
    --}} {{-- {{ $cartItem['variant'] }}--}} {{--
    --}} {{--
    --}} {{--
    {{ single_price($cartItem['price']) }} x {{ $cartItem['quantity'] }}
    --}} {{--
    {{ single_price($cartItem['price']*$cartItem['quantity']) }}
    --}} {{--
    --}} {{--
    --}} {{-- --}} {{--
    --}} {{--
    --}} {{--
  • --}} {{-- @empty--}} {{--
  • --}} {{--
    --}} {{-- --}} {{--

    {{ translate('No Product Added') }}

    --}} {{--
    --}} {{--
  • --}} {{-- @endforelse--}} {{--
--}} {{-- @else--}} {{--
--}} {{-- --}} {{--

{{ translate('No Product Added') }}

--}} {{--
--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{translate('Sub Total')}}--}} {{-- {{ single_price($subtotal) }}--}} {{--
--}} {{--
--}} {{-- {{translate('Tax')}}--}} {{-- {{ single_price($tax) }}--}} {{--
--}} {{--
--}} {{-- {{translate('Shipping')}}--}} {{-- {{ single_price(Session::get('pos.shipping', 0)) }}--}} {{--
--}} {{--
--}} {{-- {{translate('Discount')}}--}} {{-- {{ single_price(Session::get('pos.discount', 0)) }}--}} {{--
--}} {{--
--}} {{-- {{translate('Total')}}--}} {{-- {{ single_price($subtotal+$tax+Session::get('pos.shipping', 0) - Session::get('pos.discount', 0)) }}--}} {{--
--}} {{--
--}}
@endsection @section('modal') {{-- Offline Payment Modal --}} @endsection @section('script') @endsection