Update web.php

This commit is contained in:
ajsy 2019-03-09 11:14:24 +03:00
parent 41b5b1dfd0
commit c11e93b72f

View file

@ -22,6 +22,16 @@ Route::group(['middleware' => 'auth'], function () {
Route::resource('locations', 'LocationsController', [ Route::resource('locations', 'LocationsController', [
'parameters' => ['location' => 'location_id'] 'parameters' => ['location' => 'location_id']
]); ]);
Route::get(
'{locationId}/printonlyassignedtolocation',
[ 'as' => 'locations.printonlyassignedtolocation', 'uses' => 'LocationsController@printOnlyAssignedToLocation' ]
);
Route::get(
'{locationId}/printallassignedtolocation',
[ 'as' => 'locations.printallassignedtolocation', 'uses' => 'LocationsController@printAllAssignedToLocation' ]
);
/* /*
* Manufacturers * Manufacturers