@extends('layouts.app') @section('title', 'Inventory Settings') @section('content') @php $tabs = [ 'numbering' => 'Document Numbering', 'stores' => 'Stores', 'departments' => 'Departments', ]; @endphp
Configure document numbering, stores and departments
Prefixes and the next number to allocate for each document type
{{ $warehouses->count() }} stores · {{ $warehouses->sum(fn ($w) => $w->stockItems->count()) }} stock items assigned
| Name | Type | Location | Manager | Items | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $w->name }} | {{ $w->type }} | {{ $w->location ?: '—' }} | {{ $w->manager }} | {{ $w->stockItems->count() }} | {{ $w->active ? 'Active' : 'Inactive' }} |
|
| @include('inventory.partials.warehouse-form', [ 'action' => route('inventory.warehouses.update', $w), 'method' => 'PUT', 'prefix' => 'wh-edit-'.$w->id, 'row' => $w, 'staff' => $staff, ]) | ||||||
| No stores match your search. | ||||||
{{ $departments->count() }} departments · {{ $departments->sum(fn ($d) => $d->stockItems->count()) }} stock items assigned
| Department | Head | Description | Items | Status | Actions |
|---|---|---|---|---|---|
| {{ $d->name }} | {{ $d->head }} | {{ $d->description ?: '—' }} | {{ $d->stockItems->count() }} | {{ $d->active ? 'Active' : 'Inactive' }} |
|
| @include('inventory.partials.department-form', [ 'action' => route('inventory.departments.update', $d), 'method' => 'PUT', 'prefix' => 'dept-edit-'.$d->id, 'row' => $d, 'staff' => $staff, ]) | |||||
| No departments match your search. | |||||