Agregada ruta para obtener total de pedidos

This commit is contained in:
Alejandro Tasistro 2024-08-27 19:53:57 -03:00
parent 203b70e2ef
commit 800fed2097
1 changed files with 7 additions and 3 deletions

View File

@ -34,11 +34,11 @@ Route::get('/admin/obtener_sesion', function() {
Route::middleware(['auth', 'admin'])->group( function () {
Route::get('/admin/pedidos', 'AdminController@index')->name('admin_login.index');
Route::get('/admin/exportar-planillas-a-pdf/{gdc}', 'AdminController@exportarPlanillasAPdf');
Route::get('/admin/exportar-pedido-a-csv/{gdc}', 'AdminController@exportarPedidoACSV');
Route::get('/admin/exportar-pedido-con-nucleos-a-csv/{gdc}', 'AdminController@exportarPedidoConNucleosACSV');
});
@ -70,3 +70,7 @@ Route::middleware('auth')->group( function() {
})->name('obtenerSesion');
});
});
Route::middleware(['auth', 'comi_compras'])->group( function() {
Route::get('/compras/pedidos', 'ComprasController@pedidos')->name('compras.pedidos');
});