Uniformize code
This commit is contained in:
parent
6f26f35529
commit
10da5ba83f
@ -2136,15 +2136,19 @@ class Societe extends CommonObject
|
|||||||
{
|
{
|
||||||
global $user,$langs,$conf,$mysoc;
|
global $user,$langs,$conf,$mysoc;
|
||||||
|
|
||||||
|
$now=dol_now();
|
||||||
|
|
||||||
// Initialize parameters
|
// Initialize parameters
|
||||||
$this->id=0;
|
$this->id=0;
|
||||||
$this->nom = 'SPECIMEN';
|
$this->nom = 'SPECIMEN'.'-'.dol_print_date($now,'dayhourlog');
|
||||||
$this->specimen=1;
|
$this->specimen=1;
|
||||||
$this->cp='99999';
|
$this->cp='99999';
|
||||||
$this->ville='MyTown';
|
$this->ville='MyTown';
|
||||||
$this->pays_id=1;
|
$this->pays_id=1;
|
||||||
$this->pays_code='FR';
|
$this->pays_code='FR';
|
||||||
|
|
||||||
|
$this->code_client='CC-'.dol_print_date($now,'dayhourlog');
|
||||||
|
$this->code_fournisseur='SC-'.dol_print_date($now,'dayhourlog');
|
||||||
$this->siren='123456789';
|
$this->siren='123456789';
|
||||||
$this->siret='ABCDE';
|
$this->siret='ABCDE';
|
||||||
$this->capital=10000;
|
$this->capital=10000;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user