@extends('layouts.app') @section('title', 'Edit Locker') @section('no-page-header') @section('content')

Update locker information

@csrf @method('PUT')
@error('locker_number')

{{ $message }}

@enderror
@error('locker_type')

{{ $message }}

@enderror
@error('locker_size')

{{ $message }}

@enderror
@error('status')

{{ $message }}

@enderror
@error('customer_id')

{{ $message }}

@enderror

Required only if status is "Occupied"

@if($locker->status === 'occupied' && old('status', $locker->status) !== 'occupied')

Status Change Warning

Changing this locker's status from "Occupied" will:

  • Clear the current customer assignment
  • End any active registrations
  • Make the locker available for new assignments
@endif
Cancel

Quick Actions

@if($locker->status === 'available') @endif @if($locker->status === 'occupied')
@csrf @method('POST')
@endif @if($locker->status !== 'occupied')
@csrf @method('DELETE')
@endif
@if($locker->status === 'available') @endif @endsection @push('scripts') @endpush