FIX: Restore lost functionality of making a single payment for a withdrawal

This commit is contained in:
Juanjo Menent 2018-11-09 14:04:38 +01:00
parent 17e25f5344
commit cdb2f825b7

View File

@ -121,7 +121,7 @@ if ($action == "deletenotif")
exit;
}
//Activate "Disable prospect/customer type"
//Activate or Disable one payment by customer
if ($action=="setdisablepaymentpercustomer") {
$setdisablepaymentcustomer = GETPOST('value','int');
$res = dolibarr_set_const($db, "WITHDRAWAL_DISABLE_PAYMENT_PER_CUSTOMER", $setdisablepaymentcustomer,'yesno',0,'',$conf->entity);