Add Printers and Printertypes modules with CRUD functionality, migrations, and UI components.

This commit is contained in:
2026-01-24 11:23:37 +01:00
parent 563b0e750e
commit fd61f14ffe
25 changed files with 1017 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class EditSparepart extends Component
}
public function mount(Model $sparepart){
$this->filament = $sparepart;
$this->sparepart = $sparepart;
$this->name = $sparepart->name;
$this->description = $sparepart->description;
$this->manufacturer_id = $sparepart->manufacturer_id;
+1 -1
View File
@@ -6,7 +6,7 @@ use Livewire\Component;
use App\Models\Sparepart as Model;
use Livewire\Attributes\title;
#[title('Show Filament')]
#[title('Show Sparepart')]
class ShowSparepart extends Component
{
+1 -1
View File
@@ -9,7 +9,7 @@ use App\Models\Manufacturer as Manufacturer;
use Livewire\WithPagination;
use Livewire\Attributes\title;
#[title('Filaments')]
#[title('Spareparts')]
class Sparepart extends Component
{
use WithPagination;