Skip to content

Commit

Permalink
Error statut image + not translated strings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgdf committed May 1, 2013
1 parent 95f63a8 commit 97478cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/compta/prelevement/bons.php
Expand Up @@ -27,7 +27,7 @@
require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';

$langs->load("widthdrawals");
$langs->load("withdrawals");
$langs->load("categories");

// Security check
Expand Down
6 changes: 4 additions & 2 deletions htdocs/compta/prelevement/rejets.php
Expand Up @@ -26,6 +26,7 @@

require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';

$langs->load("withdrawals");
Expand Down Expand Up @@ -56,6 +57,7 @@
if ($sortfield == "") $sortfield="p.datec";

$rej = new RejetPrelevement($db, $user);
$ligne = new LignePrelevement($db);

/*
* Liste des factures
Expand Down Expand Up @@ -84,7 +86,7 @@
print"\n<!-- debut table -->\n";
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre">';
print_liste_field_titre($langs->trans("Nb"),"rejets.php","p.ref",'',$urladd);
print_liste_field_titre($langs->trans("Line"),"rejets.php","p.ref",'',$urladd);
print_liste_field_titre($langs->trans("ThirdParty"),"rejets.php","s.nom",'',$urladd);
print_liste_field_titre($langs->trans("Reason"),"rejets.php","pr.motif","",$urladd);
print '</tr>';
Expand All @@ -98,7 +100,7 @@
$obj = $db->fetch_object($result);

print "<tr $bc[$var]><td>";
print '<img border="0" src="./img/statut'.$obj->statut.'.png"></a>&nbsp;';
print $ligne->LibStatut($obj->statut,2).'&nbsp;';
print '<a href="'.DOL_URL_ROOT.'/compta/prelevement/ligne.php?id='.$obj->rowid.'">';

print substr('000000'.$obj->rowid, -6)."</a></td>";
Expand Down

0 comments on commit 97478cc

Please sign in to comment.