New: Add customer ref if defined

This commit is contained in:
Laurent Destailleur 2009-11-06 22:10:52 +00:00
parent 5ba30c1a0f
commit 36f7f760ce

View File

@ -1905,6 +1905,7 @@ class Propal extends CommonObject
// Initialise parametres // Initialise parametres
$this->id=0; $this->id=0;
$this->ref = 'SPECIMEN'; $this->ref = 'SPECIMEN';
$this->ref_client='NEMICEPS';
$this->specimen=1; $this->specimen=1;
$socid = rand(1, $num_socs); $socid = rand(1, $num_socs);
$this->socid = $socids[$socid]; $this->socid = $socids[$socid];