@extends('backend.template.layouts.template-base') @section('title', 'Delivery Team - Edit Person') @section('content') Edit Person @csrf Delivery Person ID Person Name * @error('name'){{ $message }}@enderror Contact Number * @error('contact_number'){{ $message }}@enderror Alternate Contact Number Email Address * @error('email'){{ $message }}@enderror Zone * Select @foreach($zones as $zone) zone_id) == $zone->id ? 'selected' : '' }}> {{ $zone->name }} @endforeach @error('zone_id'){{ $message }}@enderror Person Image (Image size: 600×450) * @if($person->person_image) Click to Upload or drag and drop PNG, JPG or JPEG. Max 2MB Replace Image @else Click to Upload or drag and drop Upload image format should be only PNG, JPG or JPEG.Also, max file size should be 2MB Replace Image @endif Address * {{ old('address', $person->address) }} @error('address'){{ $message }}@enderror DOB Gender * Select gender) === 'male' ? 'selected' : '' }}>Male gender) === 'female' ? 'selected' : '' }}>Female gender) === 'other' ? 'selected' : '' }}>Other @error('gender'){{ $message }}@enderror Status * status) === 'active' ? 'selected' : '' }}>Active status) === 'inactive' ? 'selected' : '' }}>Inactive @php $docFields = [['aadhar_image','Aadhar Image',''],['dl_front_image','Driving License front','*'],['dl_back_image','Driving License back','*']]; @endphp @foreach($docFields as [$field, $label, $req]) {{ $label }} (Image size: 600×450) @if($req)*@endif @if($person->$field) Click to Upload or drag and drop PNG, JPG or JPEG. Max 2MB Replace Image @else Click to Upload or drag and drop Upload image format should be only PNG, JPG or JPEG.Also, max file size should be 2MB Replace Image @endif @endforeach Save as Draft Cancel Update Person @endsection @section('scripts') @endsection
Click to Upload or drag and drop