Skip to content

Commit

Permalink
Standardize and update code
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Sep 4, 2018
1 parent 0492492 commit 42565e7
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 7 deletions.
6 changes: 5 additions & 1 deletion htdocs/asset/class/asset.class.php
Expand Up @@ -114,7 +114,11 @@ class Asset extends CommonObject
public $label;

public $amount;
public $fk_soc;

/**
* @var int Thirdparty ID
*/
public $fk_soc;

/**
* @var string description
Expand Down
4 changes: 4 additions & 0 deletions htdocs/core/class/discount.class.php
Expand Up @@ -48,7 +48,11 @@ class DiscountAbsolute
*/
public $id;

/**
* @var int Thirdparty ID
*/
public $fk_soc;

public $discount_type; // 0 => customer discount, 1 => supplier discount
public $amount_ht; //
public $amount_tva; //
Expand Down
7 changes: 6 additions & 1 deletion htdocs/product/class/productcustomerprice.class.php
Expand Up @@ -974,7 +974,12 @@ class PriceByCustomerLine
public $datec = '';
public $tms = '';
public $fk_product;
public $fk_soc;

/**
* @var int Thirdparty ID
*/
public $fk_soc;

public $price;
public $price_ttc;
public $price_min;
Expand Down
6 changes: 5 additions & 1 deletion htdocs/societe/class/companypaymentmode.class.php
Expand Up @@ -124,7 +124,11 @@ class CompanyPaymentMode extends CommonObject
*/
public $rowid;

public $fk_soc;
/**
* @var int Thirdparty ID
*/
public $fk_soc;

public $label;
public $bank;
public $code_banque;
Expand Down
7 changes: 6 additions & 1 deletion htdocs/societe/class/societeaccount.class.php
Expand Up @@ -111,7 +111,12 @@ class SocieteAccount extends CommonObject
public $pass_encoding;
public $pass_crypted;
public $pass_temp;
public $fk_soc;

/**
* @var int Thirdparty ID
*/
public $fk_soc;

public $site;
public $date_last_login;
public $date_previous_login;
Expand Down
5 changes: 4 additions & 1 deletion htdocs/stripe/class/stripe.class.php
Expand Up @@ -33,7 +33,10 @@ class Stripe extends CommonObject
*/
public $rowid;

public $fk_soc;
/**
* @var int Thirdparty ID
*/
public $fk_soc;

public $fk_key;

Expand Down
4 changes: 4 additions & 0 deletions htdocs/ticket/class/actions_ticket.class.php
Expand Up @@ -68,6 +68,10 @@ class ActionsTicket
public $description;

public $fk_statut;

/**
* @var int Thirdparty ID
*/
public $fk_soc;

/**
Expand Down
4 changes: 2 additions & 2 deletions htdocs/ticket/class/ticket.class.php
Expand Up @@ -2502,8 +2502,8 @@ class TicketsLine
public $track_id;

/**
* Thirdparty ID
*/
* @var int Thirdparty ID
*/
public $fk_soc;

/**
Expand Down

0 comments on commit 42565e7

Please sign in to comment.