[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 25/27: Task #1029: PRINTBAL : année précéden
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 25/27: Task #1029: PRINTBAL : année précédente dans une autre couleur Task #1029 - PRINTBAL : année précédente dans une autre couleur |
Date: |
Thu, 02 Oct 2014 14:23:19 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit cc1bf8822a3ce2e9cdd47bf37e811be59c1b6caf
Author: Dany De Bontridder <address@hidden>
Date: Sun Sep 21 19:41:50 2014 +0200
Task #1029: PRINTBAL : année précédente dans une autre couleur
Task #1029 - PRINTBAL : année précédente dans une autre couleur
---
html/style-classic.css | 41 +++++++++++++++++++++++++++++++++++++++++
include/balance.inc.php | 18 +++++++++---------
2 files changed, 50 insertions(+), 9 deletions(-)
diff --git a/html/style-classic.css b/html/style-classic.css
index 4dce94d..d855198 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -1479,4 +1479,45 @@ fieldset {
width: 80%;
overflow: auto;
overflow-style: panner;
+}
+ul.tabs {
+ padding-top: 5px;
+ display:block;
+ border-bottom: 1px solid #879ed4;
+ padding-left: 10px
+}
+li.tabs {
+ display:inline;
+ background-color: grey;
+ color:wheat;margin-left: 2px;
+ padding: 15px 15px 0px 15px;
+ border-top-left-radius: 15px;
+ border-top-right-radius: 15px;
+ border:1px #879ed4 solid;
+
+}
+li.tabs:hover {
+ display:inline;
+ background-color: blue;
+ color:wheat;margin-left: 2px;
+ padding: 15px 15px 0px 15px;
+ border-top-left-radius: 15px;
+ border-top-right-radius: 15px;
+ border:1px #879ed4 solid;
+
+}
+li.tabs a {
+ text-decoration: none;
+ color:white;
+ display:inline;
+}
+li.tabs a:hover {
+ text-decoration: none;
+ color:white;
+ display:inline;
+}
+.previous_year
+{
+ text-align:right;
+ color:black;
}
\ No newline at end of file
diff --git a/include/balance.inc.php b/include/balance.inc.php
index e23a181..6185b02 100644
--- a/include/balance.inc.php
+++ b/include/balance.inc.php
@@ -333,12 +333,12 @@ if ( isset($_GET['view'] ) )
echo td(${'lvl'.$ind.'_old'},'style="font-weight:bold;"');
echo td(${'lvl'.$ind.'_old'}." "._("Total niveau")."
".$ind,'style="font-weight:bold;"');
if ($previous==1) {
- echo
td(nbm(${'lvl'.$ind}['sum_deb_previous']),'style="text-align:right;font-weight:bold;"');
- echo
td(nbm(${'lvl'.$ind}['sum_cred_previous']),'style="text-align:right;font-weight:bold;"');
- echo
td(nbm(${'lvl'.$ind}['solde_deb_previous']),'style="text-align:right;font-weight:bold;"');
- echo
td(nbm(${'lvl'.$ind}['solde_cred_previous']),'style="text-align:right;font-weight:bold;"');
+ echo
td(nbm(${'lvl'.$ind}['sum_deb_previous']),'class="previous_year"
style="font-weight:bold;"');
+ echo td(nbm(${'lvl'.$ind}['sum_cred_previous']),'
class="previous_year" style="font-weight:bold;" ');
+ echo
td(nbm(${'lvl'.$ind}['solde_deb_previous']),'class="previous_year"
style="font-weight:bold;"');
+ echo
td(nbm(${'lvl'.$ind}['solde_cred_previous']),'class="previous_year"
style="font-weight:bold;"');
}
- echo
td(nbm(${'lvl'.$ind}['sum_deb']),'style="text-align:right;font-weight:bold;"');
+ echo
td(nbm(${'lvl'.$ind}['sum_deb']),'style="text-align:right;font-weight:bold;"
');
echo
td(nbm(${'lvl'.$ind}['sum_cred']),'style="text-align:right;font-weight:bold;"');
echo
td(nbm(${'lvl'.$ind}['solde_deb']),'style="text-align:right;font-weight:bold;"');
echo
td(nbm(${'lvl'.$ind}['solde_cred']),'style="text-align:right;font-weight:bold;"');
@@ -362,10 +362,10 @@ if ( isset($_GET['view'] ) )
echo td($view_history);
echo td(h($r['label']));
if ($previous == 1 ) {
- echo td(nbm($r['sum_deb_previous']),'style="text-align:right;"');
- echo td(nbm($r['sum_cred_previous']),'style="text-align:right;"');
- echo td(nbm($r['solde_deb_previous']),'style="text-align:right;"');
- echo
td(nbm($r['solde_cred_previous']),'style="text-align:right;"');
+ echo td(nbm($r['sum_deb_previous']),' class="previous_year"');
+ echo td(nbm($r['sum_cred_previous']),' class="previous_year" ');
+ echo td(nbm($r['solde_deb_previous']),' class="previous_year"');
+ echo td(nbm($r['solde_cred_previous']),'class="previous_year" ');
}
echo td(nbm($r['sum_deb']),'style="text-align:right;"');
echo td(nbm($r['sum_cred']),'style="text-align:right;"');
- [Noalyss-commit] [noalyss] 21/27: Ajout fonction pour calculer pourcentage répartition clef, (continued)
- [Noalyss-commit] [noalyss] 21/27: Ajout fonction pour calculer pourcentage répartition clef, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 20/27: Cosmetique : alignement colonne pourcent, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 14/27: remove debug info, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 13/27: Add documentation add_row_key, remove secund parameter, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 01/27: Ajout des clef de répartition pour la comptabilité analytique, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 24/27: Task #0001030: PRINTBAL : mettre le numéro de compte en première colonne Task #1030 - PRINTBAL : mettre le numéro de compte en première colonne, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 27/27: Task #1024 : add a message Task #1024 - Comptabiltié analytique : table activité lors confirmation, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 26/27: Task #1024 : add a message Task #1024 - Comptabiltié analytique : table activité lors confirmation, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 15/27: add script for table Distribution keys, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 19/27: fix several bugs : when adding new keys or new rows in a key Task #1021 - Comptabilité analytique : clef de répartition : bouton ajout, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 25/27: Task #1029: PRINTBAL : année précédente dans une autre couleur Task #1029 - PRINTBAL : année précédente dans une autre couleur,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 18/27: Allow to display table without button, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 22/27: Ajout fonction pour calculer pourcentage répartition clef, Dany De Bontridder, 2014/10/02
- [Noalyss-commit] [noalyss] 23/27: New Version of prototype.js, Dany De Bontridder, 2014/10/02