@if (count($cart) > 0) @php $total = $price =0; @endphp
@foreach ($cart as $key => $cartItem)
-
{{ ++$key }}
@if ($cartItem->type == 'sadakat')
@php $total += $cartItem->sadakat->price * $cartItem->quantity;
$price = $cartItem->sadakat->price; @endphp
{{ $cartItem->sadakat->name }}
باقة :
{{ $cartItem->sadakat->price }} ريال
@elseif($cartItem->type == 'ashom')
@php
$total += $cartItem->ashom->price * $cartItem->quantity;
$price = $cartItem->ashom->price;
@endphp
{{ $cartItem->ashom->name }}
سعر السهم :
{{ $cartItem->ashom->price }} ريال
@else
@php
$total += $cartItem->price * $cartItem->quantity;
$price = $cartItem->price;
@endphp
الذكاة
المبلغ :
{{ $cartItem->price }} ريال
@endif
@php $cart_count += $cartItem->quantity; @endphp
type == 'zakah') disabled="disabled" @endif
@if ($cartItem->type == 'ashom') max="{{ $cartItem->ashom->total_stocks }}" @endif
data-item="{{ $cartItem->id }}"
data-type="{{ $cartItem->type }}" class="updateQty"
min="1" value="{{ $cartItem->quantity }}" />
@endforeach
ملخص الطلب
الأجمالي :
اختار طريقة الدفع
بنك الراجحي : SA1680000663608010004446
بنك البلاد : SA5115000999131201620006
بنك الإنماء : SA9505000068202756706000
{{--
--}}
تم العملية بنجاح شكرا لك
نسأل الله ان يتقبل منا ومنكم صالح الأعمال وأن يجمعنا بكم في الفردوس الاعلى
@else
السلة فارغة
@endif