dolibarr
x.y.z
|
Class to manage generation of HTML components for contract module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. More... | |
selectExpensereportStatus ($selected='', $htmlname='fk_statut', $useempty=1, $useshortlabel=0) | |
Retourne la liste deroulante des differents etats d'une note de frais. More... | |
selectTypeExpenseReport ($selected='', $htmlname='type', $showempty=0, $active=1) | |
Return list of types of notes with select value = id. More... | |
Class to manage generation of HTML components for contract module.
Definition at line 28 of file html.formexpensereport.class.php.
FormExpenseReport::__construct | ( | $db | ) |
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.
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 98 of file html.formexpensereport.class.php.