/home/techb158/ileadtechnology.com/SSM/app/Policies/inventory
NameSizeModeActions
StockCategoryPolicy.php21490644editdlrm
StockItemPolicy.php20570644editdlrm
StockPurchasePolicy.php21080644editdlrm
StockTransferPolicy.php21080644editdlrm
VendorPolicy.php19910644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/inventory/StockCategoryPolicy.php (2149B)
can('create-stock-category') || $user->can('edit-stock-category'); } /** * Determine whether the user can list all the stock category. * * @param \App\User $user * @param \App\Models\Inventory\StockCategory $stock_category * @return mixed */ public function list(User $user) { return $user->can('list-stock-category'); } /** * Determine whether the user can create exam. * * @param \App\User $user * @return mixed */ public function create(User $user) { return $user->can('create-stock-category'); } /** * Determine whether the user can view the stock category. * * @param \App\User $user * @param \App\Models\Inventory\StockCategory $stock_category * @return mixed */ public function show(User $user) { return $user->can('list-stock-category'); } /** * Determine whether the user can update the stock category. * * @param \App\User $user * @param \App\Models\Inventory\StockCategory $stock_category * @return mixed */ public function update(User $user) { return $user->can('edit-stock-category'); } /** * Determine whether the user can delete the stock category. * * @param \App\User $user * @param \App\Models\Inventory\StockCategory $stock_category * @return mixed */ public function delete(User $user) { return $user->can('delete-stock-category'); } }