doublon facture
This commit is contained in:
parent
be24ee9bfd
commit
a43b376ede
@ -2798,6 +2798,7 @@ class Bdd {
|
|||||||
|
|
||||||
public function insertFactureForeEachDevisId($idNextCloud,$devisIdArray,$paymentDate = null){
|
public function insertFactureForeEachDevisId($idNextCloud,$devisIdArray,$paymentDate = null){
|
||||||
$mentionToNotInclude = 'facturé';
|
$mentionToNotInclude = 'facturé';
|
||||||
|
$devisIdArray = array_unique($devisIdArray);
|
||||||
$devisIdListFiltered = $this->getDevisIdListFilteredByMentionAndDevisListId($mentionToNotInclude,$devisIdArray);
|
$devisIdListFiltered = $this->getDevisIdListFilteredByMentionAndDevisListId($mentionToNotInclude,$devisIdArray);
|
||||||
$factureIdsGenerated = [];
|
$factureIdsGenerated = [];
|
||||||
foreach($devisIdListFiltered as $devis){
|
foreach($devisIdListFiltered as $devis){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user