Commit dc00cc63 by jhon

fix crud barang

parent 4af52e65
......@@ -58,12 +58,14 @@ Route::group(['middleware' => ['web','auth','customer']], function () {
});
Route::group(['middleware' => ['web','auth','inventori']], function () {
Route::get('/ListBarang', 'InventoriController@listBarang');
Route::get('/ListBarang', 'InventoriController@ListBarang');
Route::get('/create', 'InventoriController@create');
Route::post('/store', 'InventoriController@store');
Route::get('/edit/{id}', 'InventoriController@edit');
Route::post('/update/{id}', 'InventoriController@update');
Route::get('/delete/{id}', 'InventoriController@destroy');
Route::get('/ListRequest', 'InventoriController@ListRequest');
});
Route::group(['middleware' => ['web','auth','kasir']], function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment