From cb8b99d6ae5515f0311e2902202eafb573cc1d04 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 12 Jan 2026 18:12:20 -0500 Subject: [PATCH] up the permissions to added edit Payment --- agent/post/payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']);