Standardize and update code

This commit is contained in:
Philippe GRAND 2018-10-09 15:38:42 +02:00
parent dfe9c05d2f
commit e9bd1be41b
4 changed files with 96 additions and 34 deletions

View File

@ -171,6 +171,10 @@ class Account extends CommonObject
* @var string * @var string
*/ */
public $account_number; public $account_number;
/**
* @var int ID
*/
public $fk_accountancy_journal; public $fk_accountancy_journal;
/** /**
@ -1704,16 +1708,37 @@ class AccountLine extends CommonObject
public $label; public $label;
public $note; public $note;
/**
* @var int ID
*/
public $fk_user_author; public $fk_user_author;
/**
* @var int ID
*/
public $fk_user_rappro; public $fk_user_rappro;
/**
* @var int ID
*/
public $fk_type; public $fk_type;
public $rappro; // Is it conciliated public $rappro; // Is it conciliated
public $num_releve; // If conciliated, what is bank statement public $num_releve; // If conciliated, what is bank statement
public $num_chq; // Num of cheque public $num_chq; // Num of cheque
public $bank_chq; // Bank of cheque public $bank_chq; // Bank of cheque
public $fk_bordereau; // Id of cheque receipt
public $fk_account; // Id of bank account /**
* @var int ID of cheque receipt
*/
public $fk_bordereau;
/**
* @var int ID of bank account
*/
public $fk_account;
public $bank_account_label; // Label of bank account public $bank_account_label; // Label of bank account
/** /**

View File

@ -69,9 +69,25 @@ class PaymentVarious extends CommonObject
public $label; public $label;
public $accountancy_code; public $accountancy_code;
/**
* @var int ID
*/
public $fk_project; public $fk_project;
/**
* @var int ID
*/
public $fk_bank; public $fk_bank;
/**
* @var int ID
*/
public $fk_user_author; public $fk_user_author;
/**
* @var int ID
*/
public $fk_user_modif; public $fk_user_modif;

View File

@ -59,6 +59,10 @@ class Deplacement extends CommonObject
public $datec; // Creation date public $datec; // Creation date
public $dated; public $dated;
/**
* @var int ID
*/
public $fk_user_author; public $fk_user_author;
/** /**

View File

@ -98,8 +98,17 @@ class Facture extends CommonInvoice
public $socid; public $socid;
public $author; public $author;
/**
* @var int ID
*/
public $fk_user_author; public $fk_user_author;
/**
* @var int ID
*/
public $fk_user_valid; public $fk_user_valid;
public $date; // Date invoice public $date; // Date invoice
public $date_creation; // Creation date public $date_creation; // Creation date
public $date_validation; // Validation date public $date_validation; // Validation date
@ -138,7 +147,11 @@ class Facture extends CommonInvoice
public $date_lim_reglement; public $date_lim_reglement;
public $cond_reglement_code; // Code in llx_c_paiement public $cond_reglement_code; // Code in llx_c_paiement
public $mode_reglement_code; // Code in llx_c_paiement public $mode_reglement_code; // Code in llx_c_paiement
public $fk_bank; // Field to store bank id to use when payment mode is withdraw
/**
* @var int ID Field to store bank id to use when payment mode is withdraw
*/
public $fk_bank;
/** /**
* @deprecated * @deprecated
@ -157,7 +170,11 @@ class Facture extends CommonInvoice
public $fac_rec; public $fac_rec;
// Multicurrency // Multicurrency
/**
* @var int ID
*/
public $fk_multicurrency; public $fk_multicurrency;
public $multicurrency_code; public $multicurrency_code;
public $multicurrency_tx; public $multicurrency_tx;
public $multicurrency_total_ht; public $multicurrency_total_ht;
@ -4318,42 +4335,42 @@ class FactureLigne extends CommonInvoiceLine
*/ */
public $table_element='facturedet'; public $table_element='facturedet';
var $oldline; public $oldline;
//! From llx_facturedet //! From llx_facturedet
//! Id facture //! Id facture
var $fk_facture; public $fk_facture;
//! Id parent line //! Id parent line
var $fk_parent_line; public $fk_parent_line;
/** /**
* @deprecated * @deprecated
*/ */
var $label; public $label;
//! Description ligne //! Description ligne
var $desc; public $desc;
var $localtax1_type; // Local tax 1 type public $localtax1_type; // Local tax 1 type
var $localtax2_type; // Local tax 2 type public $localtax2_type; // Local tax 2 type
var $fk_remise_except; // Link to line into llx_remise_except public $fk_remise_except; // Link to line into llx_remise_except
var $rang = 0; public $rang = 0;
var $fk_fournprice; public $fk_fournprice;
var $pa_ht; public $pa_ht;
var $marge_tx; public $marge_tx;
var $marque_tx; public $marque_tx;
var $special_code; // Liste d'options non cumulabels: public $special_code; // Liste d'options non cumulabels:
// 1: frais de port // 1: frais de port
// 2: ecotaxe // 2: ecotaxe
// 3: ?? // 3: ??
var $origin; public $origin;
var $origin_id; public $origin_id;
var $fk_code_ventilation = 0; public $fk_code_ventilation = 0;
var $date_start; public $date_start;
var $date_end; public $date_end;
// Ne plus utiliser // Ne plus utiliser
//var $price; // P.U. HT apres remise % de ligne (exemple 80) //var $price; // P.U. HT apres remise % de ligne (exemple 80)
@ -4364,17 +4381,17 @@ class FactureLigne extends CommonInvoiceLine
* @deprecated * @deprecated
* @see product_ref * @see product_ref
*/ */
var $ref; // Product ref (deprecated) public $ref; // Product ref (deprecated)
var $product_ref; // Product ref public $product_ref; // Product ref
/** /**
* @deprecated * @deprecated
* @see product_label * @see product_label
*/ */
var $libelle; // Product label (deprecated) public $libelle; // Product label (deprecated)
var $product_label; // Product label public $product_label; // Product label
var $product_desc; // Description produit public $product_desc; // Description produit
var $skip_update_total; // Skip update price total for special lines public $skip_update_total; // Skip update price total for special lines
/** /**
* @var int Situation advance percentage * @var int Situation advance percentage
@ -4387,12 +4404,12 @@ class FactureLigne extends CommonInvoiceLine
public $fk_prev_id; public $fk_prev_id;
// Multicurrency // Multicurrency
var $fk_multicurrency; public $fk_multicurrency;
var $multicurrency_code; public $multicurrency_code;
var $multicurrency_subprice; public $multicurrency_subprice;
var $multicurrency_total_ht; public $multicurrency_total_ht;
var $multicurrency_total_tva; public $multicurrency_total_tva;
var $multicurrency_total_ttc; public $multicurrency_total_ttc;
/** /**
* Load invoice line from database * Load invoice line from database