Debug v18

This commit is contained in:
Laurent Destailleur 2023-04-10 02:05:26 +02:00
parent 2ebfb18809
commit 8b34b3eb18
7 changed files with 33 additions and 7 deletions

View File

@ -1211,6 +1211,8 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print '<td class="right nowraponall amount">'.($mt < 0 ? price(-$mt) : '')."</td>";
print "</tr>";
$i++;
}
}
@ -1336,6 +1338,8 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print "</tr>";
$i++;
}
}
} else { // Waiting account
@ -1373,11 +1377,18 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt < 0 ? price(-$mt) : '')."</td>";
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print "</tr>";
$i++;
}
}
}
}
if (!$i) {
$colspan = 8;
print '<tr class="oddeven"><td colspan="'.$colspan.'"><span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span></td></tr>';
}
print "</table>";
print '</div>';

View File

@ -615,6 +615,8 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print '<td class="right nowraponall amount">'.($mt < 0 ? price(-$mt) : '')."</td>";
print "</tr>";
$i++;
}
}
@ -649,6 +651,8 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt < 0 ? price(-$mt) : '')."</td>";
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print "</tr>";
$i++;
}
// VAT
@ -685,11 +689,18 @@ if (empty($action) || $action == 'view') {
print '<td class="right nowraponall amount">'.($mt >= 0 ? price($mt) : '')."</td>";
print '<td class="right nowraponall amount">'.($mt < 0 ? price(-$mt) : '')."</td>";
print "</tr>";
$i++;
}
}
}
}
if (!$i) {
$colspan = 7;
print '<tr class="oddeven"><td colspan="'.$colspan.'"><span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span></td></tr>';
}
print "</table>";
print '</div>';

View File

@ -537,7 +537,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
$openedDashBoard .= '<div class="info-box-lines">'."\n";
foreach ($boards as $board) {
$openedDashBoard .= '<div class="info-box-line">';
$openedDashBoard .= '<div class="info-box-line spanoverflow nowrap">';
if (!empty($board->labelShort)) {
$infoName = '<span class="marginrightonly" title="'.$board->label.'">'.$board->labelShort.'</span>';

View File

@ -1317,7 +1317,7 @@ select.flat.selectlimit {
}
/* using a tdoverflowxxx make the min-width not working */
.tdnooverflowimp {
text-overflow: none;
text-overflow: unset;
}
.tdoverflow {
max-width: 0;

View File

@ -135,7 +135,8 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
}
a.info-box-text.info-box-text-a {
display: table-cell;
/* display: table-cell; */
display: contents;
}
a.info-box-text-a i.fa.fa-exclamation-triangle {
font-size: 0.9em;

View File

@ -136,7 +136,8 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
}
a.info-box-text.info-box-text-a {
display: table-cell;
/* display: table-cell; */
display: contents;
}
a.info-box-text-a i.fa.fa-exclamation-triangle {
font-size: 0.9em;
@ -197,7 +198,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
overflow: hidden;
float: left;
/* height: 90px; */
width: 90px;
width: 86px;
text-align: center;
font-size: 45px;
line-height: 90px;
@ -334,7 +335,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
width: calc(100% - 20px);
}
.info-box-text{
font-size: 0.92em;
font-size: 0.90em;
}
.info-box-text:first-letter{text-transform: uppercase}
a.info-box-text{ text-decoration: none;}

View File

@ -1553,7 +1553,7 @@ select.flat.selectlimit {
}
/* using a tdoverflowxxx make the min-width not working */
.tdnooverflowimp {
text-overflow: none;
text-overflow: unset;
}
.tdoverflow {
max-width: 0;
@ -3431,7 +3431,9 @@ a.vsmenu.addbookmarkpicto {
}
div.blockvmenufirst {
padding-top: 10px;
<?php if (getDolGlobalString('MAIN_USE_TOP_MENU_SEARCH_DROPDOWN')) { ?>
border-top: 1px solid #e0e0e0;
<?php } ?>
}
div.blockvmenusearch, div.blockvmenubookmarks
{