Add Spareparts module with CRUD functionality and UI components.

This commit is contained in:
2026-01-24 10:15:45 +01:00
parent af0cf8bed9
commit 563b0e750e
18 changed files with 502 additions and 9 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Livewire\Sparepart;
use Livewire\Component;
use App\Models\Sparepart as Model;
use Livewire\Attributes\title;
#[title('Show Filament')]
class ShowSparepart extends Component
{
public Model $sparepart ;
public function back(){
return redirect()->route('spareparts.index');
}
public function edit($id){
return redirect()->route('spareparts.edit', $id);
}
public function render()
{
return view('livewire.sparepart.show', [
]);
}
}