@if(config('system.settings_company_address_line_1'))
{{ config('system.settings_company_address_line_1') }}
@endif
@if(config('system.settings_company_city'))
{{ config('system.settings_company_city') }}
@endif
@if(config('system.settings_company_state'))
{{ config('system.settings_company_state') }}
@endif
@if(config('system.settings_company_zipcode'))
{{ config('system.settings_company_zipcode') }}
@endif
@if(config('system.settings_company_country'))
{{ config('system.settings_company_country') }}
@endif
@if(config('system.settings_company_customfield_1') != '')
{{ config('system.settings_company_customfield_1') }}
@endif
@if(config('system.settings_company_customfield_2') != '')
{{ config('system.settings_company_customfield_2') }}
@endif
@if(config('system.settings_company_customfield_3') != '')
{{ config('system.settings_company_customfield_3') }}
@endif
@if(config('system.settings_company_customfield_4') != '')
{{ config('system.settings_company_customfield_4') }}
@endif
@if($bill->client_billing_street)
{{ $bill->client_billing_street }}
@endif
@if($bill->client_billing_city)
{{ $bill->client_billing_city }}
@endif
@if($bill->client_billing_state)
{{ $bill->client_billing_state }}
@endif
@if($bill->client_billing_zip)
{{ $bill->client_billing_zip }}
@endif
@if($bill->client_billing_country)
{{ $bill->client_billing_country }}
@endif
@foreach($customfields as $field)
@if($field->customfields_show_invoice == 'yes' && $field->customfields_status == 'enabled')
@php $key = $field->customfields_name; @endphp
@php $customfield = $bill[$key] ?? ''; @endphp
@if($customfield != '')
{{ $field->customfields_title }}:
{{ runtimeCustomFieldsFormat($customfield, $field->customfields_datatype) }}
@endif
@endif
@endforeach