{{$data_change_field->name}} Change

@if ($input_type != 'longtextarea')
Existing Value
Proposed Value
@endif @for ($i=0; $i<$field_count; $i++)
@if($input_type == 'longtextarea')
Existing Value
@endif
@if($input_type != 'search') {{$labels[$fields[$i]]}} @endif @php $str = str_replace('_id','',$fields[$i]); $str = str_replace('_','',$str); $str = ucwords($str); $str = str_replace(' ','',$str); if($str == 'Model') { $str = 'VehicleModel'; } if($str == 'Classification') { $str = 'ClassificationType'; } if($str == 'Area' || $str == 'Zone') { $str = NULL; } $value = isset($existing_values[$fields[$i]])?$existing_values[$fields[$i]]:'Nil'; $value = $value===NULL?'Nil':$value; if($value != 'Nil') { if(class_exists('App\Models\\'.$str)) { $model = resolve('App\Models\\'.$str)::find($value); if($model) { $value = isset($model->name)?$model->name:$model->Name; } else { $value = $value; } } if(class_exists('App\Models\Vehicle\\'.$str)) { $model = resolve('App\Models\Vehicle\\'.$str)::find($value); if($model) { $value = $model->name; } else { $value = $value; } } if(config()->has('gis.'.$fields[$i].'.'.$value)) { $value = config('gis.'.$fields[$i].'.'.$value); } if($input_type == 'text' && $value != 'Nil') { $value = strtoupper($value); } } @endphp @if ($input_type == 'textarea') @elseif ($input_type == 'longtextarea') @elseif ($input_type == 'file') @if ($value != 'Nil' && Storage::disk('local')->exists($value)) @else @if ($fields[$i] == 'vehicle_photo') @else @endif @endif @elseif ($input_type == 'search') @include('livewire.common._customerview') @else @endif
@if($input_type == 'longtextarea')
Proposed Value
@endif
@if($input_type != 'search') {{$labels[$fields[$i]]}} @endif @if($input_type == 'text' || $input_type == 'number')
@elseif($input_type == 'email') @elseif($input_type == 'date') @elseif($input_type == 'select') @elseif($input_type == 'location' || $input_type == 'make_model') @elseif($input_type == 'config') @elseif($input_type == 'textarea') @elseif($input_type == 'longtextarea') @elseif($input_type == 'file')

Upload Image

Image size must be less than 1MB

@elseif($input_type == 'mobile_number') @if ($fields[$i] == 'phone_carrier' || $fields[$i] == 'phone_carrier2') @else @php if($fields[$i] == 'mobile_1' || $fields[$i] == 'mobile_2') { $pos = strpos($fields[$i], '_'); if($pos) { $valueAfterUnderscore = substr($fields[$i] , $pos + 1); $mobilePrefixVariable = 'mobilePrefix'.$valueAfterUnderscore; $maxFieldLengthVariable = 'maxFieldLength'.$valueAfterUnderscore; } } @endphp @if ($$mobilePrefixVariable != 0) {{$$mobilePrefixVariable}} @endif @endif @elseif ($input_type == 'search') @if ($proposedCustomer == NULL) @livewire('customer.customer-select-component',['parentReference' => strtoupper($labels[$fields[$i]]),'user_id'=>$user_id,'restriction'=> $customer_restriction])
No Customer
@endif @include('livewire.common._proposedcustomerview') @endif
@endfor @error('proposed_values') {{ $message }} @enderror @if(session('proposed_values')) {{ session('proposed_values') }} @endif @if ($field_count > 1 && ($input_type != 'make_model' && $input_type != 'mobile_number' && $input_type != 'location'))
Note : Please fill the proposed value field only need to change.
@endif @if ($input_type == 'make_model')
Note : Please fill the both values for proposed value.
@endif @if ($input_type == 'mobile_number')
Note : Please fill the contact number only for selected phone carrier.
@endif