@extends('web.layouts.container')
@section('css')
@endsection
@section('content')
{{$user->email}} {{$user->name}} {{__('users.'.$user->gender)}} {{$user->email}} +966 {{$user->phone}} *** *** *** ***
@if($course->coupon_discount)
{{-- last total --}}
@if($course->coupon_type == 'admin')
{{($course->price+(($course->price*settings('added_value'))/100))-((($course->price+(($course->price*settings('added_value'))/100))*$course->coupon_discount)/100)}} SAR
@endif
@if($course->coupon_type == 'earned')
{{(($course->price+($course->price*settings('added_value'))/100)-$course->coupon_discount)}} SAR
@endif
@endif
@if($course->points)
{{($course->price+($course->price*settings('added_value'))/100)-($course->points/25)}} SAR
@endif
@if(!$course->coupon_discount && !$course->points)
{{(($course->price*settings('added_value'))/100)+$course->price}} SAR
@endif
عند موافقه العميل المبدئيه على التصميم يتم ازالة هذا النص من التصميم {{$coupon->user_name}}
{{$user->name}}
{{$course->category_name}}
{{$course->name}}
@endif
@if(in_array($course->course_type, ['record_payed']))
@endif
@if(in_array($course->course_type, ['free']))
@endif
فاتورة كورس {{$calcBill['course_name']}}
{{-- --}}
({{$calcBill['id']}}) فاتورة
إسم العميل: {{$user->name}}
رقم الجوال: {{$user->phone}}
التاريخ : {{date('Y M d', strtotime($coursesBill->subscription_date ?? $coursesBill->created_at))}}
الرقم الضريبي : {{settings('tax_number')}}
#
البيان
السعر
القيمة المضافه
طريقة الدفع
@if($calcBill['coupon_discount'])
كوبون
السعر بعد الخصم
القيمة المضافه بعد الخصم
@endif
@if($calcBill['points'])
نقاط
السعر بعد الخصم
@endif
المجموع
{{$calcBill['id']}}
كورس {{$calcBill['course_name']}}
{{$calcBill['price']}} SAR
{{$calcBill['added_value_amount']}} SAR
{{$calcBill['pay_way']}}
@if($calcBill['coupon_discount'])
{{-- discount value --}}
{{$calcBill['discount_amount']}}
{{-- Price after discount --}}
{{$calcBill['price_after_discount']}}
{{-- added value after discount --}}
{{$calcBill['added_value_amount_after_discount']}}
{{-- last total --}}
{{$calcBill['total']}}
@endif
@if($calcBill['points'])
{{--Dicount amount--}}
{{$calcBill['discount_amount']}}
{{-- Price after discount --}}
{{$calcBill['price_after_discount']}}
{{-- total --}}
{{$calcBill['total']}}
@endif
@if(!$calcBill['coupon_discount'] && !$calcBill['points'])
{{$calcBill['total']}} SAR
@endif
كوبون خصم
{{-- خصم العيد
--}}
@if($coupon->user_name)