Fixing style errors.
This commit is contained in:
parent
957a265fbd
commit
ce79989a9c
@ -1012,9 +1012,9 @@ if (empty($reshook))
|
|||||||
elseif ($action == 'setavailability' && $usercancreate) {
|
elseif ($action == 'setavailability' && $usercancreate) {
|
||||||
$result = $object->availability($_POST['availability_id']);
|
$result = $object->availability($_POST['availability_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Terms of payments
|
// Terms of payments
|
||||||
elseif ($action == 'setconditions' && $usercancreate) {
|
elseif ($action == 'setconditions' && $usercancreate) {
|
||||||
$result = $object->setPaymentTerms(GETPOST('cond_reglement_id', 'int'));
|
$result = $object->setPaymentTerms(GETPOST('cond_reglement_id', 'int'));
|
||||||
} elseif ($action == 'setremisepercent' && $usercancreate) {
|
} elseif ($action == 'setremisepercent' && $usercancreate) {
|
||||||
$result = $object->set_remise_percent($user, GETPOST('remise_percent', 'alpha'));
|
$result = $object->set_remise_percent($user, GETPOST('remise_percent', 'alpha'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user