mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 11:15:21 +01:00
Add hidden conf : NB_REC_FACT_GEN_BY_CALL (#33473)
* Add hidden conf : NB_REC_FACT_GEN_BY_CALL * Update fournisseur.facture-rec.class.php --------- Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -1374,6 +1374,9 @@ class FactureFournisseurRec extends CommonInvoice
|
||||
$sql .= ' AND rowid = '. (int) $restrictioninvoiceid;
|
||||
}
|
||||
$sql .= $this->db->order('entity', 'ASC');
|
||||
if (getDolGlobalInt('NB_REC_FACT_GEN_BY_CALL')) {
|
||||
$sql .= $this->db->plimit(getDolGlobalInt('NB_REC_FACT_GEN_BY_CALL'));
|
||||
}
|
||||
//print $sql;exit;
|
||||
$parameters = array(
|
||||
'restrictioninvoiceid' => $restrictioninvoiceid,
|
||||
|
||||
Reference in New Issue
Block a user