Utilisation du style liste_total pour les totaux.
This commit is contained in:
parent
459e1a60c2
commit
02591ee6dc
@ -129,6 +129,7 @@ if ($result) {
|
|||||||
} else {
|
} else {
|
||||||
dolibarr_print_error($db);
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ajoute paiements anciennes version non liés par paiement_facture
|
// Ajoute paiements anciennes version non liés par paiement_facture
|
||||||
if ($modecompta != 'CREANCES-DETTES') {
|
if ($modecompta != 'CREANCES-DETTES') {
|
||||||
$sql = "SELECT 'Autres' as nom, '0' as idp, sum(p.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm";
|
$sql = "SELECT 'Autres' as nom, '0' as idp, sum(p.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm";
|
||||||
@ -145,7 +146,6 @@ if ($modecompta != 'CREANCES-DETTES') {
|
|||||||
if ($result) {
|
if ($result) {
|
||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$var=true;
|
|
||||||
if ($num) {
|
if ($num) {
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -376,21 +376,32 @@ div.titre {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
tr.liste_titre {
|
tr.liste_titre {
|
||||||
background: #cacaca;
|
background: #cacaca;
|
||||||
border: 1px solid #000000;
|
border: 1px solid #000000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap }
|
white-space: nowrap
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.liste_total {
|
||||||
|
background: #F0F0F0;
|
||||||
|
font-weight: bold;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-top: 1px solid #888888;
|
||||||
|
}
|
||||||
|
|
||||||
tr.pair {
|
tr.pair {
|
||||||
background: #dfdfdf;
|
background: #dfdfdf;
|
||||||
border-bottom: 1px solid #000000;
|
border-bottom: 1px solid #000000;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
tr.impair {
|
tr.impair {
|
||||||
background: #dfdfdf;
|
background: #dfdfdf;
|
||||||
border-bottom: 1px solid #000000;
|
border-bottom: 1px solid #000000;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -376,52 +376,60 @@ div.titre {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #336666;
|
color: #336666;
|
||||||
text-decoration: none }
|
text-decoration: none }
|
||||||
/*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
tr.liste_titre {
|
|
||||||
background: #b3cccc;
|
|
||||||
font-family: Helvetica, Verdana;
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-weight: bold;
|
|
||||||
border: 1px solid #8CACBB;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr.pair {
|
|
||||||
background: #b3cccc;
|
|
||||||
font-family: Helvetica, Verdana;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr.impair {
|
|
||||||
background: #cceeee;
|
|
||||||
font-family: Helvetica, Verdana;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
tr.box_titre {
|
tr.liste_titre {
|
||||||
font-family: Helvetica, Verdana;
|
background: #b3cccc;
|
||||||
font-size: 0.9em;
|
font-family: Helvetica, Verdana;
|
||||||
font-weight: bold;
|
font-size: 0.9em;
|
||||||
}
|
font-weight: bold;
|
||||||
|
border: 1px solid #8CACBB;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
tr.box_pair {
|
tr.liste_total {
|
||||||
background: #b3cccc;
|
background: #F0F0F0;
|
||||||
font-size: 0.8em;
|
font-weight: bold;
|
||||||
}
|
white-space: nowrap;
|
||||||
|
border-top: 1px solid #888888;
|
||||||
|
}
|
||||||
|
|
||||||
tr.box_impair {
|
tr.pair {
|
||||||
background: #cceeee;
|
background: #b3cccc;
|
||||||
font-size: 0.8em;
|
font-family: Helvetica, Verdana;
|
||||||
}
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
tr.fiche {
|
tr.impair {
|
||||||
font-size: 0.6em;
|
background: #cceeee;
|
||||||
}
|
font-family: Helvetica, Verdana;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
tr.box_titre {
|
||||||
|
font-family: Helvetica, Verdana;
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.box_pair {
|
||||||
|
background: #b3cccc;
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.box_impair {
|
||||||
|
background: #cceeee;
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.fiche {
|
||||||
|
font-size: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
@ -537,6 +537,13 @@ border-bottom: 1px solid #FFFFFF;
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.liste_total {
|
||||||
|
background: #F0F0F0;
|
||||||
|
font-weight: bold;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-top: 1px solid #888888;
|
||||||
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: #7699A9;
|
background: #7699A9;
|
||||||
color: #334444;
|
color: #334444;
|
||||||
|
|||||||
@ -587,37 +587,46 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
* ???
|
* ???
|
||||||
*/
|
*/
|
||||||
div.titre {
|
div.titre {
|
||||||
font: helvetica, verdana, arial, sans-serif;
|
font: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #777799;
|
color: #777799;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
tr.liste_titre {
|
tr.liste_titre {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font: helvetica, verdana, arial, sans-serif;
|
font: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.liste_total {
|
||||||
|
background: #F0F0F0;
|
||||||
|
font-weight: bold;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-top: 1px solid #888888;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #777799;
|
background: #777799;
|
||||||
font: helvetica, verdana, arial, sans-serif;
|
font: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -572,38 +572,45 @@ div.titre {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
tr.liste_titre {
|
tr.liste_titre {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
|
|
||||||
|
font: helvetica, verdana, arial, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
border-left: 1px solid #FFFFFF;
|
||||||
|
border-right: 1px solid #FFFFFF;
|
||||||
|
border-top: 1px solid #FFFFFF;
|
||||||
|
border-bottom: 1px solid #FFFFFF;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 1.0em;
|
||||||
|
}
|
||||||
|
|
||||||
font: helvetica, verdana, arial, sans-serif;
|
tr.liste_total {
|
||||||
font-weight: bold;
|
background: #F0F0F0;
|
||||||
border-left: 1px solid #FFFFFF;
|
font-weight: bold;
|
||||||
border-right: 1px solid #FFFFFF;
|
white-space: nowrap;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #888888;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 1.0em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: #BBBB88;
|
background: #BBBB88;
|
||||||
font: helvetica, verdana, arial, sans-serif;
|
font: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-left: 1px solid #FFFFFF;
|
border-left: 1px solid #FFFFFF;
|
||||||
border-right: 1px solid #FFFFFF;
|
border-right: 1px solid #FFFFFF;
|
||||||
border-top: 1px solid #FFFFFF;
|
border-top: 1px solid #FFFFFF;
|
||||||
border-bottom: 1px solid #FFFFFF;
|
border-bottom: 1px solid #FFFFFF;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.pair {
|
tr.pair {
|
||||||
background: #eeeecc;
|
background: #eeeecc;
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
}
|
}
|
||||||
tr.impair {
|
tr.impair {
|
||||||
background: #dcdcb3;
|
background: #dcdcb3;
|
||||||
font-size: 1.0em;
|
font-size: 1.0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user