Correct travis
This commit is contained in:
parent
6bad77d8fb
commit
d3a14c514a
@ -18,30 +18,35 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/accountancy/class/html.formventilation.class.php
|
* \file htdocs/accountancy/class/html.formventilation.class.php
|
||||||
* \ingroup Accounting Expert
|
* \ingroup Accounting Expert
|
||||||
* \brief Class for HML form
|
* \brief File of class with all html predefined components
|
||||||
*/
|
*/
|
||||||
class FormVentilation extends Form {
|
|
||||||
|
/**
|
||||||
|
* Class to manage generation of HTML components for bank module
|
||||||
|
*/
|
||||||
|
class FormVentilation extends Form
|
||||||
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
var $error;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param DoliDB $db handler
|
* @param DoliDB $db Database handler
|
||||||
*/
|
*/
|
||||||
function __construct($db) {
|
public function __construct($db)
|
||||||
$this->db = $db;
|
{
|
||||||
return 1;
|
$this->db = $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return select filter with date of transaction
|
* Return select filter with date of transaction
|
||||||
*
|
*
|
||||||
* @param string $htmlname of input
|
* @param string $htmlname Name of select field
|
||||||
* @param string $selectedkey value
|
* @param string $selectedkey Value
|
||||||
* @return string select input
|
* @return string HTML edit field
|
||||||
*/
|
*/
|
||||||
function select_bookkeeping_importkey($htmlname = 'importkey', $selectedkey) {
|
function select_bookkeeping_importkey($htmlname = 'importkey', $selectedkey) {
|
||||||
global $langs;
|
global $langs;
|
||||||
@ -83,15 +88,17 @@ class FormVentilation extends Form {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return list of the accounts with label
|
* Return list of accounts with label by chart of accounts
|
||||||
*
|
*
|
||||||
* @param string $selectedid pcg_type
|
* @param string $selectedid Preselected chart of accounts
|
||||||
* @param string $htmlname of combo list
|
* @param string $htmlname Name of field in html form
|
||||||
* @param int $showempty en empty line
|
* @param int $showempty Add an empty field
|
||||||
*
|
* @param array $events Event options
|
||||||
* @return string with HTML select
|
*
|
||||||
|
* @return string String with HTML select
|
||||||
*/
|
*/
|
||||||
function select_account($selectid, $htmlname = 'account', $showempty = 0, $event = array()) {
|
function select_account($selectid, $htmlname = 'account', $showempty = 0, $event = array())
|
||||||
|
{
|
||||||
global $conf, $user, $langs;
|
global $conf, $user, $langs;
|
||||||
|
|
||||||
$out = '';
|
$out = '';
|
||||||
@ -142,15 +149,17 @@ class FormVentilation extends Form {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return list of pcg with label
|
* Return list of accounts with label by class of accounts
|
||||||
*
|
*
|
||||||
* @param string $selectedid pcg_type
|
* @param string $selectedid Preselected pcg_type
|
||||||
* @param string $htmlname of combo list
|
* @param string $htmlname Name of field in html form
|
||||||
* @param int $showempty en empty line
|
* @param int $showempty Add an empty field
|
||||||
*
|
* @param array $events Event options
|
||||||
* @return string with HTML select
|
*
|
||||||
|
* @return string String with HTML select
|
||||||
*/
|
*/
|
||||||
function select_pcgtype($selectid, $htmlname = 'pcg_type', $showempty = 0, $event = array()) {
|
function select_pcgtype($selectid, $htmlname = 'pcg_type', $showempty = 0, $event = array())
|
||||||
|
{
|
||||||
global $conf, $user, $langs;
|
global $conf, $user, $langs;
|
||||||
|
|
||||||
$out = '';
|
$out = '';
|
||||||
@ -194,15 +203,17 @@ class FormVentilation extends Form {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return subtype list of pcg with label
|
* Return list of accounts with label by sub_class of accounts
|
||||||
*
|
*
|
||||||
* @param string $selectedid pcg_type
|
* @param string $selectedid Preselected pcg_type
|
||||||
* @param string $htmlname of combo list
|
* @param string $htmlname Name of field in html form
|
||||||
* @param int $showempty en empty line
|
* @param int $showempty Add an empty field
|
||||||
*
|
* @param array $events Event options
|
||||||
* @return string with HTML select
|
*
|
||||||
|
* @return string String with HTML select
|
||||||
*/
|
*/
|
||||||
function select_pcgsubtype($selectid, $htmlname = 'pcg_subtype', $showempty = 0, $event = array()) {
|
function select_pcgsubtype($selectid, $htmlname = 'pcg_subtype', $showempty = 0, $event = array())
|
||||||
|
{
|
||||||
global $conf, $user, $langs;
|
global $conf, $user, $langs;
|
||||||
|
|
||||||
$out = '';
|
$out = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user