{{ $expense->item_name }}
{{ $expense->total_amount }}
{{ ucwords($expense->user->name) }}
@if (!is_null($expense->purchase_date)) {{ $expense->purchase_date->format($global->date_format) }} @endif
{{ $expense->purchase_from ?? '--' }}
@if ($expense->status == 'pending') @elseif ($expense->status == 'approved') @else @endif
@if(!is_null($expense->bill)) @lang('app.view') @lang('app.invoice') @else -- @endif
@if( $field->type == 'text') {{$expense->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'password') {{$expense->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'number') {{$expense->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'textarea') {{$expense->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'radio') {{ !is_null($expense->custom_fields_data['field_'.$field->id]) ? $expense->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($expense->custom_fields_data['field_'.$field->id]) && $expense->custom_fields_data['field_'.$field->id] != '') ? $field->values[$expense->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox')