NUEVO: Implementado PROTOTIPO (v0.1) de taller, creado a partir de modelo kanban con columnas de estados. PENDIENTE DE MUCHOS CAMBIOS...

This commit is contained in:
Bryam105
2026-01-23 11:56:27 -03:30
parent bbef546d75
commit b2f2343592
8 changed files with 322 additions and 2 deletions
+8 -1
View File
@@ -9,6 +9,7 @@ use App\Http\Controllers\HomeController;
use App\Http\Controllers\LoginController;
use App\Http\Controllers\ProductosController;
use App\Http\Controllers\RegisterController;
use App\Http\Controllers\TallerController;
use App\Models\Product;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
@@ -40,7 +41,13 @@ Route::middleware(['auth'])->group(function () {
'productos' => 'product'
]);
Route::resource('sales', SaleController::class)->only(['index', 'create', 'store', 'show']);
// Rutas de Taller
Route::controller(TallerController::class)->prefix('taller')->name('taller.')->group(function () {
Route::get('/', 'index')->name('index');
Route::get('/create', 'create')->name('create');
Route::post('/', 'store')->name('store');
Route::patch('/{appointment}/status', 'updateStatus')->name('updateStatus');
});
});