[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/12: Fix Bug : accounting history was not s
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/12: Fix Bug : accounting history was not shown when dble clicked |
Date: |
Sat, 17 Sep 2022 08:40:56 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit faa8543de27aeb279d018483c920a3ed605cf5f1
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Sep 10 21:35:16 2022 +0200
Fix Bug : accounting history was not shown when dble clicked
---
include/class/card_property.class.php | 1 +
unit-test/include/class/card_propertyTest.php | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/class/card_property.class.php
b/include/class/card_property.class.php
index 881ad3da2..ff267ee37 100644
--- a/include/class/card_property.class.php
+++ b/include/class/card_property.class.php
@@ -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);
diff --git a/unit-test/include/class/card_propertyTest.php
b/unit-test/include/class/card_propertyTest.php
index 8c189e2c8..496047319 100644
--- a/unit-test/include/class/card_propertyTest.php
+++ b/unit-test/include/class/card_propertyTest.php
@@ -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();
- [Noalyss-commit] [noalyss] branch master updated (da636cf6e -> f1d3862e1), Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 07/12: Improve test, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 04/12: Task #0002125: Contact , devrait être refait sur le modèle de Fiche->résumé, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 08/12: Task #0002125: type , missed phoneTo for mobile , phone and faxTo, several emails separated by a comma, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 01/12: Fix Bug : accounting history was not shown when dble clicked,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/12: SQL If nothing is loaded return false, otherwise true, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 02/12: New #0002193: Possibilité d'ajouter directement une note aux opérations Cosmetic : change icon for enlarging operation label, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 09/12: Improve PHPUNIT, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 11/12: New #2195 0002195: Création catégorie : ordre des attributs, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 03/12: Improve autoloader, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 05/12: New function mailto and tel, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 12/12: Improve #0002196: Comptes Alphanumériques calculés trop longs, Dany De Bontridder, 2022/09/17
- [Noalyss-commit] [noalyss] 10/12: Add function linkTo for URL, Dany De Bontridder, 2022/09/17