dolibarr 18.0.6
|
Class to manage generation of HTML components for contract module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
selectExpensereportStatus ($selected='', $htmlname='fk_statut', $useempty=1, $useshortlabel=0) | |
Retourne la liste deroulante des differents etats d'une note de frais. | |
selectTypeExpenseReport ($selected='', $htmlname='type', $showempty=0, $active=1) | |
Return list of types of notes with select value = id. | |
Class to manage generation of HTML components for contract module.
Definition at line 28 of file html.formexpensereport.class.php.
FormExpenseReport::__construct | ( | $db | ) |
Constructor.
Definition at line 46 of file html.formexpensereport.class.php.
FormExpenseReport::selectExpensereportStatus | ( | $selected = '', | |
$htmlname = 'fk_statut', | |||
$useempty = 1, | |||
$useshortlabel = 0 ) |
Retourne la liste deroulante des differents etats d'une note de frais.
Les valeurs de la liste sont les id de la table c_expensereport_statuts
int | $selected | preselect status |
string | $htmlname | Name of HTML select |
int | $useempty | 1=Add empty line |
int | $useshortlabel | Use short labels |
Definition at line 62 of file html.formexpensereport.class.php.
References ajax_combobox().
FormExpenseReport::selectTypeExpenseReport | ( | $selected = '', | |
$htmlname = 'type', | |||
$showempty = 0, | |||
$active = 1 ) |
Return list of types of notes with select value = id.
int | $selected | Preselected type |
string | $htmlname | Name of field in form |
int | $showempty | Add an empty field |
int | $active | 1=Active only, 0=Unactive only, -1=All |
Definition at line 100 of file html.formexpensereport.class.php.
References ajax_combobox().