التاريخ : {{date('Y M d', strtotime($bill->created_at))}}
الرقم الضريبي : {{$taxNumber}}
#
البيان
الكمية
السعر
القيمة المضافه
كوبون
المجموع بعد الخصم
@foreach($orders as $order)
{{$loop->iteration}}
{{$order->name}}
{{$order->amount}} X {{$order->price}}
{{$order->price*$order->amount}} SAR
{{($order->price*$order->amount*$addedValue)/100}} SAR
@if($order->product_id == $order->product_with_coupon)
{{((($order->price*$order->amount)+(($order->price*$order->amount*$addedValue)/100))*$order->coupon_discount)/100}} SAR
@else
لا يوجد
@endif
@if($order->product_id == $order->product_with_coupon)
{{(($order->price*$order->amount)+(($order->price*$order->amount*$addedValue)/100))-(((($order->price*$order->amount)+(($order->price*$order->amount*$addedValue)/100))*$order->coupon_discount)/100)}} SAR
@else
{{($order->price*$order->amount)+(($order->price*$order->amount*$addedValue)/100)}} SAR
@endif