Task #2189: Hisotrique poste : intitulé d'opération

et libellé fiche séparés.
This commit is contained in:
sparkyx 2022-09-01 23:32:03 +02:00
parent 70f91d472c
commit a1e367cf05
3 changed files with 11 additions and 7 deletions

View file

@ -483,9 +483,9 @@ a.detail
{
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
font-family: 'openSansRegular';
/*! text-decoration: none; */
text-decoration: underline;
display: block;
/*! color: #EBA308; */
// color: #eb2208;
font-weight: normal;
background-color: transparent;
}
@ -808,7 +808,7 @@ a#anchorbutton, .button, a.button,div.content a.button {
font-weight: bold;
text-decoration:none;
font-family: arial,verdana,sans-serif,helvetica;
background-image: url("image/bg-submit2.gif");
background-image: url("../image/bg-submit2.gif");
background-repeat: repeat-x;
background-position: left;
border-color: #0000FF;
@ -2360,6 +2360,8 @@ td.selectedmenu {
.visible_gt800 {
}
.v-large { display: none;}
.field_follow_up
{
margin-top:1px;
@ -2387,6 +2389,7 @@ td.selectedmenu {
}
/**
* go_up
*/
@ -2487,6 +2490,7 @@ div.content a.arrow {
@media (min-width: 992px) {
.label_item {
}
.v-large { display: inline;}
}
/* XL */

View file

@ -463,7 +463,7 @@ class Acc_Account_Ledger
echo "<TR $class name=\"tr_" . $let . "_" . $from_div . "\">" .
"<TD>".smaller_date(format_date($op['j_date']))."</TD>".
td(h($op['jr_pj_number'])).
"<TD>".h($op['j_qcode'])."</TD>".
"<TD>".\HtmlInput::card_detail($op['j_qcode'])."</TD>".
"<TD>".$vw_operation."</TD>".
"<TD>".$tiers."</TD>".
"<TD>".h($op['description']).$op_analytic."</TD>".

View file

@ -565,11 +565,11 @@ class HtmlInput
static function card_detail($p_qcode, $pname='', $p_style="",
$p_nohistory=false)
{
//if ($pname=='')$pname=$p_qcode;
if ($pname !=='') {$pname='<span class="v-large">('.$pname.')</span>';}
$r="";
$histo=($p_nohistory==true)?' ,nohistory:1':"";
$r.=sprintf('<a href="javascript:void(0)" %s onclick="fill_ipopcard({qcode:\'%s\' %s})">%s [%s]</a>',
$p_style, $p_qcode, $histo, $pname, $p_qcode);
$r.=sprintf('<a href="javascript:void(0)" %s class="detail" onclick="fill_ipopcard({qcode:\'%s\' %s})">%s %s</a>',
$p_style, $p_qcode, $histo, $p_qcode,$pname);
return $r;
}