fray...@hephaestos.ovh.adullact.org
unread,Dec 8, 2020, 3:16:45 AM12/8/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openmairie-...@googlegroups.com
Author: fraynaud
Date: 2020-12-08 09:16:44 +0100 (Tue, 08 Dec 2020)
New Revision: 1129
Modified:
branches/5.1.0/HISTORY.txt
branches/5.1.0/app/widget_tachenonsolde.php
Log:
ajout du libelle dans le widget
Modified: branches/5.1.0/HISTORY.txt
===================================================================
--- branches/5.1.0/HISTORY.txt 2020-12-04 09:10:48 UTC (rev 1128)
+++ branches/5.1.0/HISTORY.txt 2020-12-08 08:16:44 UTC (rev 1129)
@@ -22,6 +22,7 @@
* mettre le script doc sur la version doc de readthedoc
* a voir bug sous service ?
+(+) ajout du libelle dans widget tache_non_solde
(bug) en tache acces table service (autocomplete) fr 04/12/2020
(bug) en diffusion acces table service (autocomplete) fr 21/10/2020
(bug) correction mail lien dans diffusion fr 22-10-2020
Modified: branches/5.1.0/app/widget_tachenonsolde.php
===================================================================
--- branches/5.1.0/app/widget_tachenonsolde.php 2020-12-04 09:10:48 UTC (rev 1128)
+++ branches/5.1.0/app/widget_tachenonsolde.php 2020-12-08 08:16:44 UTC (rev 1129)
@@ -46,7 +46,7 @@
$sql = "
SELECT
tache.tache,
- courrier.registre,
+ courrier.registre, tache.libelle as libelle,
to_char(tache.datebutoir ,'DD/MM/YYYY') as datebutoir,
substring(courrier.objetcourrier, 1, 20) as objetcourrier
FROM
@@ -129,6 +129,11 @@
printf(_('objetcourrier'));
printf('</span>');
printf('</th>');
+ printf('<th class="title col-2 lastcol">');
+ printf('<span class="name">');
+ printf(_('libellé'));
+ printf('</span>');
+ printf('</th>');
printf('</thead>');
// Corps du tableau
@@ -158,6 +163,11 @@
printf($link, $row["tache"], $row["objetcourrier"],
$row["objetcourrier"]);
printf('</td>');
+ // Objet du courrier
+ printf('<td class="col-2 lastcol">');
+ printf($link, $row["tache"], $row["libelle"],
+ $row["libelle"]);
+ printf('</td>');
printf("</tr>");
// Gestion d'une classe css differente une ligne sur deux