up the permissions to added edit Payment

This commit is contained in:
johnnyq 2026-01-12 18:12:20 -05:00
parent 1d3f29d385
commit cb8b99d6ae
1 changed files with 2 additions and 2 deletions

View File

@ -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']);