Fix Bug : accounting history was not shown when dble clicked
This commit is contained in:
parent
da636cf6ef
commit
faa8543de2
2 changed files with 3 additions and 4 deletions
|
|
@ -222,6 +222,7 @@ class Card_Property
|
|||
if ($this->ad_id==ATTR_DEF_ACCOUNT)
|
||||
{
|
||||
$w=new IPoste("av_text".$this->ad_id);
|
||||
$w->id=uniqid('accounting');
|
||||
$w->set_attribute('ipopup', 'ipop_account');
|
||||
$w->set_attribute('jrn', '0');
|
||||
$w->set_attribute('account', "av_text".$this->ad_id);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class Card_PropertyTest extends TestCase
|
|||
*/
|
||||
static function setUpBeforeClass():void
|
||||
{
|
||||
require_once 'global.php';
|
||||
|
||||
global $g_connection;
|
||||
$g_connection=Dossier::connect();
|
||||
// clean if exists
|
||||
|
|
@ -89,7 +89,7 @@ class Card_PropertyTest extends TestCase
|
|||
|
||||
public static function tearDownAfterClass():void
|
||||
{
|
||||
require_once 'global.php';
|
||||
|
||||
global $g_connection;
|
||||
$g_connection=Dossier::connect();
|
||||
// clean if exists
|
||||
|
|
@ -107,7 +107,6 @@ class Card_PropertyTest extends TestCase
|
|||
|
||||
public function getFicheDef()
|
||||
{
|
||||
require_once 'global.php';
|
||||
|
||||
global $g_connection;
|
||||
$g_connection=Dossier::connect();
|
||||
|
|
@ -119,7 +118,6 @@ class Card_PropertyTest extends TestCase
|
|||
|
||||
public function getFiche()
|
||||
{
|
||||
require_once 'global.php';
|
||||
|
||||
global $g_connection;
|
||||
$g_connection=Dossier::connect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue