FormContract
class FormContract (View source)
Class to manage generation of HTML components for contract module
Properties
| DoliDB | $db | ||
| string | $error |
Methods
int|string
select_contract(int $socid = -1, int $selected = 0, string $htmlname = 'contrattid', int $maxlength = 16, int $showempty = 1, int $showRef = 0, $noouput = 0, $morecss = 'minwidth150')
Show a combo list with contracts qualified for a third party
formSelectContract($page, int $socid = -1, $selected = 0, $htmlname = 'contrattid', $maxlength = 16, $showempty = 1, $showRef = 0, $nooutput = 0)
Show a form to select a contract
Details
__construct(DoliDB $db)
Constructor
int|string
select_contract(int $socid = -1, int $selected = 0, string $htmlname = 'contrattid', int $maxlength = 16, int $showempty = 1, int $showRef = 0, $noouput = 0, $morecss = 'minwidth150')
Show a combo list with contracts qualified for a third party
formSelectContract($page, int $socid = -1, $selected = 0, $htmlname = 'contrattid', $maxlength = 16, $showempty = 1, $showRef = 0, $nooutput = 0)
Show a form to select a contract
@param string $page Page