diff --git a/include/class/card_multiple.class.php b/include/class/card_multiple.class.php index 4f59e8bfc..60ed305b0 100644 --- a/include/class/card_multiple.class.php +++ b/include/class/card_multiple.class.php @@ -127,6 +127,11 @@ class Card_Multiple if ( ! $g_user->can_read_action($ag_id)) { throw new Exception (_("CMCDO01"."Security")); } + // Retrieve Name, first Name and QCODE + $aIdentity=$cn->get_row("select (select ad_value from fiche_detail where f_id=$1 and ad_id=1) as name , + (select ad_value from fiche_detail where f_id=$1 and ad_id=32) as first_name , + (select ad_value from fiche_detail where f_id=$1 and ad_id=23) as qcode ",[$fiche_id]); + // insert new , synchronized $cn->exec_sql("insert into action_person_option (ap_value,contact_option_ref_id ,action_person_id ) select null,cor_id,$1 diff --git a/include/template/card_multiple_display_option.php b/include/template/card_multiple_display_option.php index 309aa3754..9e37e481a 100644 --- a/include/template/card_multiple_display_option.php +++ b/include/template/card_multiple_display_option.php @@ -35,6 +35,9 @@ if (!defined('ALLOWED')) * @see Card_Multiple */ ?> +

+ +

diff --git a/include/template/card_multiple_result.php b/include/template/card_multiple_result.php index 9afdb5699..8c16fc32e 100644 --- a/include/template/card_multiple_result.php +++ b/include/template/card_multiple_result.php @@ -13,7 +13,7 @@ $nb_array=count($array); ?> - +