This commit is contained in:
Sampanna Rimal
2024-09-11 12:32:15 +05:45
parent 82fab174dc
commit afb2c202d6
170 changed files with 3352 additions and 363 deletions

View File

@ -2,6 +2,7 @@
use Illuminate\Support\Facades\Route;
use Modules\Product\Http\Controllers\CategoryController;
use Modules\Product\Http\Controllers\FabricCategoryController;
use Modules\Product\Http\Controllers\ProductController;
use Modules\Product\Http\Controllers\SubCategoryController;
use Modules\Product\Http\Controllers\WarehouseController;
@ -22,7 +23,9 @@ Route::group([], function () {
Route::resource('category', CategoryController::class)->names('category');
Route::resource('sub-category', SubCategoryController::class)->names('subCategory');
Route::resource('warehouse', WarehouseController::class)->names('warehouse');
Route::resource('fabricCategory', FabricCategoryController::class)->names('fabricCategory');
Route::get('get-sub-categories', [SubCategoryController::class, 'getSubCategories'])->name('getSubCategories');
Route::get('product-details', [ProductController::class, 'getProductDetail'])->name('get-product-detail');
});