[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 44/219: fix minor bug + doc
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 44/219: fix minor bug + doc |
Date: |
Mon, 18 Dec 2017 13:22:36 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 543f08fd1a7bfc50f035ca037fc0387b306fbb4e
Author: Dany De Bontridder <address@hidden>
Date: Mon Sep 11 23:03:14 2017 +0200
fix minor bug + doc
---
doc/developper/Doxyfile | 2 +-
html/style-classic.css | 6 ++++++
include/class/fiche.class.php | 16 ++++++++--------
include/lib/manage_table_sql.class.php | 2 ++
sql/upgrade.sql | 7 +++++--
5 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/doc/developper/Doxyfile b/doc/developper/Doxyfile
index b8c301a..d566823 100644
--- a/doc/developper/Doxyfile
+++ b/doc/developper/Doxyfile
@@ -699,7 +699,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH =
+EXAMPLE_PATH = ../../scenario
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
diff --git a/html/style-classic.css b/html/style-classic.css
index 52708f6..e1c7c41 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -1318,6 +1318,12 @@ a.nav:hover,div.content a.nav:hover,div.redcontent
a.nav:hover {
background-color:#00008B;
color:#FFFFFF;
}
+img:hover {
+ cursor:inherit ;
+ background-color:white;
+ color: transparent;
+
+ }
#dossier {
display:inline;
float:left;
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 5f0275b..9848dc9 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -1374,13 +1374,13 @@ class Fiche
{
$vw_operation = sprintf('<A class="detail"
style="text-decoration:underline;color:red"
HREF="javascript:modifyOperation(\'%s\',\'%s\')" >%s</A>', $op['jr_id'],
dossier::id(), $op['jr_internal']);
$let = '';
- $html_let = "";
- if ($op['letter'] != -1)
- {
- $let = strtoupper(base_convert($op['letter'],
10, 36));
- $html_let =
HtmlInput::show_reconcile($from_div, $let);
- }
- $tmp_diff=bcsub($op['deb_montant'],$op['cred_montant']);
+ $html_let = "";
+ if ($op['letter'] != -1)
+ {
+ $let = strtoupper(base_convert($op['letter'], 10, 36));
+ $html_let = HtmlInput::show_reconcile($from_div, $let);
+ }
+ $tmp_diff=bcsub($op['deb_montant'],$op['cred_montant']);
/*
* reset prog. balance to zero if we change of exercice
@@ -1408,7 +1408,7 @@ class Fiche
}
}
$progress=bcadd($progress,$tmp_diff);
- $side=" ".$this->get_amount_side($progress);
+ $side=" ".$this->get_amount_side($progress);
$sum_cred=bcadd($sum_cred,$op['cred_montant']);
$sum_deb=bcadd($sum_deb,$op['deb_montant']);
if ($idx%2 == 0) $class='class="odd"'; else $class=' class="even"';
diff --git a/include/lib/manage_table_sql.class.php
b/include/lib/manage_table_sql.class.php
index 6b5ca58..4678b9e 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -56,6 +56,8 @@
@endcode
* @see ManageTable.js
*/
+///@example test_manage_table_sql.php
+/// For ajax @example ajax_manage_table_sql.php
class Manage_Table_SQL
{
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index b892036..81bbc0c 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -1,13 +1,16 @@
alter table action_gestion drop ag_ref_ag_id;
--- repository insert into theme (the_name,the_filestyle) values ('Classic
692','style-r692.css');
-ALTER TABLE tmp_pcmn ADD CONSTRAINT id_ux UNIQUE(id);
+create sequence tmp_pcmn_id_seq;
ALTER TABLE tmp_pcmn ADD COLUMN id bigint;
+update tmp_pcmn set id=nextval('tmp_pcmn_id_seq');
+
ALTER TABLE tmp_pcmn ALTER COLUMN id SET NOT NULL;
ALTER TABLE tmp_pcmn ALTER COLUMN id SET DEFAULT
nextval('tmp_pcmn_id_seq'::regclass);
+ALTER TABLE tmp_pcmn ADD CONSTRAINT id_ux UNIQUE(id);
COMMENT ON COLUMN tmp_pcmn.id IS 'allow to identify the row, it is unique and
not null (pseudo pk)';
insert into bilan (b_name,b_file_template,b_file_form,b_type) values
('ASBL','document/fr_be/bnb-asbl.rtf','document/fr_be/bnb-asbl.form','RTF');
-alter table jnt_letter drop jl_amount_deb;
\ No newline at end of file
+alter table jnt_letter drop jl_amount_deb;
- [Noalyss-commit] [noalyss] 19/219: Replace global $http by new httpInput() to make the test of scenario working, (continued)
- [Noalyss-commit] [noalyss] 19/219: Replace global $http by new httpInput() to make the test of scenario working, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 128/219: Esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 99/219: CSS : button border, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 108/219: task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 174/219: space, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 114/219: Change max article in STOCK INV, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 16/219: Update test with new architecture, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 173/219: Improve calc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 104/219: Réécriture de CFGPCMN pour utiliser ManageTable pas de delete proposé si compte utilisé, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 14/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 44/219: fix minor bug + doc,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 46/219: Manage_Table : Improve Javascript for adding / removing row of table, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 27/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Check with the view v_quant_detail and take into account the negative VAT, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 33/219: Task #0001324: Afficher la date (période) dans FSALDO, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 198/219: Task #001381 : reinitialize the search_form, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 154/219: Task #1440 CA - opération diverses inaccessibles Task #1370 les OD en comptabilité analytique - problème., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 209/219: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 186/219: Protect queryString with encodeURI, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 207/219: Task #1381 Change esthetic Search Filter, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 208/219: Fix search for reconcile, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 157/219: Fix issue with open_basedir, sometime set in the server config, Dany De Bontridder, 2017/12/18