Merge pull request #22820 from lamrani002/fix_scrutinize_supp_proposal

Fix scrutinize supplier_proposal
This commit is contained in:
Laurent Destailleur 2022-11-14 20:49:41 +01:00 committed by GitHub
commit c5a2fe406e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ class mod_supplier_proposal_saphir extends ModeleNumRefSupplierProposal
return 0;
}
$date = $supplier_proposal->datep;
$date = $supplier_proposal->date;
$customercode = $objsoc->code_client;
$numFinal = get_next_value($db, $mask, 'supplier_proposal', 'ref', '', $customercode, $date);