mirror of
https://github.com/itflow-org/itflow
synced 2026-03-07 22:34:52 +00:00
up the permissions to added edit Payment
This commit is contained in:
@@ -173,8 +173,8 @@ if (isset($_POST['add_payment'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_payment'])) {
|
if (isset($_POST['edit_payment'])) {
|
||||||
|
|
||||||
enforceUserPermission('module_sales', 2);
|
enforceUserPermission('module_sales', 3);
|
||||||
enforceUserPermission('module_financial', 2);
|
enforceUserPermission('module_financial', 3);
|
||||||
|
|
||||||
$payment_id = intval($_POST['payment_id']);
|
$payment_id = intval($_POST['payment_id']);
|
||||||
$date = sanitizeInput($_POST['date']);
|
$date = sanitizeInput($_POST['date']);
|
||||||
|
|||||||
Reference in New Issue
Block a user