Add Printers and Printertypes modules with CRUD functionality, migrations, and UI components.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user