Standardize and update code

This commit is contained in:
Philippe GRAND 2018-08-30 12:26:59 +02:00
parent 2e66c65650
commit ba6a48360e

View File

@ -30,19 +30,11 @@ require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
*/ */
class AccountancyCategory // extends CommonObject class AccountancyCategory // extends CommonObject
{ {
<<<<<<< HEAD
/**
* @var DoliDB Database handler.
*/
public $db;
=======
/** /**
* @var DoliDB Database handler. * @var DoliDB Database handler.
*/ */
public $db; public $db;
>>>>>>> upstream/develop
/** /**
* @var string Error string * @var string Error string
* @see errors * @see errors
@ -64,24 +56,69 @@ class AccountancyCategory // extends CommonObject
*/ */
public $table_element='c_accounting_category'; public $table_element='c_accounting_category';
public $id; /**
* @var int ID
*/
public $id;
/**
* @var mixed Sample property 1
*/
public $code; public $code;
/** /**
* @var string proper name for given parameter * @var string proper name for given parameter
*/ */
public $label; public $label;
/**
* @var mixed Sample property 1
*/
public $range_account; public $range_account;
/**
* @var mixed Sample property 1
*/
public $sens; public $sens;
/**
* @var mixed Sample property 1
*/
public $category_type; public $category_type;
/**
* @var mixed Sample property 1
*/
public $formula; public $formula;
/**
* @var mixed Sample property 1
*/
public $position; public $position;
/**
* @var mixed Sample property 1
*/
public $fk_country; public $fk_country;
/**
* @var mixed Sample property 1
*/
public $active; public $active;
/**
* @var mixed Sample property 1
*/
public $lines_cptbk; public $lines_cptbk;
/**
* @var mixed Sample property 1
*/
public $lines_display; public $lines_display;
/**
* @var mixed Sample property 1
*/
public $sdc; public $sdc;