@extends('admin.layouts.container') @section('css') @endsection @section('content')
| # | البيان | السعر | القيمة المضافه | طريقة الدفع | كوبون | السعر بعد الخصم | القيمة المضافة بعد الخصم | المجموع | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$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