@extends('layouts.posPurchageOrder.partyCatalog') @section('maincontent')

Your Shopping Cart

@if (sizeof($carts) > 0)
@foreach($sizes as $size) @endforeach @foreach ($carts as $cart) @foreach($sizes as $size) @php if(!empty($pos_id)){ $token = $pos_id; $s = \App\PosPurchage::where('token', $token)->where('is_complete',0)->where('article',$cart->article)->where('color',$cart->color)->where('size',$size)->first(); }else{ $token = $party_id; $s = \App\PosPurchage::where('token', $token)->where('is_complete',0)->where('article',$cart->article)->where('color',$cart->color) ->where('party_id',$party_id)->where('size',$size)->first(); } $procode=$cart->color."-".$size."-".$cart->article; @endphp @endforeach @endforeach @foreach($sizes as $size) @endforeach
Article Color{{ $size }}Total Qty Mrp
{{ $cart->article }} {{ $cart->color }} @if(!empty($s)) @else @endif {{ $rowQty }} {{ $cart->basemrp }}
TOTAl @foreach($sizeTotals as $k=> $sizeTotal) @if($k ==$size) {{ $sizeTotal }} @endif @endforeach {{ $qtyTotals }} {{-- $mrpTotals --}}
@else
Cart is empty!
@endif

Cart Summary

TOTAL MRP ₹ {{ $totals_mrp }}
@if(!empty($pos_id)) @else @endif
@endsection @section('extraJS')