Fix look and feel v11

This commit is contained in:
Laurent Destailleur 2020-01-16 18:09:29 +01:00
parent 76e7c147b3
commit 1d058e8707

View File

@ -606,7 +606,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
$multicurrency_remaintopay = price2num($invoice->multicurrency_total_ttc - $multicurrency_payment - $multicurrency_creditnotes - $multicurrency_deposits, 'MT'); $multicurrency_remaintopay = price2num($invoice->multicurrency_total_ttc - $multicurrency_payment - $multicurrency_creditnotes - $multicurrency_deposits, 'MT');
} }
print '<tr class="oddeven">'; print '<tr class="oddeven'.(($invoice->id == $facid) ? ' highlight' : '').'">';
// Ref // Ref
print '<td class="nowraponall">'; print '<td class="nowraponall">';
@ -619,7 +619,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
// Date // Date
if ($objp->df > 0) if ($objp->df > 0)
{ {
print '<td class="center">'; print '<td class="center nowraponall">';
print dol_print_date($db->jdate($objp->df), 'day').'</td>'; print dol_print_date($db->jdate($objp->df), 'day').'</td>';
} }
else else
@ -630,7 +630,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
// Date Max Payment // Date Max Payment
if ($objp->dlr > 0) if ($objp->dlr > 0)
{ {
print '<td class="center">'; print '<td class="center nowraponall">';
print dol_print_date($db->jdate($objp->dlr), 'day'); print dol_print_date($db->jdate($objp->dlr), 'day');
if ($invoice->hasDelay()) if ($invoice->hasDelay())
@ -973,7 +973,7 @@ if (empty($action) || $action == 'list')
{ {
$objp = $db->fetch_object($resql); $objp = $db->fetch_object($resql);
print '<tr class="oddeven">'; print '<tr class="oddeven'.(($invoice->id == $objp->fk_facture) ? ' highlight' : '').'">';
// Ref payment // Ref payment
print '<td class="nowrap"><a href="'.DOL_URL_ROOT.'/fourn/paiement/card.php?id='.$objp->pid.'">'.img_object($langs->trans('ShowPayment'), 'payment').' '.$objp->pid.'</a></td>'; print '<td class="nowrap"><a href="'.DOL_URL_ROOT.'/fourn/paiement/card.php?id='.$objp->pid.'">'.img_object($langs->trans('ShowPayment'), 'payment').' '.$objp->pid.'</a></td>';