Standardize and update code

This commit is contained in:
Philippe GRAND 2018-10-10 12:16:20 +02:00
parent b2826966e4
commit 9b6367c1ee
5 changed files with 89 additions and 2 deletions

View File

@ -82,8 +82,16 @@ class Fichinter extends CommonObject
*/
public $description;
/**
* @var int ID
*/
public $fk_contrat = 0;
/**
* @var int ID
*/
public $fk_project = 0;
public $extraparams=array();
public $lines = array();
@ -1360,7 +1368,11 @@ class FichinterLigne extends CommonObjectLine
public $error='';
// From llx_fichinterdet
/**
* @var int ID
*/
public $fk_fichinter;
public $desc; // Description ligne
public $datei; // Date intervention
public $duration; // Duree de l'intervention

View File

@ -128,10 +128,20 @@ class CommandeFournisseur extends CommonOrder
public $note_private;
public $note_public;
public $model_pdf;
/**
* @var int ID
*/
public $fk_project;
public $cond_reglement_id;
public $cond_reglement_code;
/**
* @var int ID
*/
public $fk_account;
public $mode_reglement_id;
public $mode_reglement_code;
public $user_author_id;
@ -157,7 +167,11 @@ class CommandeFournisseur extends CommonOrder
public $linked_objects=array();
// Multicurrency
/**
* @var int ID
*/
public $fk_multicurrency;
public $multicurrency_code;
public $multicurrency_tx;
public $multicurrency_total_ht;
@ -3154,7 +3168,14 @@ class CommandeFournisseurLigne extends CommonOrderLine
public $fk_commande;
// From llx_commande_fournisseurdet
/**
* @var int ID
*/
public $fk_parent_line;
/**
* @var int ID
*/
public $fk_facture;
/**

View File

@ -65,10 +65,26 @@ class CommandeFournisseurDispatch extends CommonObject
*/
public $id;
/**
* @var int ID
*/
public $fk_commande;
/**
* @var int ID
*/
public $fk_product;
/**
* @var int ID
*/
public $fk_commandefourndet;
public $qty;
/**
* @var int ID
*/
public $fk_entrepot;
/**

View File

@ -138,7 +138,12 @@ class FactureFournisseur extends CommonInvoice
public $propalid;
public $cond_reglement_id;
public $cond_reglement_code;
/**
* @var int ID
*/
public $fk_account;
public $mode_reglement_id;
public $mode_reglement_code;
@ -153,21 +158,31 @@ class FactureFournisseur extends CommonInvoice
*/
public $fournisseur;
//Incorterms
/**
* @var int ID Incorterms
*/
public $fk_incoterms;
public $location_incoterms;
public $libelle_incoterms; //Used into tooltip
public $extraparams=array();
// Multicurrency
/**
* @var int ID
*/
public $fk_multicurrency;
public $multicurrency_code;
public $multicurrency_tx;
public $multicurrency_total_ht;
public $multicurrency_total_tva;
public $multicurrency_total_ttc;
//! id of source invoice if replacement invoice or credit note
/**
* @var int ID
*/
public $fk_facture_source;
/**
@ -2722,18 +2737,32 @@ class SupplierInvoiceLine extends CommonObjectLine
public $total_ttc;
public $total_localtax1;
public $total_localtax2;
/**
* @var int ID
*/
public $fk_product;
public $product_type;
public $product_label;
public $info_bits;
/**
* @var int ID
*/
public $fk_parent_line;
public $special_code;
public $rang;
public $localtax1_type;
public $localtax2_type;
// Multicurrency
/**
* @var int ID
*/
public $fk_multicurrency;
public $multicurrency_code;
public $multicurrency_subprice;
public $multicurrency_total_ht;

View File

@ -72,12 +72,21 @@ class ProductFournisseur extends Product
public $fourn_remise_percent; // discount for quantity (percent)
public $fourn_remise; // discount for quantity (amount)
public $product_fourn_id; // supplier id
public $fk_availability; // availability delay - visible/used if option FOURN_PRODUCT_AVAILABILITY is on (duplicate information compared to delivery delay)
/**
* @var int ID availability delay - visible/used if option FOURN_PRODUCT_AVAILABILITY is on (duplicate information compared to delivery delay)
*/
public $fk_availability;
public $fourn_unitprice;
public $fourn_tva_tx;
public $fourn_tva_npr;
/**
* @var int ID
*/
public $fk_supplier_price_expression;
public $supplier_reputation; // reputation of supplier
public $reputations=array(); // list of available supplier reputations