feat: 實作應付帳款與銷售訂單權限管理與進貨單權限修正
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m17s
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m17s
This commit is contained in:
@@ -185,7 +185,7 @@ class GoodsReceiptController extends Controller
|
||||
|
||||
public function submit(GoodsReceipt $goodsReceipt)
|
||||
{
|
||||
if (!auth()->user()->can('goods_receipts.update')) {
|
||||
if (!auth()->user()->can('goods_receipts.edit')) {
|
||||
return back()->with('error', '您沒有權限確認點收');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user