@if($index == 0)
| {{ $sale->countrycurrency->currency_code??$sale->business->currency_code }} |
{{ $sale->total ?? 0 }} |
{{ $sale->total*$sale->conversion_rate ?? 0 }} |
{{ $sale->paid ?? 0 }} |
{{ $sale->discount ?? 0 }} |
{{ $sale->total-($sale->paid+$sale->discount) ?? 0 }} |
{{ $sale->user->name ?? 0 }} |
{{ $sale->sale_date ?? '----' }} |
{{ $sale->receipt ?? '----' }} |
@endif
{{$items->product->product_name}} |
{{$items->quantity}}{{$items->punit->unit->symbol}} |
{{$items->selling_price}} |
@endforeach
@endforeach
| Total Amount: {{ number_format($total) }} |
Total Amount in Default Currency: {{ number_format($default_total) }} |
Total Paid: {{ number_format($paid) }} |
Total Discount: {{ number_format($discount) }} |
Total Balance: {{ number_format($total-($paid+$discount)) }} |