Debug v18
This commit is contained in:
parent
aea1f60c67
commit
2ebfb18809
@ -272,9 +272,10 @@ $object_label = $langs->trans("ObjectsRef");
|
||||
if ($object->nature == 2 || $object->nature == 3) $object_label = $langs->trans("InvoiceRef");
|
||||
if ($object->nature == 5) $object_label = $langs->trans("ExpenseReportRef");
|
||||
|
||||
/*
|
||||
* Show result array
|
||||
*/
|
||||
|
||||
// Show result array
|
||||
$i = 0;
|
||||
|
||||
print '<br>';
|
||||
|
||||
print '<div class="div-table-responsive">';
|
||||
@ -304,11 +305,21 @@ if (is_array($journal_data) && !empty($journal_data)) {
|
||||
print '<td class="right nowraponall">' . $line['debit'] . '</td>';
|
||||
print '<td class="right nowraponall">' . $line['credit'] . '</td>';
|
||||
print '</tr>';
|
||||
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$i) {
|
||||
$colspan = 7;
|
||||
if ($object->nature == 4) {
|
||||
$colspan++;
|
||||
}
|
||||
print '<tr class="oddeven"><td colspan="'.$colspan.'"><span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span></td></tr>';
|
||||
}
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
|
||||
@ -394,7 +394,7 @@ if ($resql) {
|
||||
if ($othernb) {
|
||||
print '<tr class="oddeven">';
|
||||
print '<td class="nowrap">';
|
||||
print '<span class="opacitymedium">...</span>';
|
||||
print '<span class="opacitymedium">'.$langs->trans("More").'...</span>';
|
||||
print '</td>';
|
||||
print '<td class="nowrap right">';
|
||||
print $othernb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user