@include('admin.cabi_rides.masters.master-navbar') @push('styles') @endpush
{{ isset($brand) ? 'Edit' : 'Create' }} Brand
Back
@csrf @if(isset($brand)) @method('PUT') @endif
allow_supplier_selection ?? false) ? 'checked' : '' }}>
enable_auto_allotment ?? false) ? 'checked' : '' }}>
show_supplier_pricing ?? false) ? 'checked' : '' }}>
strict_login_validation ?? false) ? 'checked' : '' }}>
Restrict Duty Type Based on Time Range
Duty Type Start Time End Time
Duty Types - Vehicle groups mapping
@php $mappings = old('dutyTypeVehicleGroupMapping') ?? $brand->dutyTypeVehicleGroupMappings ?? []; @endphp @forelse($mappings as $index => $mapping) @php $selectedDutyTypes = old("dutyTypeVehicleGroupMapping.{$index}.duty_type_id") ?? (is_array($mapping) ? ($mapping['duty_type_id'] ?? []) : [$mapping->duty_type_id ?? null]); $selectedVehicleGroups = old("dutyTypeVehicleGroupMapping.{$index}.vehicle_group_id") ?? (is_array($mapping) ? ($mapping['vehicle_group_id'] ?? []) : [$mapping->vehicle_group_id ?? null]); @endphp @empty @endforelse
For Duty Types Allowed Vehicle Groups
@push('js') @endpush