Skip to content

Commit

Permalink
Merge branch 'develop' of [email protected]:Dolibarr/dolibarr.git into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eldy committed Feb 12, 2024
2 parents cdff5d7 + 9e250ae commit 4bbe126
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 11 deletions.
3 changes: 2 additions & 1 deletion htdocs/compta/bank/class/paymentvarious.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ class PaymentVarious extends CommonObject
public $type_payment;

/**
* @var string Payment reference
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
5 changes: 3 additions & 2 deletions htdocs/compta/paiement/class/paiement.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,15 @@ class Paiement extends CommonObject
public $type_code;

/**
* @var string Numero du CHQ, VIR, etc...
* @var string
* @deprecated
* @see $num_payment
*/
public $num_paiement;

/**
* @var string Numero du CHQ, VIR, etc...
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@ class PaymentSocialContribution extends CommonObject
/**
* @var string
* @deprecated
* @see $num_payment
*/
public $num_paiement;

/**
* @var string
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
4 changes: 3 additions & 1 deletion htdocs/compta/tva/class/paymentvat.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ class PaymentVAT extends CommonObject
/**
* @var string
* @deprecated
* @see $num_payment
*/
public $num_paiement;

/**
* @var string
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
5 changes: 5 additions & 0 deletions htdocs/compta/tva/class/tva.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ class Tva extends CommonObject
public $datev;
public $amount;
public $type_payment;

/**
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

/**
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/DolibarrModules.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2270,7 +2270,7 @@ public function delete_dirs()
public function insert_module_parts()
{
// phpcs:enable
global $conf;
global $conf, $langs;

$error = 0;

Expand Down
4 changes: 4 additions & 0 deletions htdocs/don/class/don.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ class Don extends CommonObject
*/
public $fk_typepayment;

/**
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;
public $date_valid;

Expand Down
4 changes: 4 additions & 0 deletions htdocs/don/class/paymentdonation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ class PaymentDonation extends CommonObject
public $fk_typepayment; // Payment mode ID
public $paymenttype; // Payment mode ID or Code. TODO Use only the code in this field.

/**
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

/**
Expand Down
4 changes: 4 additions & 0 deletions htdocs/expensereport/class/paymentexpensereport.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class PaymentExpenseReport extends CommonObject
*/
public $fk_typepayment;

/**
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

/**
Expand Down
5 changes: 3 additions & 2 deletions htdocs/loan/class/loanschedule.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class LoanSchedule extends CommonObject
public $fk_typepayment;

/**
* @var int Payment ID
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down Expand Up @@ -314,7 +315,7 @@ public function update($user = 0, $notrigger = 0)
$this->note_public = trim($this->note_public);
}
if (isset($this->fk_bank)) {
$this->fk_bank = trim($this->fk_bank);
$this->fk_bank = (int) $this->fk_bank;
}
if (isset($this->fk_payment_loan)) {
$this->fk_payment_loan = (int) $this->fk_payment_loan;
Expand Down
3 changes: 2 additions & 1 deletion htdocs/loan/class/paymentloan.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class PaymentLoan extends CommonObject
public $fk_typepayment;

/**
* @var string Payment ID (ex: 12345-chq1)
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
3 changes: 2 additions & 1 deletion htdocs/salaries/class/paymentsalary.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class PaymentSalary extends CommonObject
public $num_paiement;

/**
* @var string Payment reference
* @var string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;

Expand Down
2 changes: 1 addition & 1 deletion htdocs/societe/class/companybankaccount.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ public function initAsSpecimen()
$this->code_banque = '123';
$this->code_guichet = '456';
$this->number = 'CUST12345';
$this->cle_rib = 50;
$this->cle_rib = '50';
$this->bic = 'CC12';
$this->iban = 'FR999999999';
$this->domiciliation = 'Bank address of customer corp';
Expand Down

0 comments on commit 4bbe126

Please sign in to comment.