Trad: Et encore des traductions
This commit is contained in:
parent
79c788d243
commit
326ea4a2f8
@ -10,6 +10,7 @@ DoPaiement=Do paiement
|
|||||||
BuildPDF=Build PDF
|
BuildPDF=Build PDF
|
||||||
RebuildPDF=Rebuild PDF
|
RebuildPDF=Rebuild PDF
|
||||||
VAT=VAT
|
VAT=VAT
|
||||||
|
VATRate=VAT Rate
|
||||||
Amount=Amount
|
Amount=Amount
|
||||||
BillStatusDraft=Draft (need to be validated)
|
BillStatusDraft=Draft (need to be validated)
|
||||||
BillStatusPayed=Payed
|
BillStatusPayed=Payed
|
||||||
|
|||||||
@ -98,3 +98,6 @@ ChartNotGenerated=Chart not generated
|
|||||||
Duration=Duration
|
Duration=Duration
|
||||||
Summary=Summary
|
Summary=Summary
|
||||||
NotYetAvailable=Not yet available
|
NotYetAvailable=Not yet available
|
||||||
|
Popularity=Popularity
|
||||||
|
Categories=Categories
|
||||||
|
Category=Categorie
|
||||||
|
|||||||
@ -3,6 +3,8 @@ Products=Products
|
|||||||
Services=Services
|
Services=Services
|
||||||
Product=Product
|
Product=Product
|
||||||
Service=Service
|
Service=Service
|
||||||
|
NewProduct=New product
|
||||||
|
NewService=New service
|
||||||
ProductsAndServices=Products and Services
|
ProductsAndServices=Products and Services
|
||||||
ProductsAndServicesOnSell=Products and Services on sell
|
ProductsAndServicesOnSell=Products and Services on sell
|
||||||
ProductsAndServicesNotOnSell=Products and Services out of sell
|
ProductsAndServicesNotOnSell=Products and Services out of sell
|
||||||
@ -13,3 +15,7 @@ ServicesNotOnSell=Services out of sell
|
|||||||
LastRecorded=Last products/services on sell recorded
|
LastRecorded=Last products/services on sell recorded
|
||||||
CardProduct0=Product card
|
CardProduct0=Product card
|
||||||
CardProduct1=Service card
|
CardProduct1=Service card
|
||||||
|
Stock=Stock
|
||||||
|
Stocks=Stocks
|
||||||
|
OnSell=On sell
|
||||||
|
NotOnSell=Out of Sell
|
||||||
@ -10,6 +10,7 @@ DoPaiement=Emettre paiement
|
|||||||
BuildPDF=Générer le PDF
|
BuildPDF=Générer le PDF
|
||||||
RebuildPDF=Regénérer le PDF
|
RebuildPDF=Regénérer le PDF
|
||||||
VAT=TVA
|
VAT=TVA
|
||||||
|
VATRate=Taux TVA
|
||||||
Amount=Montant
|
Amount=Montant
|
||||||
BillStatusDraft=Brouillon (à valider)
|
BillStatusDraft=Brouillon (à valider)
|
||||||
BillStatusPayed=Payée
|
BillStatusPayed=Payée
|
||||||
|
|||||||
@ -98,3 +98,6 @@ ChartNotGenerated=Graphique non g
|
|||||||
Duration=Durée
|
Duration=Durée
|
||||||
Summary=Résumé
|
Summary=Résumé
|
||||||
NotYetAvailable=Pas encore disponible
|
NotYetAvailable=Pas encore disponible
|
||||||
|
Popularity=Popularité
|
||||||
|
Categories=Categories
|
||||||
|
Category=Categorie
|
||||||
@ -3,6 +3,8 @@ Products=Produits
|
|||||||
Services=Services
|
Services=Services
|
||||||
Product=Produit
|
Product=Produit
|
||||||
Service=Service
|
Service=Service
|
||||||
|
NewProduct=Nouveau produit
|
||||||
|
NewService=Nouveau service
|
||||||
ProductsAndServices=Produits et Services
|
ProductsAndServices=Produits et Services
|
||||||
ProductsAndServicesOnSell=Produits et Services en vente
|
ProductsAndServicesOnSell=Produits et Services en vente
|
||||||
ProductsAndServicesNotOnSell=Produits et Services hors vente
|
ProductsAndServicesNotOnSell=Produits et Services hors vente
|
||||||
@ -13,3 +15,7 @@ ServicesNotOnSell=Services hors vente
|
|||||||
LastRecorded=Derniers produits/services en vente enregistrés
|
LastRecorded=Derniers produits/services en vente enregistrés
|
||||||
CardProduct0=Fiche produit
|
CardProduct0=Fiche produit
|
||||||
CardProduct1=Fiche service
|
CardProduct1=Fiche service
|
||||||
|
Stock=Stock
|
||||||
|
Stocks=Stocks
|
||||||
|
OnSell=En vente
|
||||||
|
NotOnSell=Hors vente
|
||||||
|
|||||||
@ -243,11 +243,14 @@ if ($_GET["action"] == 'create')
|
|||||||
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 '<input type="hidden" name="type" value="'.$_GET["type"].'">'."\n";
|
print '<input type="hidden" name="type" value="'.$_GET["type"].'">'."\n";
|
||||||
print '<div class="titre">Nouveau '.$types[$_GET["type"]].'</div><br>'."\n";
|
print '<div class="titre">';
|
||||||
|
if ($_GET["type"]==0) { print $langs->trans("NewProduct"); }
|
||||||
|
if ($_GET["type"]==1) { print $langs->trans("NewService"); }
|
||||||
|
print '</div><br>'."\n";
|
||||||
|
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td>Référence</td><td><input name="ref" size="20" value="'.$product->ref.'">';
|
print '<td>'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value="'.$product->ref.'">';
|
||||||
if ($_error == 1)
|
if ($_error == 1)
|
||||||
{
|
{
|
||||||
print "Cette référence existe déjà";
|
print "Cette référence existe déjà";
|
||||||
@ -255,15 +258,16 @@ if ($_GET["action"] == 'create')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td><td><input name="libelle" size="40" value="'.$product->libelle.'"></td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td><input name="libelle" size="40" value="'.$product->libelle.'"></td></tr>';
|
||||||
print '<tr><td>Prix de vente</td><TD><input name="price" size="10" value="'.$product->price.'"></td></tr>';
|
print '<tr><td>Prix de vente</td><TD><input name="price" size="10" value="'.$product->price.'"></td></tr>';
|
||||||
print '<tr><td>Taux TVA</td><TD>';
|
|
||||||
|
|
||||||
|
|
||||||
|
$langs->load("bills");
|
||||||
|
print '<tr><td>'.$langs->trans("VATRate").'</td><td>';
|
||||||
print $html->select_tva("tva_tx");
|
print $html->select_tva("tva_tx");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
||||||
print '<select name="statut">';
|
print '<select name="statut">';
|
||||||
print '<option value="1">En vente</option>';
|
print '<option value="1">'.$langs->trans("OnSell").'</option>';
|
||||||
print '<option value="0" selected>Hors Vente</option>';
|
print '<option value="0" selected>'.$langs->trans("NotOnSell").'</option>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
if ($_GET["type"] == 0 && defined("MAIN_MODULE_STOCK"))
|
if ($_GET["type"] == 0 && defined("MAIN_MODULE_STOCK"))
|
||||||
@ -402,10 +406,11 @@ else
|
|||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>Taux TVA</td><TD>'.$product->tva_tx.' %</td></tr>';
|
$langs->load("bills");
|
||||||
|
print '<tr><td>'.$langs->trans("VATRate").'</td><td>'.$product->tva_tx.' %</td></tr>';
|
||||||
if ($product->type == 0 && defined("MAIN_MODULE_STOCK"))
|
if ($product->type == 0 && defined("MAIN_MODULE_STOCK"))
|
||||||
{
|
{
|
||||||
print '<tr><td><a href="stock/product.php?id='.$product->id.'">Stock</a></td>';
|
print '<tr><td><a href="stock/product.php?id='.$product->id.'">'.$langs->trans("Stock").'</a></td>';
|
||||||
if ($product->no_stock)
|
if ($product->no_stock)
|
||||||
{
|
{
|
||||||
print "<td>Pas de définition de stock pour ce produit";
|
print "<td>Pas de définition de stock pour ce produit";
|
||||||
@ -527,7 +532,8 @@ else
|
|||||||
print "<tr>".'<td width="20%">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="20" value="'.$product->ref.'"></td></tr>';
|
print "<tr>".'<td width="20%">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="20" value="'.$product->ref.'"></td></tr>';
|
||||||
print '<td>'.$langs->trans("Label").'</td><td colspan="2"><input name="libelle" size="40" value="'.$product->libelle.'"></td></tr>';
|
print '<td>'.$langs->trans("Label").'</td><td colspan="2"><input name="libelle" size="40" value="'.$product->libelle.'"></td></tr>';
|
||||||
|
|
||||||
print "<tr>".'<td>Taux TVA</td><td colspan="2">';
|
$langs->load("bills");
|
||||||
|
print '<tr><td>'.$langs->trans("VATRate").'</td><td colspan="2">';
|
||||||
$html = new Form($db);
|
$html = new Form($db);
|
||||||
print $html->select_tva("tva_tx", $product->tva_tx);
|
print $html->select_tva("tva_tx", $product->tva_tx);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -723,6 +729,8 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
|
|||||||
|
|
||||||
if($user->rights->facture->creer)
|
if($user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
|
$langs->load("bills");
|
||||||
|
|
||||||
print "<tr>".'<td width="50%" valign="top">';
|
print "<tr>".'<td width="50%" valign="top">';
|
||||||
print_titre("Ajouter à ma facture");
|
print_titre("Ajouter à ma facture");
|
||||||
print '</td><td width="50%" valign="top">';
|
print '</td><td width="50%" valign="top">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user