FormPropal
class FormPropal (View source)
Class to manage generation of HTML components for proposal management
Properties
| DoliDB | $db | ||
| string | $error |
Methods
selectProposalStatus($selected = '', int $short = 0, $excludedraft = 0, $showempty = 1, $mode = 'customer', $htmlname = 'propal_statut', $morecss = '')
Return combo list of different statuses of a proposal Values are id of table c_propalst
Details
__construct(DoliDB $db)
Constructor
selectProposalStatus($selected = '', int $short = 0, $excludedraft = 0, $showempty = 1, $mode = 'customer', $htmlname = 'propal_statut', $morecss = '')
Return combo list of different statuses of a proposal Values are id of table c_propalst
@param string $selected Preselected value