Cancel customisation in htdocs/fourn/facture/card-rec.php file
This commit is contained in:
parent
ef34dcdb22
commit
7c6e2891c9
@ -428,13 +428,8 @@ if (empty($reshook)) {
|
|||||||
$tva_tx = (GETPOST('tva_tx', 'alpha') ? GETPOST('tva_tx', 'alpha') : 0);
|
$tva_tx = (GETPOST('tva_tx', 'alpha') ? GETPOST('tva_tx', 'alpha') : 0);
|
||||||
$ref_fournisseur = (GETPOSTISSET('fourn_ref') ? GETPOST('fourn_ref', 'restricthtml') : '');
|
$ref_fournisseur = (GETPOSTISSET('fourn_ref') ? GETPOST('fourn_ref', 'restricthtml') : '');
|
||||||
} else {
|
} else {
|
||||||
$idprod = GETPOST('idprodfournprice', 'int');
|
$idprod = GETPOST('idprod', 'int');
|
||||||
$tva_tx = '';
|
$tva_tx = '';
|
||||||
|
|
||||||
if (!empty($conf->global->MAIN_DISABLE_FREE_LINES) && $idprod <= 0) {
|
|
||||||
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("ProductOrService")), null, 'errors');
|
|
||||||
$error++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$qty = price2num(GETPOST('qty' . $predef, 'alpha'), 'MS', 2);
|
$qty = price2num(GETPOST('qty' . $predef, 'alpha'), 'MS', 2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user