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
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Livewire\Printer;
use Livewire\Component;
use App\Models\Printer as Model;
use Livewire\Attributes\title;
#[title('Show Printer')]
class ShowPrinter extends Component
{
public Model $printer ;
public function back(){
return redirect()->route('printers.index');
}
public function edit($id){
return redirect()->route('printers.edit', $id);
}
public function render()
{
return view('livewire.printer.show', [
]);
}
}