diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php index 42820ce8369..dfa89d3c296 100644 --- a/htdocs/societe/canvas/actions_card_common.class.php +++ b/htdocs/societe/canvas/actions_card_common.class.php @@ -285,7 +285,7 @@ abstract class ActionsCardCommon $this->tpl['showhead'] = dol_get_fiche_head($head, 'card', '', 0, 'company'); $this->tpl['showend'] = dol_get_fiche_end(); - $this->tpl['showrefnav'] = $form->showrefnav($this->object, 'socid', '', ($user->socid ? 0 : 1), 'rowid', 'nom'); + $this->tpl['showrefnav'] = $form->showrefnav($this->object, 'socid', '', ($user->socid ? 0 : 1), 'rowid', 'name'); $this->tpl['checkcustomercode'] = $this->object->check_codeclient(); $this->tpl['checksuppliercode'] = $this->object->check_codefournisseur(); @@ -391,7 +391,7 @@ abstract class ActionsCardCommon global $langs, $mysoc; $this->object->id = GETPOST("socid"); - $this->object->name = GETPOST("nom"); + $this->object->name = GETPOST("name"); $this->object->prefix_comm = GETPOST("prefix_comm"); $this->object->client = GETPOST("client"); $this->object->code_client = GETPOST("code_client"); diff --git a/htdocs/societe/canvas/company/tpl/card_create.tpl.php b/htdocs/societe/canvas/company/tpl/card_create.tpl.php index 4214b859c4d..5bd5fabdc89 100644 --- a/htdocs/societe/canvas/company/tpl/card_create.tpl.php +++ b/htdocs/societe/canvas/company/tpl/card_create.tpl.php @@ -60,7 +60,7 @@ if (empty($conf) || !is_object($conf)) {