Trad: Traduction module code barre
This commit is contained in:
parent
968bd915a1
commit
9477c723a6
@ -20,3 +20,4 @@ ErrorNoMailDefinedForThisUser=No mail defined for this user
|
|||||||
ErrorFeatureNeedJavascript=This feature need javascript to be activated to work. Change this in setup - display.
|
ErrorFeatureNeedJavascript=This feature need javascript to be activated to work. Change this in setup - display.
|
||||||
ErrorTopMenuMustHaveAParentWithId0=A menu of type 'Top' can't have a parent menu. Put 0 in parent menu or choose a menu of type 'Left'.
|
ErrorTopMenuMustHaveAParentWithId0=A menu of type 'Top' can't have a parent menu. Put 0 in parent menu or choose a menu of type 'Left'.
|
||||||
ErrorLeftMenuMustHaveAParentId=A menu of type 'Left' must have a parent id.
|
ErrorLeftMenuMustHaveAParentId=A menu of type 'Left' must have a parent id.
|
||||||
|
ErrorGenbarCodeNotfound=File not found (Bad path, wrong permissions or access denied by openbasedir parameter)
|
||||||
|
|||||||
@ -88,6 +88,7 @@ BarCode=Barcode
|
|||||||
BarcodeType=Barcode type
|
BarcodeType=Barcode type
|
||||||
SetDefaultBarcodeType=Set barcode type
|
SetDefaultBarcodeType=Set barcode type
|
||||||
BarcodeValue=Barcode value
|
BarcodeValue=Barcode value
|
||||||
|
GenbarcodeLocation=Bar code generation command line tool (used by phpbarcode engine for some bar code types)
|
||||||
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
|
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
|
||||||
CreateCopy=Create copy
|
CreateCopy=Create copy
|
||||||
ServiceLimitedDuration=If product is a service with limited duration:
|
ServiceLimitedDuration=If product is a service with limited duration:
|
||||||
|
|||||||
@ -20,3 +20,4 @@ ErrorNoMailDefinedForThisUser=EMail non defini pour cet utilisateur
|
|||||||
ErrorFeatureNeedJavascript=Cette fonctionnalité a besoin de javascript activé pour fonctionner. Modifier dans configuration - affichage.
|
ErrorFeatureNeedJavascript=Cette fonctionnalité a besoin de javascript activé pour fonctionner. Modifier dans configuration - affichage.
|
||||||
ErrorTopMenuMustHaveAParentWithId0=Un menu de type 'Top' ne peut avoir de menu père. Mettre 0 dans l'id père ou choisir un menu de type 'Left'.
|
ErrorTopMenuMustHaveAParentWithId0=Un menu de type 'Top' ne peut avoir de menu père. Mettre 0 dans l'id père ou choisir un menu de type 'Left'.
|
||||||
ErrorLeftMenuMustHaveAParentId=Un menu de type 'Left' doit avoir un id de père.
|
ErrorLeftMenuMustHaveAParentId=Un menu de type 'Left' doit avoir un id de père.
|
||||||
|
ErrorGenbarCodeNotfound=Fichier introuvable (Mauvais chemin, permissions incorrectes ou accès interdit par le paramètre openbasedir)
|
||||||
|
|||||||
@ -86,6 +86,7 @@ PriceRemoved=Prix supprim
|
|||||||
BarCode=Code barre
|
BarCode=Code barre
|
||||||
BarcodeType=Type de code barre
|
BarcodeType=Type de code barre
|
||||||
BarcodeValue=Valeur du code barre
|
BarcodeValue=Valeur du code barre
|
||||||
|
GenbarcodeLocation=Outil generation code barre en ligne de commande (utilisé par le moteur phpbarcode pour certains type de codes barre)
|
||||||
SetDefaultBarcodeType=Définissez le type de code barre
|
SetDefaultBarcodeType=Définissez le type de code barre
|
||||||
NoteNotVisibleOnBill=Note (non visible sur les factures, propals...)
|
NoteNotVisibleOnBill=Note (non visible sur les factures, propals...)
|
||||||
CreateCopy=Créer copie
|
CreateCopy=Créer copie
|
||||||
|
|||||||
@ -16,15 +16,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/product/barcode.php
|
\file htdocs/product/barcode.php
|
||||||
\ingroup product
|
\ingroup product
|
||||||
\brief Page du code barre
|
\brief Page du code barre
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -60,7 +58,7 @@ if ($_POST['action'] == 'setbarcode' && $user->rights->barcode->creer)
|
|||||||
{
|
{
|
||||||
$product = new Product($db);
|
$product = new Product($db);
|
||||||
$product->fetch($_GET["id"]);
|
$product->fetch($_GET["id"]);
|
||||||
$product->barcode = $_POST['barcode']; //Todo: ajout vérification de la validité du code barre en fonction du type
|
$product->barcode = $_POST['barcode']; //Todo: ajout v<EFBFBD>rification de la validit<69> du code barre en fonction du type
|
||||||
$result = $product->update_barcode($user);
|
$result = $product->update_barcode($user);
|
||||||
Header("Location: barcode.php?id=".$_GET["id"]);
|
Header("Location: barcode.php?id=".$_GET["id"]);
|
||||||
exit;
|
exit;
|
||||||
@ -137,14 +135,14 @@ if ($_GET['action'] == 'editbarcodetype')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $product->barcode_type_label?$product->barcode_type_label:'<div class="warning">'.$langs->trans("SetDefaultBarcodeTypeInConfigurationModule").'<div>';
|
print $product->barcode_type_label?$product->barcode_type_label:'<div class="warning">'.$langs->trans("SetDefaultBarcodeType").'<div>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Barcode
|
// Barcode value
|
||||||
print '<tr><td nowrap>';
|
print '<tr><td nowrap>';
|
||||||
print '<table width="100%" class="nobordernopadding"><tr><td nowrap>';
|
print '<table width="100%" class="nobordernopadding"><tr><td nowrap>';
|
||||||
print $langs->trans("Barcode");
|
print $langs->trans("BarcodeValue");
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$product->id.'">'.img_edit($langs->trans('SetBarcode'),1).'</a></td>';
|
if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$product->id.'">'.img_edit($langs->trans('SetBarcode'),1).'</a></td>';
|
||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user