Change client.inc.php by customer.inc.php
This commit is contained in:
parent
8e0241ca91
commit
81a3220821
2 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Customer extends Fiche
|
|||
|
||||
/*! \brief Constructor
|
||||
/* only a db connection is needed */
|
||||
function Customer($p_cn,$p_id=0)
|
||||
function __construct($p_cn,$p_id=0)
|
||||
{
|
||||
$this->fiche_def_ref=FICHE_TYPE_CLIENT;
|
||||
parent::__construct($p_cn,$p_id) ;
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ if ($low_action == "list")
|
|||
echo '<br>';
|
||||
/* Add button */
|
||||
$f_add_button = new IButton('add_card');
|
||||
$f_add_button->class="smallbutton";
|
||||
$f_add_button->label = _('Créer une nouvelle fiche');
|
||||
$f_add_button->set_attribute('ipopup', 'ipop_newcard');
|
||||
$f_add_button->set_attribute('win_refresh', 'yes');
|
||||
Loading…
Add table
Add a link
Reference in a new issue