Merge branch 'hotfixes/hotfix-doublon-facture' into releases/release-h2f

This commit is contained in:
Tiavina 2025-03-12 10:15:48 +03:00
commit 903eed7cb9

View File

@ -2798,6 +2798,7 @@ class Bdd {
public function insertFactureForeEachDevisId($idNextCloud,$devisIdArray,$paymentDate = null){
$mentionToNotInclude = 'facturé';
$devisIdArray = array_unique($devisIdArray);
$devisIdListFiltered = $this->getDevisIdListFilteredByMentionAndDevisListId($mentionToNotInclude,$devisIdArray);
$factureIdsGenerated = [];
foreach($devisIdListFiltered as $devis){