35 lines
2.5 KiB
PHP
35 lines
2.5 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Modules\InventoryManagement\Http\Controllers\InstallController;
|
|
use Modules\InventoryManagement\Http\Controllers\InventoryManagementController;
|
|
|
|
Route::middleware('web', 'authh', 'auth', 'SetSessionData', 'language', 'timezone', 'AdminSidebarMenu')
|
|
->prefix('inventorymanagement')
|
|
->group(function () {
|
|
Route::get('install', [InstallController::class, 'index']);
|
|
Route::post('install', [InstallController::class, 'install']);
|
|
Route::get('install/uninstall', [InstallController::class, 'uninstall']);
|
|
Route::get('install/update', [InstallController::class, 'update']);
|
|
|
|
Route::get('/', [InventoryManagementController::class, 'index']);
|
|
|
|
Route::post('createNewInventory', [InventoryManagementController::class, 'createNewInventory']);
|
|
Route::get('showInventoryList', [InventoryManagementController::class, 'showInventoryList'])->name('showInventoryList');
|
|
Route::get('makeInventory/{id}', [InventoryManagementController::class, 'makeInevtory']);
|
|
Route::get('getProductData', [InventoryManagementController::class, 'getProductData']);
|
|
Route::get('inventory/get_products/{id}', [InventoryManagementController::class, 'getProducts']);
|
|
Route::post('inventory/get_purchase_entry_row', [InventoryManagementController::class, 'getPurchaseEntryRow']);
|
|
Route::post('updateProductQuantity', [InventoryManagementController::class, 'updateProductQuantity']);
|
|
Route::post('saveInventoryProducts', [InventoryManagementController::class, 'saveInventoryProducts']);
|
|
Route::put('update/status/{id}', [InventoryManagementController::class, 'updateStatus']);
|
|
Route::get('showInventoryReports/{id}/{branch_id}', [InventoryManagementController::class, 'showInventoryReports']);
|
|
Route::get('inventoryIncreaseReports/{inventory_id}/{branch_id}', [InventoryManagementController::class, 'inventoryIncreaseReports']);
|
|
Route::get('inventoryDisabilityReports/{inventory_id}/{branch_id}', [InventoryManagementController::class, 'inventoryDisabilityReports']);
|
|
|
|
Route::get('wms', [\Modules\InventoryManagement\Http\Controllers\WmsController::class, 'index']);
|
|
Route::post('wms/waves', [\Modules\InventoryManagement\Http\Controllers\WmsController::class, 'storeWave']);
|
|
Route::post('wms/waves/{id}/release', [\Modules\InventoryManagement\Http\Controllers\WmsController::class, 'releaseWave']);
|
|
Route::post('wms/rf-scan', [\Modules\InventoryManagement\Http\Controllers\WmsController::class, 'rfScan']);
|
|
});
|