diff --git a/htdocs/compta/paiement/cheque/card.php b/htdocs/compta/paiement/cheque/card.php index ba7272ef59e..e53aec7bfea 100644 --- a/htdocs/compta/paiement/cheque/card.php +++ b/htdocs/compta/paiement/cheque/card.php @@ -577,6 +577,7 @@ else print ''; // External ref + /* Ext ref are not visible field on standard usage print ''; print ''; print ''; - + */ + print ''; @@ -622,7 +624,7 @@ else print '
'; @@ -601,7 +602,8 @@ else print '
'.$langs->trans('Account').''; print $accountstatic->getNomUrl(1); print '

'; - // Liste des cheques + // List of cheques $sql = "SELECT b.rowid, b.amount, b.num_chq, b.emetteur,"; $sql.= " b.dateo as date, b.datec as datec, b.banque,"; $sql.= " p.rowid as pid, ba.rowid as bid, p.statut"; @@ -632,7 +634,7 @@ else $sql.= " WHERE ba.entity IN (".getEntity('bank_account', 1).")"; $sql.= " AND b.fk_type= 'CHQ'"; $sql.= " AND b.fk_bordereau = ".$object->id; - $sql.= " ORDER BY $sortfield $sortorder"; + $sql.= $db->order($sortfield, $sortorder); $resql = $db->query($sql); if ($resql) diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 70f8a980495..7410d86fada 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -746,3 +746,4 @@ ShortFriday=F ShortSaturday=S ShortSunday=S SelectMailModel=Select email template +SetRef=Set ref \ No newline at end of file