@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Asset locations')) @include('admin.asset.partials.page_styles') @section('content')

{{ __('Asset locations') }}

{{ __('Buildings, floors and rooms per branch for asset placement.') }}

{{ __('Total') }}: {{ $stats['total'] ?? 0 }}
{{ __('Location registry') }}
@if(($stats['filtered'] ?? 0) > 0) {{ __('Showing') }} {{ $locations->firstItem() }}–{{ $locations->lastItem() }} {{ __('of') }} {{ $locations->total() }} @endif
@if(request()->filled('warehouse_id')) {{ __('Reset') }} @endif
@forelse($locations as $location) @empty @endforelse
{{ __('Branch') }} {{ __('Building') }} {{ __('Floor') }} {{ __('Room') }} {{ __('Action') }}
{{ $location->warehouse?->name ?? '—' }} {{ $location->building_name }} {{ $location->floor ?: '—' }} {{ $location->room_number_or_name ?: '—' }}
{{ __('No asset locations found.') }}
@if($locations->hasPages())
{{ $locations->links() }}
@endif
{{ __('Add location') }}
@csrf
@endsection @section('modal') @endsection @push('css') @endpush @section('script') @endsection