| {{$xx}} |
{{$d->productName}}
|
Rs {{ number_format($d->compareAtPrice,2)}}
@php
$save += (($d->compareAtPrice-$d->price) * $d->quantity);
@endphp
|
@php
$primary = 0;
$secondary = $d->quantity;
if(!empty($d->conf_2nd_unit) && $d->conf_2nd_unit > 0){
$primary = floor($d->quantity / $d->conf_2nd_unit);
$secondary = $d->quantity % $d->conf_2nd_unit;
}
@endphp
{{ $primary }} {{ $units[$d->primary_unit] }}
{{ $secondary }} {{ $units[$d->secondary_unit] }}
|
Rs {{ number_format($d->price * $d->quantity,2)}}
@php
$return += $d->price * $d->return_quantity;
@endphp
|
@php
$xx++;
$total_taxable += $d->taxable_amount;
$total_cgst += $d->cgst;
$total_sgst += $d->sgst;
@endphp
@endforeach