bugfix: #16565
This commit is contained in:
parent
918a89cb02
commit
c42da94226
@ -352,7 +352,7 @@ if (! $_GET['action'] && ! $_POST['action'])
|
|||||||
if (! $sortorder) $sortorder='DESC';
|
if (! $sortorder) $sortorder='DESC';
|
||||||
if (! $sortfield) $sortfield='p.datep';
|
if (! $sortfield) $sortfield='p.datep';
|
||||||
|
|
||||||
$sql = 'SELECT p.rowid, '.$db->pdate('p.datep').' as dp, p.amount';
|
$sql = 'SELECT p.rowid, '.$db->pdate('p.datep').' as dp, p.amount as pamount';
|
||||||
$sql .= ', f.amount, f.facnumber, s.nom';
|
$sql .= ', f.amount, f.facnumber, s.nom';
|
||||||
$sql .= ', f.rowid as facid, c.libelle as paiement_type, p.num_paiement';
|
$sql .= ', f.rowid as facid, c.libelle as paiement_type, p.num_paiement';
|
||||||
$sql .= ', ba.rowid as bid, ba.label';
|
$sql .= ', ba.rowid as bid, ba.label';
|
||||||
@ -430,7 +430,7 @@ if (! $_GET['action'] && ! $_POST['action'])
|
|||||||
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/account.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.dolibarr_trunc($objp->label,24).'</a>';
|
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/account.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.dolibarr_trunc($objp->label,24).'</a>';
|
||||||
else print ' ';
|
else print ' ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="right">'.price($objp->amount).'</td><td> </td>';
|
print '<td align="right">'.price($objp->pamount).'</td><td> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user