{{ __('main.print') }} @php $settings = new App\Models\MasterSetting(); $site = $settings->siteData(); $branch = \App\Models\User::find($salesreturn->created_by); @endphp

{{ isset($site['company_name']) && !empty($site['company_name']) ? $site['company_name'] : '' }}

{{ $branch->address ?? '' }}

@if ($branch->phone)

{{ getCountryCode() }} {{ $branch->phone ?? '' }}


@endif

{{ __('main.credit_note') }}

{{__('main.date')}} :
{{ \Carbon\Carbon::parse($salesreturn->date)->format('d/m/Y g:i A') }}
{{__('main.credit_no')}}. :
#{{ $salesreturn->sales_return_number }}
Vat No. :
{{ $site['company_tax_registration'] ?? 'No Tax' }}
{{__('main.invoice_no')}} :
{{ $salesreturn->invoice->invoice_number }}
{{__('main.file_no')}} :
{{ $salesreturn->customer_file_number }}
{{ __('print.item') }}
{{ __('main.rate') }}
{{ __('main.qty') }}
{{ __('main.total') }}
@php $qty = 0; @endphp @foreach ($salesreturn->invoiceProductDetails as $row)
{{ $row->item_name }}
{{ getFormattedCurrency($row->rate) }}
{{ $row->quantity }} @if ($row->type == 2) {{ getUnitType($row->unit_type ?? '') }} @endif
{{ getFormattedCurrency($row->total, 2) }}
@php $qty = $qty + $row->product_quantity; @endphp
@endforeach