@extends('admin.layouts.container') @section('css') @endsection @section('content')

{{$head ?? '' }}

@foreach($orders as $order)
{{$order->name}}x{{$order->amount}}
رقم الطلب {{$order->id}}
طريقة الدفع @if($order->pay_way) {{__('products.'.$order->pay_way)}} @elseif($order->coupon_id) كوبون خصم @else لم يتم الدفع @endif
حالة الطلب {{__('products.'.$order->status)}}
الكوبون {{$order->code ?? 'لا يوجد'}}
{{date('d m Y', strtotime($order->created_at))}}

{{$order->price*$order->amount}} SAR

@if($order->product_id == $order->product_with_coupon) {{((($order->price*$order->amount)+((($order->price*$order->amount)*$addedValue)/100))*$order->coupon_discount)/100}} @endif @endforeach
الإجمالي
{{$order->net_total}} SAR
الضريبه
{{$order->added_value_amount}} SAR
المجموع
{{$order->net_total+$order->added_value_amount}} SAR
@if($order->coupon_id)
الخصم
{{$order->discount_amount}} SAR
المجموع الكلي
{{$order->total}} SAR
@endif @if($bill) @endif
{{--Start image container--}} @if($productRequest->payment_receipt)
@endif {{--End image container--}}
@if($bill) @endif @endsection @section('inner_js') @endsection