@extends('web.layouts.container') @section('css') @endsection @section('content')
@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->status == 'done' && $order->file) @endif @if($order->coupon_id) {{$order->discount_amount}} @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($orderBill) @endif
@if($orderBill) @endif @endsection @section('inner_js') @endsection