@php $colspan = ($invoiceSetting->hsn_sac_code_show) ? 3 : 2; @endphp @if($estimate->sign)

@lang('modules.estimates.signature') (@lang('app.customers'))

@endif {{--Custom fields data--}} @if(isset($fields) && count($fields) > 0)

@lang('modules.projects.otherInfo')

@foreach($fields as $field) @endforeach
{{ ucfirst($field->label) }}

@if( $field->type == 'text') {{$invoice->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'password') {{$invoice->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'number') {{$invoice->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'textarea') {{$invoice->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'radio') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? $invoice->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($invoice->custom_fields_data['field_'.$field->id]) && $invoice->custom_fields_data['field_'.$field->id] != '') ? $field->values[$invoice->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? $field->values[$invoice->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'date') {{ !is_null($invoice->custom_fields_data['field_'.$field->id]) ? \Carbon\Carbon::parse($invoice->custom_fields_data['field_'.$field->id])->format($global->date_format) : '--'}} @endif

@endif