Trad: Et de la traduction...
This commit is contained in:
parent
8fd051ce79
commit
dc0c8c517b
@ -43,7 +43,7 @@ if ($user->societe_id > 0)
|
|||||||
|
|
||||||
$commande = new CommandeFournisseur($db);
|
$commande = new CommandeFournisseur($db);
|
||||||
|
|
||||||
print_barre_liste("Commandes fournisseurs", $page, "index.php", "", $sortfield, $sortorder, '', $num);
|
print_barre_liste($langs->trans("SuppliersOrders"), $page, "index.php", "", $sortfield, $sortorder, '', $num);
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr><td width="30%">';
|
print '<tr><td width="30%">';
|
||||||
@ -66,7 +66,7 @@ if ($result)
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
print '<table class="liste" width="100%">';
|
print '<table class="liste" width="100%">';
|
||||||
print '<tr class="liste_titre"><td>Statut</td><td align="center">Nb</td><td> </td>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("Status").'</td><td align="center">'.$langs->trans("Nb").'</td><td> </td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
$var=True;
|
$var=True;
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ if ($result)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $db->error() . ' ' . $sql;
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</td><td> </td>';
|
print '</td><td> </td>';
|
||||||
|
|||||||
@ -102,7 +102,8 @@ if ($result)
|
|||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
print_barre_liste("Commandes fournisseurs", $page, "liste.php", "", $sortfield, $sortorder, '', $num);
|
$langs->load("orders");
|
||||||
|
print_barre_liste($langs->trans("SuppliersOrders"), $page, "liste.php", "", $sortfield, $sortorder, '', $num);
|
||||||
if ($sortorder == "DESC")
|
if ($sortorder == "DESC")
|
||||||
{
|
{
|
||||||
$sortorder="ASC";
|
$sortorder="ASC";
|
||||||
@ -136,8 +137,8 @@ if ($result)
|
|||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print '<td><img src="statut'.$obj->fk_statut.'.png">';
|
print '<td><img src="statut'.$obj->fk_statut.'.png">';
|
||||||
print ' <a href="'.DOL_URL_ROOT.'/fourn/commande/fiche.php?id='.$obj->rowid.'">'.$obj->ref.'</a></td>'."\n";
|
print ' <a href="'.DOL_URL_ROOT.'/fourn/commande/fiche.php?id='.$obj->rowid.'">'.$obj->ref.'</a></td>'."\n";
|
||||||
print '<td><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$obj->idp.'">'.img_file().'</a>';
|
print '<td><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$obj->idp.'">'.img_object($langs->trans("ShowCompany"),"company").' ';
|
||||||
print ' <a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td>'."\n";
|
print $obj->nom.'</a></td>'."\n";
|
||||||
|
|
||||||
print "<td align=\"right\" width=\"100\">";
|
print "<td align=\"right\" width=\"100\">";
|
||||||
if ($obj->dc)
|
if ($obj->dc)
|
||||||
@ -157,7 +158,7 @@ if ($result)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $db->error() . ' ' . $sql;
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
@ -200,12 +200,12 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
|
|||||||
$fac_ori = new FactureFourn($db);
|
$fac_ori = new FactureFourn($db);
|
||||||
$fac_ori->fetch($_GET["facid"]);
|
$fac_ori->fetch($_GET["facid"]);
|
||||||
}
|
}
|
||||||
print_titre("Saisir une facture fournisseur");
|
print_titre($langs->trans("NewBill"));
|
||||||
|
|
||||||
print '<form action="fiche.php" method="post">';
|
print '<form action="fiche.php" method="post">';
|
||||||
print '<input type="hidden" name="action" value="add">';
|
print '<input type="hidden" name="action" value="add">';
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr><td>Société</td>';
|
print '<tr><td>'.$langs->trans("Company").'</td>';
|
||||||
|
|
||||||
print '<td><select name="socidp">';
|
print '<td><select name="socidp">';
|
||||||
|
|
||||||
@ -270,7 +270,7 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
|
|||||||
{
|
{
|
||||||
$value_qty = "1";
|
$value_qty = "1";
|
||||||
}
|
}
|
||||||
print '<tr><td>Ligne '.$i.'</td>';
|
print '<tr><td>'.$i.'</td>';
|
||||||
print '<td><input size="50" name="label'.$i.'" value="'.$value_label.'" type="text"></td>';
|
print '<td><input size="50" name="label'.$i.'" value="'.$value_label.'" type="text"></td>';
|
||||||
print '<td align="center"><input type="text" size="8" name="amount'.$i.'" value="'.$value_pu.'"></td>';
|
print '<td align="center"><input type="text" size="8" name="amount'.$i.'" value="'.$value_pu.'"></td>';
|
||||||
print '<td align="center"><input type="text" size="3" name="qty'.$i.'" value="'.$value_qty.'"></td><td align="center">';
|
print '<td align="center"><input type="text" size="3" name="qty'.$i.'" value="'.$value_qty.'"></td><td align="center">';
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
OrdersArea=Orders area
|
OrdersArea=Orders area
|
||||||
Order=Order
|
Order=Order
|
||||||
Orders=Orders
|
Orders=Orders
|
||||||
|
SupplierOrder=Supplier order
|
||||||
|
SuppliersOrders=Suppliers' orders
|
||||||
OrdersToValid=Orders to valid
|
OrdersToValid=Orders to valid
|
||||||
OrdersToBill=Orders to bill
|
OrdersToBill=Orders to bill
|
||||||
OrdersInProcess=Orders in process
|
OrdersInProcess=Orders in process
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
OrdersArea=Espace commandes
|
OrdersArea=Espace commandes
|
||||||
Order=Commande
|
Order=Commande
|
||||||
Orders=Commandes
|
Orders=Commandes
|
||||||
|
SupplierOrder=Commande fournisseur
|
||||||
|
SuppliersOrders=Commandes fournisseurs
|
||||||
OrdersToValid=Commandes à valider
|
OrdersToValid=Commandes à valider
|
||||||
OrdersToBill=Commandes à facturer
|
OrdersToBill=Commandes à facturer
|
||||||
OrdersInProcess=Commandes en traitement
|
OrdersInProcess=Commandes en traitement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user