@php $setting = App\Setting::first(); $paper_size = $setting->paper_size_a5_enable == '0' ? 'A4' : 'A5'; @endphp
To
From
@if ($sale->payment_status == 'due')
COD : {!! number_format($sale->invoice_nettotal, 2) !!}
@if (!empty($sale->currency_type))
{{ $sale->currency_type == 'usd' ? '$' : ' LKR' }}
@else
LKR
@endif
@elseif ($sale->payment_status == 'partial')
Balance : {!! number_format($sale->invoice_balance, 2) !!}
@if (!empty($sale->currency_type))
{{ $sale->currency_type == 'usd' ? '$' : ' LKR' }}
@else
LKR
@endif
@else
FREE
@endif
{{ $sale->full_waybill_no }} |
@endforeach