diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php
index aa112d398..09c660669 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -234,7 +234,9 @@ class Follow_Up
);
// List opération liées
- $operation=$this->db->get_array("select ago_id,j.jr_id,j.jr_internal,j.jr_comment,to_char(j.jr_date,'DD.MM.YY') as str_date
+ $operation=$this->db->get_array("select ago_id,j.jr_id,j.jr_internal,j.jr_comment
+ ,to_char(j.jr_date,'DD.MM.YY') as str_date
+ ,jr_pj_number
from jrn as j join action_gestion_operation as ago on (j.jr_id=ago.jr_id)
where ag_id=$1 order by jr_date", array($this->ag_id));
$iconcerned=new IConcerned('operation');
diff --git a/include/template/follow_up-display.php b/include/template/follow_up-display.php
index fe090fb2e..798b3da7b 100644
--- a/include/template/follow_up-display.php
+++ b/include/template/follow_up-display.php
@@ -224,7 +224,9 @@ if ($this->ag_id > 0 && Document_Option::is_enable_contact_multiple($this->dt_id
if ( $p_view != 'READ')
{
$js = HtmlInput::button_action_remove_operation($operation[$o]['ago_id']);
- echo '
'.$operation[$o]['str_date']." ".HtmlInput::detail_op($operation[$o]['jr_id'],$operation[$o]['jr_internal'])." ".h($operation[$o]['jr_comment'])." "
+ echo ''.$operation[$o]['str_date']." "
+ .HtmlInput::detail_op($operation[$o]['jr_id'],sprintf("%s (%s) ",$operation[$o]['jr_pj_number'],$operation[$o]['jr_internal']))
+ ." ".h($operation[$o]['jr_comment'])." "
.$js.'';
}
else
diff --git a/unit-test/README b/unit-test/README
index 7128a5a5f..6950dfc14 100644
--- a/unit-test/README
+++ b/unit-test/README
@@ -51,27 +51,22 @@ Ensuite copier bootstrap.php.example vers bootstrap.php et modifier les variable
Testing commande en ligne
=========================
+Si vous utilisez Xdebug, il faut le désactiver avec ceci
+ export XDEBUG_MODE=off
+
+Dans une autre fenêtre, si vous testez la transformation avec libreOffice
+
+ unoconv -l
+
+Et aussi, supprimer le fichier
+
+ /tmp/web.xml
+
+Dans le fichier noalyss/include/config.inc.php , donner 1 à DEBUGNOALYSS
+
+ define ('DEBUGNOALYSS',1);
+
test (depuis repertoire include)
php /phpunit.phar --tap --colors --bootstrap ../bootstrap.php class_acc_accountTest.php
-Tous les fichiers
- for i in *.php;do php /phpunit.phar --tap --colors --bootstrap ../bootstrap.php $i;done
-
-
-Génération pour tous les fichiers
-=================================
-Permet de voir les lignes de code qui ont été testées
-php /phpunit.phar --coverage-html html --bootstrap bootstrap.php include
-
-exemple depuis NETBEANS "/usr/bin/php" "/home/dany/Program/phpunit-skelgen.phar" "--ansi" "generate-test" "--bootstrap=/home/dany/developpement/phpcompta/noalyss/unit-test/bootstrap.php" "View_SQL" "/home/dany/developpement/phpcompta/noalyss/include/lib/view_sql.class.php" "View_SQLTest" "/home/dany/developpement/phpcompta/noalyss/unit-test/include/lib/view_sql.classTest.php"
-
-Note développeur
-================
-Pour avoir tous les fichiers à inclure
---------------------------------------
-Depuis ici, faites
-
-cd ../include
-
-find class lib -type f | awk '{print "require_once NOALYSS_INCLUDE.--/"$1"--;";}'|sed -e 's/--/"/g' >> ../unit-test/bootstrap.php