#1256 : add a new tag to get in the generated document the label of payment (COMM_PAYMENT)

This commit is contained in:
Dany De Bontridder 2016-01-14 13:12:50 +01:00
parent 4fe344679b
commit 19868b0064
4 changed files with 6 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -547,6 +547,7 @@ class Document
* - [ACOMPTE]
* - [TITLE]
* - [DESCRIPTION]
* - [COMM_PAYMENT]
*
* \param $p_tag TAG
* \param $p_array data from $_POST
@ -1173,8 +1174,11 @@ class Document
case 'TITLE':
$title=HtmlInput::default_value_request("ag_title", "");
return $title;
}
case 'COMM_PAYMENT':
if ( isset($p_array["e_comm_paiement"])) {
return $p_array["e_comm_paiement"];
} else return "";
}
/*
* retrieve the value of ATTR for e_march
*/