/[dolibarr]/dolibarr/htdocs/fourn/paiement/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/fourn/paiement/fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by marc_ocebo, Thu Nov 3 16:23:13 2005 UTC revision 1.4 by eldy, Thu Nov 10 21:04:46 2005 UTC
# Line 18  Line 18 
18   *   *
19   * $Id$   * $Id$
20   * $Source$   * $Source$
  *  
21   */   */
22    
23  /**  /**
# Line 182  if ($resql) Line 181  if ($resql)
181          $total = 0;          $total = 0;
182          print '<br><table class="noborder" width="100%">';          print '<br><table class="noborder" width="100%">';
183          print '<tr class="liste_titre">';          print '<tr class="liste_titre">';
184          print '<td>'.$langs->trans('Bill').'</td><td>'.$langs->trans('Company').'</td>';          print '<td width="80">'.$langs->trans('Bill').'</td>';
185          print '<td align="right">'.$langs->trans('AmountTTC').'</td><td align="center">'.$langs->trans('Status').'</td>';          print '<td width="80" align="center">'.$langs->trans('Status').'</td>';
186            print '<td>'.$langs->trans('Company').'</td>';
187            print '<td align="right">'.$langs->trans('AmountTTC').'</td>';
188          print "</tr>\n";          print "</tr>\n";
189    
190          if ($num > 0)          if ($num > 0)
191          {          {
192                  $var=True;                  $var=True;
193    
194            $fac_static=new FactureFournisseur($db);
195                  while ($i < $num)                  while ($i < $num)
196                  {                  {
197                          $objp = $db->fetch_object($resql);                          $objp = $db->fetch_object($resql);
# Line 198  if ($resql) Line 200  if ($resql)
200                          print '<td><a href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$objp->facid.'">'.img_object($langs->trans('ShowBill'),'bill').' ';                          print '<td><a href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$objp->facid.'">'.img_object($langs->trans('ShowBill'),'bill').' ';
201                          print $objp->facnumber;                          print $objp->facnumber;
202                          print "</a></td>\n";                          print "</a></td>\n";
203                            print '<td align="center">'.$fac_static->LibStatut($objp->paye,$objp->fk_statut).'</td>';
204                          print '<td><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$objp->idp.'">'.img_object($langs->trans('ShowCompany'),'company').' '.$objp->nom.'</a></td>';                          print '<td><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$objp->idp.'">'.img_object($langs->trans('ShowCompany'),'company').' '.$objp->nom.'</a></td>';
205                          print '<td align="right">'.price($objp->amount).'</td>';                          print '<td align="right">'.price($objp->amount).'</td>';
                         $fac=new FactureFournisseur($db);  
                         print '<td align="center">'.$fac->LibStatut($objp->paye,$objp->fk_statut).'</td>';  
206                          print "</tr>\n";                          print "</tr>\n";
207                          if ($objp->paye == 1)                          if ($objp->paye == 1)
208                          {                          {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26