@extends('website.layouts.master') @section('site_title')الدفع للطلب -@endsection @section('content')
الدفع للطلب - #{{ $order->id }}
ملخص الطلب
@foreach($order->order_products()->get() as $product)

{{ $product['name'] }}

{{ $product->pivot['quantity'] }} {{ $product->pivot['price'] }}

{{ $product->pivot['quantity'] * $product->pivot['price'] }} ريال

@endforeach
سعر المنتجات

ريال

رسوم التوصيل

{{ $order['delivery_price'] }} ريال

القيمة المضافة

{{ $order['vat'] }} ريال

اجمالي الخصم

{{ $order['discount'] }} ريال

الاجمالي ( المستحق للدفع )

{{ $order['total_price'] }} ريال

الدفع للطلب
@if (in_array($order->payment_method, ['credit_cards', 'mada_online']))

يرجى عدم اغلاق الصفحة قبل اتمام عملية الدفع

**** **** **** ****

Card holder

Your name here

Expires

MM/YY

***

@csrf
@elseif ($order->payment_method == 'apple_pay')

يرجى عدم اغلاق الصفحة قبل اتمام عملية الدفع

@endif
Loading...
@endsection @push('page_level_style') @endpush @push('page_level_script') @if ($order->payment_method == 'apple_pay') @endif @if (in_array($order->payment_method, ['credit_cards', 'mada_online'])) @endif @endpush