@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->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($orderBill) @endif
@if($orderBill) @endif @endsection @section('inner_js') @endsection