1 |
<?php |
<?php |
2 |
/* Copyright (C) 2005 Marc Barilley / Océbo <marc@ocebo.com> |
/* Copyright (C) 2005 Marc Barilley / Océbo <marc@ocebo.com> |
3 |
|
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net> |
4 |
* |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
501 |
print '<tr><td>fk_paiementfourn</td><td>fk_facturefourn</td><td>'.$langs->trans('Amount').'</td><td> </td></tr>'; |
print '<tr><td>fk_paiementfourn</td><td>fk_facturefourn</td><td>'.$langs->trans('Amount').'</td><td> </td></tr>'; |
502 |
} |
} |
503 |
|
|
504 |
print '<tr '.$tab[$var].'>'; |
print '<tr '.$bc[$var].'>'; |
505 |
print '<td>'.$select_obj->rowid.'</td><td>'.$select_obj->fk_facture_fourn.'</td><td>'.$select_obj->amount.'</td>'; |
print '<td>'.$select_obj->rowid.'</td><td>'.$select_obj->fk_facture_fourn.'</td><td>'.$select_obj->amount.'</td>'; |
506 |
|
|
507 |
$insert_sql = 'INSERT INTO '.MAIN_DB_PREFIX.'paiementfourn_facturefourn SET '; |
$insert_sql = 'INSERT INTO '.MAIN_DB_PREFIX.'paiementfourn_facturefourn SET '; |
535 |
} |
} |
536 |
if (! $nb && ! $error) |
if (! $nb && ! $error) |
537 |
{ |
{ |
538 |
print '<tr><td colspan="3" nowrap="nowrap"><b>'.$langs->trans('SuppliersInvoices').'</b></td><td align="right">'.$langs->trans("Done").'</td></tr>'; |
print '<tr><td colspan="3" nowrap="nowrap"><b>'.$langs->trans('SuppliersInvoices').'</b></td><td align="right">'.$langs->trans("AlreadyDone").'</td></tr>'; |
539 |
} |
} |
540 |
if ($error) |
if ($error) |
541 |
{ |
{ |