create print opname and mutations

This commit is contained in:
2025-06-19 18:02:20 +07:00
parent e478dc81bb
commit 82f9d7f466
6 changed files with 1029 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ Route::group(['middleware' => 'auth'], function() {
Route::get('create','create')->name('opnames.create');
Route::post('/','store')->name('opnames.store');
Route::get('{opnames}','show')->name('opnames.show');
Route::get('{opnames}/print','print')->name('opnames.print');
Route::post('get-stock-data', 'getStockData')->name('opnames.get-stock-data');
});
@@ -253,6 +254,7 @@ Route::group(['middleware' => 'auth'], function() {
Route::get('{mutation}', 'show')->name('show');
Route::get('{mutation}/edit', 'edit')->name('edit');
Route::get('{mutation}/details', 'getDetails')->name('details');
Route::get('{mutation}/print', 'print')->name('print');
Route::post('{mutation}/receive', 'receive')->name('receive');
Route::post('{mutation}/approve', 'approve')->name('approve');
Route::post('{mutation}/reject', 'reject')->name('reject');