fix minor bug + doc

This commit is contained in:
Dany De Bontridder 2017-09-11 23:03:14 +02:00
parent 351a4ba750
commit 543f08fd1a
5 changed files with 22 additions and 11 deletions

View file

@ -699,7 +699,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see # directories that contain example code fragments that are included (see
# the \include command). # the \include command).
EXAMPLE_PATH = EXAMPLE_PATH = ../../scenario
# If the value of the EXAMPLE_PATH tag contains directories, you can use the # 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 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp

View file

@ -1318,6 +1318,12 @@ a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover {
background-color:#00008B; background-color:#00008B;
color:#FFFFFF; color:#FFFFFF;
} }
img:hover {
cursor:inherit ;
background-color:white;
color: transparent;
}
#dossier { #dossier {
display:inline; display:inline;
float:left; float:left;

View file

@ -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']); $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 = ''; $let = '';
$html_let = ""; $html_let = "";
if ($op['letter'] != -1) if ($op['letter'] != -1)
{ {
$let = strtoupper(base_convert($op['letter'], 10, 36)); $let = strtoupper(base_convert($op['letter'], 10, 36));
$html_let = HtmlInput::show_reconcile($from_div, $let); $html_let = HtmlInput::show_reconcile($from_div, $let);
} }
$tmp_diff=bcsub($op['deb_montant'],$op['cred_montant']); $tmp_diff=bcsub($op['deb_montant'],$op['cred_montant']);
/* /*
* reset prog. balance to zero if we change of exercice * reset prog. balance to zero if we change of exercice
@ -1408,7 +1408,7 @@ class Fiche
} }
} }
$progress=bcadd($progress,$tmp_diff); $progress=bcadd($progress,$tmp_diff);
$side="&nbsp;".$this->get_amount_side($progress); $side="&nbsp;".$this->get_amount_side($progress);
$sum_cred=bcadd($sum_cred,$op['cred_montant']); $sum_cred=bcadd($sum_cred,$op['cred_montant']);
$sum_deb=bcadd($sum_deb,$op['deb_montant']); $sum_deb=bcadd($sum_deb,$op['deb_montant']);
if ($idx%2 == 0) $class='class="odd"'; else $class=' class="even"'; if ($idx%2 == 0) $class='class="odd"'; else $class=' class="even"';

View file

@ -56,6 +56,8 @@
@endcode @endcode
* @see ManageTable.js * @see ManageTable.js
*/ */
///@example test_manage_table_sql.php
/// For ajax @example ajax_manage_table_sql.php
class Manage_Table_SQL class Manage_Table_SQL
{ {

View file

@ -1,13 +1,16 @@
alter table action_gestion drop ag_ref_ag_id; alter table action_gestion drop ag_ref_ag_id;
--- repository insert into theme (the_name,the_filestyle) values ('Classic 692','style-r692.css'); --- 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; 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 NOT NULL;
ALTER TABLE tmp_pcmn ALTER COLUMN id SET DEFAULT nextval('tmp_pcmn_id_seq'::regclass); 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)'; 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'); 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; alter table jnt_letter drop jl_amount_deb;