| الاجمالى قبل الخصم والضريبة {{number_format($total)}} {{$currency}} |
@foreach ($sale_bill->extras as $key)
@if ($key->action == "discount")
@if ($key->action_type == "pound")
خصم {{$key->value}} {{$currency}};
@php $discount = $key->value; @endphp
@else
خصم {{$key->value}} % ;
@php $discount = ($key->value / 100) * $sale_bill->subtotal; @endphp
@endif
@else
@if ($key->action_type == "pound")
مصاريف شحن {{$key->value}} {{$currency}};
@php $extra = $key->value; @endphp
@else
مصاريف شحن {{$key->value}} %
@php $extra = ($key->value / 100) * $sale_bill->subtotal; @endphp
@endif
@endif
@endforeach
|
| ضريبة القيمة المضافة : ( {{$tax_value_added}} % ) |
قيمة ضريبة القيمة المضافة : {{number_format($sale_bill->subtotal*$sale_bill->tax/100)}} {{$currency}} |
| اجمالى الفاتورة بعد الخصم والضريبة : {{number_format($sale_bill->final_total)}} {{$currency}} |
المبلغ المدفوع : {{number_format($sale_bill->paid)}} {{$currency}} |
| المبلغ المتبقى : {{number_format($sale_bill->rest)}} {{$currency}} |