[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 102/219: task #0001386: Amélioration visuell
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 102/219: task #0001386: Amélioration visuelle plan comptable - postes utilisés Ajout lien si poste comptable utilisé |
Date: |
Mon, 18 Dec 2017 13:22:45 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit b0f26ffd3ccd6d4b91866d2d3efb4bfb87053444
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 24 00:07:43 2017 +0200
task #0001386: Amélioration visuelle plan comptable - postes utilisés
Ajout lien si poste comptable utilisé
---
include/class/acc_plan_mtable.class.php | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/include/class/acc_plan_mtable.class.php
b/include/class/acc_plan_mtable.class.php
index 23377fa..84a15bc 100644
--- a/include/class/acc_plan_mtable.class.php
+++ b/include/class/acc_plan_mtable.class.php
@@ -78,7 +78,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL
$js=sprintf("onclick=\"%s.input('%s','%s');\"",
$this->object_name,
$p_row[$this->table->primary_key], $this->object_name);
echo sprintf('<td sort_type="text" sort_value="X%s">%s',
- htmlspecialchars($p_row[$v]),
+ htmlspecialchars($p_row[$v]),
HtmlInput::anchor($p_row[$v], "", $js)).'</td>';
}
elseif ($v == "fiche_qcode") {
@@ -87,10 +87,22 @@ class Acc_Plan_MTable extends Manage_Table_SQL
elseif ($count == 1 ) { echo td($p_row[$v]) ; }
elseif ($count > 1) { echo td($p_row[$v] . " ($count) ");}
}
+ elseif ($v=="pcm_lib")
+ {
+ $cn=Dossier::connect();
+ if ( $cn->get_value("select count(*) from jrnx where
j_poste=$1",[$p_row['pcm_val']])>0){
+ echo "<td>";
+ echo
HtmlInput::history_account($p_row['pcm_val'],h($p_row["pcm_lib"]));
+ echo "</td>";
+ } else {
+ echo td($p_row[$v]);
+ }
+
+ }
else
{
if ( ! $this->get_property_visible($v)) continue;
- echo td($p_row[$v]);
+ echo td($p_row[$v]);
}
}
$this->display_icon_del($p_row);
- [Noalyss-commit] [noalyss] 21/219: Improve debugging and improve manage_table_sql element will be added at the right place Manage_Table_SQL can work also with a SQL query or a view Icon place can be modified, (continued)
- [Noalyss-commit] [noalyss] 21/219: Improve debugging and improve manage_table_sql element will be added at the right place Manage_Table_SQL can work also with a SQL query or a view Icon place can be modified, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 34/219: rename scenario files, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 31/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Documentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 63/219: Analytic : change the name and description in Ajax, improve esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 116/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 56/219: Task #1469 : Les esperluettes ne passent pas dans les libellés pour «opération identique»., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 189/219: Task #1506 Fiche : max longueur du poste comptable = 40, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 195/219: Task #001381 : favori de filtre , ajout des favoris de filtre dans les recherches., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 71/219: Task #0001475: Todo note : il manque le bouton "Fermer", Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 146/219: ANC : ANC_TABLE replace PGPLSQL procedure by Php functions : Anc_Table:create_temp_account Anc_Table:create_temp_card, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 102/219: task #0001386: Amélioration visuelle plan comptable - postes utilisés Ajout lien si poste comptable utilisé,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 32/219: Task #0001426: Distinction dans l'affichage des historiques des OD: libellé + fiche Ajout des qcodes pour l'historique par poste Ajout des postes comptables pour l'historique par Fiche Ajout des tiers Fait aussi pour les export PDF & CSV, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 149/219: HttpInput: protect against injection, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 47/219: Task #0001462: CA - apostrophe non affichée Use of ManageTableSQL for improving adding , update and delete analytic accounting, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 29/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Esthetique show the autoreversed VAT, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 204/219: Bug : when pressing on the template button, the input field to focus is not diplaid and the javascript gives an exception, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 206/219: typo, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 88/219: Task #0001481: Encodage Vente, Achat, Fin ou OD 1. S'il n'y a qu'une seule catégorie de fiche , il n'est plus nécessaire d'afficher le choix (puisqu'il n'y en a qu'un) 2. Avoir pour chaque ligne un bouton ajout fiche, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 212/219: Esthetic : show ledger : width of the box, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 179/219: Fix ID problem, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 167/219: Space, Dany De Bontridder, 2017/12/18