feat: 實作應付帳款與銷售訂單權限管理與進貨單權限修正
All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m17s

This commit is contained in:
2026-02-24 17:29:09 +08:00
parent 455f945296
commit e406ecd63d
8 changed files with 57 additions and 33 deletions

View File

@@ -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', '您沒有權限確認點收');
}