{{__('back.totalAmount')}} |
{{__('back.taxValue')}} |
{{__('back.taxRate')}} |
{{__('back.disscountPercent')}} |
{{__('back.amountBeforeDiscount')}} |
{{__('back.unitPrice')}} |
{{__('back.quantity')}} |
{{__('back.details')}} |
{{__('back.number')}} |
@foreach($commercial['data'] as $row)
@php
$totalPrice = $row->price + ($row->price * $tax_precentage) ;
$subtotal += $row->price ;
$tax += $row->price * $tax_precentage ;
$discount += $row->discount ;
$before += ($row->price - $row->discount) ;
$total += (($row->price - $row->discount) + ($row->price * $tax_precentage ) ) ;
@endphp
{{number_format($totalPrice, 2)}} |
{{number_format($row->price * $tax_precentage, 2)}} |
5% |
{{number_format($row->discount, 2)}} |
{{number_format($row->price - $row->discount, 2 )}} |
{{number_format($row->unit_price, 2)}} |
{{$row->quantity}} |
{{
@$row->animal->category->name.' '.
@$row->animal->name.' وزن'.@$row->weight.' كج'
}}
|
{{$loop->iteration}} |
@php $lastIteration = $loop->iteration ; @endphp
@endforeach
@foreach($delivery as $row)
@php
$totalPrice = $row->price + ($row->price * $tax_precentage) ;
$subtotal += $row->price ;
$tax += ($row->price - $row->discount) * $tax_precentage ;
$discount += $row->discount ;
$before += ($row->price - $row->discount) ;
$total += (($row->price - $row->discount) + (($row->price - $row->discount) * $tax_precentage ) ) ;
@endphp
{{number_format($totalPrice , 2)}} |
{{number_format($row->price * $tax_precentage, 2)}} |
{{$tax_precentage * 100}} % |
0.00 |
{{number_format($row->price - $row->discount, 2 )}} |
{{number_format($row->delivery, 2)}} |
{{$row->count}} |
{{__('back.delivery')}}
|
{{$lastIteration + 1}} |
@endforeach
{{__('back.totalPrices')}}
|
{{number_format($subtotal,2)}}
|
{{__('back.discount')}}
|
{{number_format($discount,2)}}
|
{{__('back.totalBeforeTax')}}
|
{{number_format($before,2)}}
|
{{__('back.tax')}} {{$tax_precentage}} %
|
{{number_format($tax,2)}}
|
{{__('back.total')}}
|
{{number_format($total,2)}}
|