diff --git a/agent/post/payment.php b/agent/post/payment.php index ed12bf19..c20e99ee 100644 --- a/agent/post/payment.php +++ b/agent/post/payment.php @@ -173,8 +173,8 @@ if (isset($_POST['add_payment'])) { if (isset($_POST['edit_payment'])) { - enforceUserPermission('module_sales', 2); - enforceUserPermission('module_financial', 2); + enforceUserPermission('module_sales', 3); + enforceUserPermission('module_financial', 3); $payment_id = intval($_POST['payment_id']); $date = sanitizeInput($_POST['date']);