Enhance specimens
This commit is contained in:
parent
bd1d9b719b
commit
f22b1d3678
@ -75,7 +75,7 @@ class Contact extends CommonObject
|
|||||||
var $user_login;
|
var $user_login;
|
||||||
var $import_key;
|
var $import_key;
|
||||||
|
|
||||||
var $oldcopy; // To contains a clone of this when we need to save old properties of object
|
var $oldcopy; // To contains a clone of this when we need to save old properties of object
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1037,6 +1037,11 @@ class Contact extends CommonObject
|
|||||||
$this->country = 'France';
|
$this->country = 'France';
|
||||||
$this->email = 'specimen@specimen.com';
|
$this->email = 'specimen@specimen.com';
|
||||||
|
|
||||||
|
$this->phone_pro = '0909090901';
|
||||||
|
$this->phone_perso = '0909090902';
|
||||||
|
$this->phone_mobile = '0909090903';
|
||||||
|
$this->fax = '0909090909';
|
||||||
|
|
||||||
$this->note_public='This is a comment (public)';
|
$this->note_public='This is a comment (public)';
|
||||||
$this->note='This is a comment (private)';
|
$this->note='This is a comment (private)';
|
||||||
|
|
||||||
|
|||||||
@ -140,7 +140,7 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
var $array_options;
|
var $array_options;
|
||||||
|
|
||||||
var $oldcopy;
|
var $oldcopy; // To contains a clone of this when we need to save old properties of object
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -251,7 +251,7 @@ class Societe extends CommonObject
|
|||||||
// Fin appel triggers
|
// Fin appel triggers
|
||||||
}
|
}
|
||||||
else $error++;
|
else $error++;
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this)."::Create success id=".$this->id);
|
dol_syslog(get_class($this)."::Create success id=".$this->id);
|
||||||
@ -2585,6 +2585,9 @@ class Societe extends CommonObject
|
|||||||
$this->email='specimen@specimen.com';
|
$this->email='specimen@specimen.com';
|
||||||
$this->url='http://www.specimen.com';
|
$this->url='http://www.specimen.com';
|
||||||
|
|
||||||
|
$this->phone='0909090901';
|
||||||
|
$this->fax='0909090909';
|
||||||
|
|
||||||
$this->code_client='CC-'.dol_print_date($now,'dayhourlog');
|
$this->code_client='CC-'.dol_print_date($now,'dayhourlog');
|
||||||
$this->code_fournisseur='SC-'.dol_print_date($now,'dayhourlog');
|
$this->code_fournisseur='SC-'.dol_print_date($now,'dayhourlog');
|
||||||
$this->capital=10000;
|
$this->capital=10000;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user