Fix warning

This commit is contained in:
Laurent Destailleur 2020-12-16 11:21:48 +01:00
parent 2c7d872320
commit c6f83aaed7
2 changed files with 27 additions and 13 deletions

View File

@ -1741,13 +1741,6 @@ class AccountLine extends CommonObject
public $amount;
/**
* @var string bank transaction lines label
*/
public $label;
public $note;
/**
* @var int ID
*/
@ -1763,11 +1756,6 @@ class AccountLine extends CommonObject
*/
public $fk_type;
public $rappro; // Is it conciliated
public $num_releve; // If conciliated, what is bank statement
public $num_chq; // Num of cheque
public $bank_chq; // Bank of cheque
/**
* @var int ID of cheque receipt
*/
@ -1778,16 +1766,40 @@ class AccountLine extends CommonObject
*/
public $fk_account;
/**
* @var string Ref of bank account
*/
public $bank_account_ref;
/**
* @var string Label of bank account
*/
public $bank_account_label;
/**
* @var string Bank account numero
*/
public $numero_compte;
/**
* @var string Name of check issuer
*/
public $emetteur;
public $rappro; // Is it conciliated
public $num_releve; // If conciliated, what is bank statement
public $num_chq; // Num of cheque
public $bank_chq; // Bank of cheque
/**
* @var string bank transaction lines label
*/
public $label;
public $note;
/**
* Constructor
*

View File

@ -200,8 +200,10 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
*/
$localobject->info($localobject->id);
$result = $localobject->needIBAN();
//print __METHOD__." localobject->date_creation=".$localobject->date_creation."\n";
//$this->assertNotEquals($localobject->date_creation, '');
$this->assertEquals(1, $result);
return $localobject->id;
}