Refactored Manufacturer and Buildplate Livewire components. Introduced create, edit, and show components with route-based navigation. Updated views for consistency and cleaned up unused modals and legacy code. Adjusted styles and table layouts.
This commit is contained in:
@@ -26,6 +26,9 @@ Route::middleware([
|
||||
|
||||
// Buildplates
|
||||
Route::get('buildplate', Buildplate::class)->name('buildplate.index');
|
||||
Route::get('buildplate/create', \App\Livewire\Buildplate\CreateBuildplate::class)->name('buildplate.create');
|
||||
Route::get('buildplate/{buildplate}/edit', \App\Livewire\Buildplate\EditBuildplate::class)->name('buildplate.edit');
|
||||
Route::get('buildplate/{buildplate}', \App\Livewire\Buildplate\ShowBuildplate::class)->name('buildplate.show');
|
||||
|
||||
// Colors
|
||||
Route::get('color', Color::class)->name('color.index');
|
||||
@@ -47,6 +50,9 @@ Route::middleware([
|
||||
|
||||
// Manufacturers
|
||||
Route::get('manufacturer', Manufacturer::class)->name('manufacturer.index');
|
||||
Route::get('manufacturer/create', \App\Livewire\Manufacturer\CreateManufacturer::class)->name('manufacturer.create');
|
||||
Route::get('manufacturer/{manufacturer}/edit', \App\Livewire\Manufacturer\EditManufacturer::class)->name('manufacturer.edit');
|
||||
Route::get('manufacturer/{manufacturer}', \App\Livewire\Manufacturer\ShowManufacturer::class)->name('manufacturer.show');
|
||||
|
||||
// Orders
|
||||
Route::get('orders', Orders::class)->name('orders.index');
|
||||
|
||||
Reference in New Issue
Block a user