@isset($customer)
@if($currentStep == '1')

@if($service_type == 4) @php $tr = resolve('App\Models\Transaction')::where($data_change_field->fields,$customer->id) ->where('id',$transactionId) ->first(); @endphp Selected Customer (@if($tr)Primary @endif{{$data_change_field->name}}) @endif @if($service_type == 5) @php $tr = resolve('App\Models\Transaction')::where(strtolower($customer_type).'_id',$customer->id) ->where('id',$transactionId) ->first(); @endphp Selected Customer (@if($tr)Primary @endif{{ucwords(strtolower(str_replace('_',' ',$customer_type)))}}) @endif

@endif
@if($customer->customer_type=="Personal") @else @endif @if($customer->customer_type=="Personal") @endif @if (isset($customer->file_path) && Storage::disk('local')->exists($customer->file_path)) @else @endif
@lang('customer.customer_reference_no') {{$customer->id}}
@lang("customer.customer_name") {{ strtoupper($customer->full_name) }}
@lang('customer.business_name')

{{$customer->business_name}}

@lang('customer.phone_carrier') {{$customer->phone_carrier}} {{ isset($customer->phone_carrier2) ? '/ '. $customer->phone_carrier2 : ''}}
@lang('customer.contact_number') {{$customer->mobile_1}} {{ isset($customer->mobile_2) ? '/ '. $customer->mobile_2 : ''}}
@lang('customer.gender') {{$customer->gender}}
@lang('customer.date_of_birth') @if($customer->date_of_birth) {{Carbon\Carbon::parse($customer->date_of_birth)->format('d-m-Y')}} @endif
@lang('customer.place_of_birth') {{$customer->place_of_birth}}
@lang('mof.region') {{$customer->region}}
@lang('customer.district-subdistrict') @if($customer->city) {{$customer->city}} @else Nil @endif - @if($customer->district) {{$customer->district}} @else Nil @endif - @if($customer->sub_division) {{$customer->sub_division}} @else Nil @endif - @if($customer->area){{$customer->area}} @else Nil @endif - @if($customer->block){{$customer->block}} @else Nil @endif
@lang('customer.last_updated') {{ $customer->created_at->diffForHumans() }}
@lang('customer.uploaded_photo') Not Found No Photos Uploaded
@endisset