Locations

Create
@if (session()->has('message'))
{{ session('message') }}
@endif
@foreach ($locations as $location) @endforeach
Id Name Address Telephone Number Is Operating Actions
{{ $location->id }} {{ $location->name}} {{ $location->address}} {{ $location->telephone_number}} {{ $location->status ? 'Yes' : 'No'}}
{{ __('Edit') }} {{ __('Delete') }}
{{ $locations->links() }}
{{ __('Delete Location') }} {{ __('Are you sure you want to delete the location?') }}
{{ __('Cancel') }} {{ __('Delete') }}
{{ isset($this->location->id) ? 'Edit Location' : 'Add Location' }}
@error('location.name') {{ $message }}@enderror
@error('location.address') {{ $message }}@enderror
@error('location.telephone_number') {{ $message }}@enderror
@error('location.status') {{ $message }}@enderror
{{ __('Cancel') }} Save