partial update opnames and detail table

This commit is contained in:
2025-06-04 18:29:05 +07:00
parent 8305e44c42
commit ff498cd98f
20 changed files with 864 additions and 174 deletions

View File

@@ -7,6 +7,7 @@ use App\Http\Controllers\ReportController;
use App\Http\Controllers\RolePrivilegeController;
use App\Http\Controllers\TransactionController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\WarehouseManagement\OpnamesController;
use App\Http\Controllers\WarehouseManagement\ProductCategoriesController;
use App\Http\Controllers\WarehouseManagement\ProductsController;
use App\Http\Controllers\WorkController;
@@ -227,7 +228,12 @@ Route::group(['middleware' => 'auth'], function() {
Route::get('{product_category}/edit', 'edit')->name('product_categories.edit');
Route::put('{product_category}', 'update')->name('product_categories.update');
Route::delete('{product_category}', 'destroy')->name('product_categories.destroy');
});
});
Route::prefix('opnames')->controller(OpnamesController::class)->group(function (){
Route::get('/','index')->name('opnames.index');
Route::get('create','create')->name('opnames.create');
});
});
});