@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
الإجمالي
SAR
الضريبه
SAR
المجموع
SAR
الخصم
SAR
المجموع الكلي
SAR
@if($bill) @endif
{{--Start image container--}} @if($productRequest->payment_receipt)
@endif {{--End image container--}}
@if($bill) @endif @endsection @section('inner_js') @endsection