Corrections
This commit is contained in:
parent
3a673c9210
commit
80be0c32e4
@ -986,7 +986,7 @@ if (empty($reshook)) {
|
|||||||
$result = $srcobject->fetch(GETPOST('originid', 'int'));
|
$result = $srcobject->fetch(GETPOST('originid', 'int'));
|
||||||
|
|
||||||
// If deposit invoice - down payment with 1 line (fixed amount or percent)
|
// If deposit invoice - down payment with 1 line (fixed amount or percent)
|
||||||
if (GETPOST('type') == Facture::TYPE_DEPOSIT && in_array($typeamount, array('amount', 'variable'))) {
|
if (GETPOST('type') == FactureFournisseur::TYPE_DEPOSIT && in_array($typeamount, array('amount', 'variable'))) {
|
||||||
// Define the array $amountdeposit
|
// Define the array $amountdeposit
|
||||||
$amountdeposit = array();
|
$amountdeposit = array();
|
||||||
if (!empty($conf->global->MAIN_DEPOSIT_MULTI_TVA)) {
|
if (!empty($conf->global->MAIN_DEPOSIT_MULTI_TVA)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user