Fix: utf-8
This commit is contained in:
parent
2303de3162
commit
ba610d29c7
@ -333,7 +333,7 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
|
|
||||||
if ($user->rights->fournisseur->lire)
|
if ($user->rights->fournisseur->lire)
|
||||||
{
|
{
|
||||||
// Titre liste des fournisseurs
|
// Suppliers list title
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
if ($product->isproduct()) $nblignefour=4;
|
if ($product->isproduct()) $nblignefour=4;
|
||||||
else $nblignefour=4;
|
else $nblignefour=4;
|
||||||
@ -346,7 +346,7 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Liste des fournisseurs
|
// Suppliers list
|
||||||
$sql = "SELECT s.nom, s.rowid as socid,";
|
$sql = "SELECT s.nom, s.rowid as socid,";
|
||||||
$sql.= " pf.ref_fourn,";
|
$sql.= " pf.ref_fourn,";
|
||||||
$sql.= " pfp.rowid, pfp.price, pfp.quantity, pfp.unitprice";
|
$sql.= " pfp.rowid, pfp.price, pfp.quantity, pfp.unitprice";
|
||||||
@ -375,25 +375,25 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print '<td><a href="../fourn/fiche.php?socid='.$objp->socid.'">'.img_object($langs->trans("ShowCompany"),'company').' '.$objp->nom.'</a></td>';
|
print '<td><a href="../fourn/fiche.php?socid='.$objp->socid.'">'.img_object($langs->trans("ShowCompany"),'company').' '.$objp->nom.'</a></td>';
|
||||||
|
|
||||||
// Fournisseur
|
// Supplier
|
||||||
print '<td align="left">'.$objp->ref_fourn.'</td>';
|
print '<td align="left">'.$objp->ref_fourn.'</td>';
|
||||||
|
|
||||||
// Quantit<EFBFBD>
|
// Quantity
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print $objp->quantity;
|
print $objp->quantity;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Prix quantit<69>
|
// Price quantity
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print $objp->price?price($objp->price):"";
|
print $objp->price?price($objp->price):"";
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Prix unitaire
|
// Unit price
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print $objp->unitprice? price($objp->unitprice) : ($objp->quantity?price($objp->price/$objp->quantity):" ");
|
print $objp->unitprice? price($objp->unitprice) : ($objp->quantity?price($objp->price/$objp->quantity):" ");
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Modifier-Supprimer
|
// Modify-Remove
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($user->rights->produit->creer || $user->rights->service->creer)
|
if ($user->rights->produit->creer || $user->rights->service->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user