Fix: traduction
This commit is contained in:
parent
2fe2d59b4c
commit
23a927afb9
@ -48,7 +48,7 @@ if (!$user->rights->fournisseur->commande->lire) accessforbidden();
|
|||||||
|
|
||||||
$comclientid = isset($_GET["comid"])?$_GET["comid"]:'';
|
$comclientid = isset($_GET["comid"])?$_GET["comid"]:'';
|
||||||
|
|
||||||
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
// Securite acces client
|
||||||
$socid=0;
|
$socid=0;
|
||||||
if ($user->societe_id > 0)
|
if ($user->societe_id > 0)
|
||||||
{
|
{
|
||||||
@ -56,7 +56,7 @@ if ($user->societe_id > 0)
|
|||||||
$socid = $user->societe_id;
|
$socid = $user->societe_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
// R<EFBFBD>cup<EFBFBD>ration de l'id de projet
|
// Recuperation de l'id de projet
|
||||||
$projetid = 0;
|
$projetid = 0;
|
||||||
if ($_GET["projetid"])
|
if ($_GET["projetid"])
|
||||||
{
|
{
|
||||||
@ -159,7 +159,7 @@ if ($_POST['action'] == 'addligne' && $user->rights->fournisseur->commande->cree
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mise <EFBFBD> jour d'une ligne dans la commande
|
* Mise a jour d'une ligne dans la commande
|
||||||
*/
|
*/
|
||||||
if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->creer && $_POST['save'] == $langs->trans('Save'))
|
if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->creer && $_POST['save'] == $langs->trans('Save'))
|
||||||
{
|
{
|
||||||
@ -189,12 +189,12 @@ if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->c
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$_GET['id']=$_POST['id']; // Pour r<EFBFBD>affichage de la fiche en cours d'<27>dition
|
$_GET['id']=$_POST['id']; // Pour reaffichage de la fiche en cours d'edition
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->creer && $_POST['cancel'] == $langs->trans('Cancel'))
|
if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->creer && $_POST['cancel'] == $langs->trans('Cancel'))
|
||||||
{
|
{
|
||||||
Header('Location: fiche.php?id='.$_POST['id']); // Pour r<EFBFBD>affichage de la fiche en cours d'<27>dition
|
Header('Location: fiche.php?id='.$_POST['id']); // Pour reaffichage de la fiche en cours d'edition
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -335,10 +335,10 @@ if ($_REQUEST['action'] == 'builddoc') // En get ou en post
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Generation de la commande
|
* Generation de la commande
|
||||||
* d<EFBFBD>finit dans /includes/modules/commande/modules_commande.php
|
* definit dans /includes/modules/commande/modules_commande.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Sauvegarde le dernier mod<EFBFBD>le choisi pour g<>n<EFBFBD>rer un document
|
// Sauvegarde le dernier module choisi pour generer un document
|
||||||
$commande = new CommandeFournisseur($db, 0, $_REQUEST['id']);
|
$commande = new CommandeFournisseur($db, 0, $_REQUEST['id']);
|
||||||
$commande->fetch($_REQUEST['id']);
|
$commande->fetch($_REQUEST['id']);
|
||||||
if ($_REQUEST['model'])
|
if ($_REQUEST['model'])
|
||||||
@ -380,7 +380,7 @@ if ($action=='remove_file')
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Cr<EFBFBD><EFBFBD> une commande
|
* Cree une commande
|
||||||
*/
|
*/
|
||||||
if ($_GET["action"] == 'create')
|
if ($_GET["action"] == 'create')
|
||||||
{
|
{
|
||||||
@ -482,7 +482,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET['action'] == 'valid')
|
if ($_GET['action'] == 'valid')
|
||||||
{
|
{
|
||||||
// on v<EFBFBD>rifie si la commande est en num<75>rotation provisoire
|
// on verifie si la commande est en numerotation provisoire
|
||||||
$ref = substr($commande->ref, 1, 4);
|
$ref = substr($commande->ref, 1, 4);
|
||||||
if ($ref == 'PROV')
|
if ($ref == 'PROV')
|
||||||
{
|
{
|
||||||
@ -511,7 +511,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET['action'] == 'approve')
|
if ($_GET['action'] == 'approve')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$commande->id","Approuver la commande","Etes-vous s<>r de vouloir approuver cette commande ?","confirm_approve");
|
$html->form_confirm("fiche.php?id=$commande->id",$langs->trans("ApproveThisOrder"),$langs->trans("ConfirmApproveThisOrder"),"confirm_approve");
|
||||||
print '<br />';
|
print '<br />';
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@ -520,7 +520,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET['action'] == 'refuse')
|
if ($_GET['action'] == 'refuse')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$commande->id","Refuser la commande","Etes-vous s<>r de vouloir refuser cette commande ?","confirm_refuse");
|
$html->form_confirm("fiche.php?id=$commande->id",$langs->trans("DenyingThisOrder"),$langs->trans("ConfirmDenyingThisOrder"),"confirm_refuse");
|
||||||
print '<br />';
|
print '<br />';
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@ -528,7 +528,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET['action'] == 'cancel')
|
if ($_GET['action'] == 'cancel')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$commande->id",$langs->trans("Cancel"),"Etes-vous s<>r de vouloir annuler cette commande ?","confirm_cancel");
|
$html->form_confirm("fiche.php?id=$commande->id",$langs->trans("Cancel"),$langs->trans("ConfirmCancelThisOrder"),"confirm_cancel");
|
||||||
print '<br />';
|
print '<br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -590,7 +590,7 @@ else
|
|||||||
print '</td><td width="50%" colspan="3">';
|
print '</td><td width="50%" colspan="3">';
|
||||||
if ($commande->methode_commande)
|
if ($commande->methode_commande)
|
||||||
{
|
{
|
||||||
print "M<EFBFBD>thode : " .$commande->methode_commande;
|
print $langs->trans("Method")." : " .$commande->methode_commande;
|
||||||
}
|
}
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
}
|
}
|
||||||
@ -734,7 +734,7 @@ else
|
|||||||
print ' - '.nl2br($objp->product);
|
print ' - '.nl2br($objp->product);
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
// <EFBFBD>diteur wysiwyg
|
// editeur wysiwyg
|
||||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||||
@ -782,7 +782,7 @@ else
|
|||||||
print '<td colspan="4"> </td>';
|
print '<td colspan="4"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Ajout produit produits/services personnalis<EFBFBD>s
|
// Ajout produit produits/services personnalises
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$commande->id.'#add" method="post">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$commande->id.'#add" method="post">';
|
||||||
print '<input type="hidden" name="action" value="addligne">';
|
print '<input type="hidden" name="action" value="addligne">';
|
||||||
print '<input type="hidden" name="id" value="'.$_REQUEST["id"].'">';
|
print '<input type="hidden" name="id" value="'.$_REQUEST["id"].'">';
|
||||||
@ -790,7 +790,7 @@ else
|
|||||||
$var=true;
|
$var=true;
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr '.$bc[$var].'>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
// <EFBFBD>diteur wysiwyg
|
// editeur wysiwyg
|
||||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||||
@ -816,7 +816,7 @@ else
|
|||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
// Ajout de produits/services pr<EFBFBD>d<EFBFBD>finis
|
// Ajout de produits/services predefinis
|
||||||
if ($conf->produit->enabled)
|
if ($conf->produit->enabled)
|
||||||
{
|
{
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
@ -846,7 +846,7 @@ else
|
|||||||
|
|
||||||
if (! $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) print '<br>';
|
if (! $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) print '<br>';
|
||||||
|
|
||||||
// <EFBFBD>diteur wysiwyg
|
// editeur wysiwyg
|
||||||
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
|
||||||
@ -925,7 +925,7 @@ else
|
|||||||
print '<a name="builddoc"></a>'; // ancre
|
print '<a name="builddoc"></a>'; // ancre
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Documents g<EFBFBD>n<EFBFBD>r<EFBFBD>s
|
* Documents generes
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$comfournref = sanitize_string($commande->ref);
|
$comfournref = sanitize_string($commande->ref);
|
||||||
@ -995,7 +995,7 @@ else
|
|||||||
if ( $user->rights->fournisseur->commande->receptionner && ($commande->statut == 3 ||$commande->statut == 4 ))
|
if ( $user->rights->fournisseur->commande->receptionner && ($commande->statut == 3 ||$commande->statut == 4 ))
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* R<EFBFBD>ceptionner
|
* Receptionner
|
||||||
*/
|
*/
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
|
|
||||||
@ -1003,7 +1003,7 @@ else
|
|||||||
print '<form action="fiche.php?id='.$commande->id.'" method="post">';
|
print '<form action="fiche.php?id='.$commande->id.'" method="post">';
|
||||||
print '<input type="hidden" name="action" value="livraison">';
|
print '<input type="hidden" name="action" value="livraison">';
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr class="liste_titre"><td colspan="2">R<EFBFBD>ceptionner</td></tr>';
|
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Receive").'</td></tr>';
|
||||||
print '<tr><td>Date de livraison</td><td>';
|
print '<tr><td>Date de livraison</td><td>';
|
||||||
print $form->select_date('','','','','',"commande");
|
print $form->select_date('','','','','',"commande");
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
@ -1026,7 +1026,7 @@ else
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Commande non trouv<EFBFBD>e
|
// Commande non trouvee
|
||||||
dolibarr_print_error($db);
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -399,6 +399,8 @@ MoveBox=Move box %s
|
|||||||
Offered=Offered
|
Offered=Offered
|
||||||
NotEnoughPermissions=You don't have permission for this action
|
NotEnoughPermissions=You don't have permission for this action
|
||||||
SessionName=Session name
|
SessionName=Session name
|
||||||
|
Method=Method
|
||||||
|
Receive=Receive
|
||||||
# Week day
|
# Week day
|
||||||
Monday=Monday
|
Monday=Monday
|
||||||
Tuesday=Tuesday
|
Tuesday=Tuesday
|
||||||
|
|||||||
@ -22,3 +22,8 @@ SuppliersArea=Suppliers area
|
|||||||
RefSupplierShort=Ref. supplier
|
RefSupplierShort=Ref. supplier
|
||||||
ExportDataset_fournisseur_1=Supplier invoices list and invoices' lines
|
ExportDataset_fournisseur_1=Supplier invoices list and invoices' lines
|
||||||
ExportDataset_fournisseur_2=Supplier invoices and payments
|
ExportDataset_fournisseur_2=Supplier invoices and payments
|
||||||
|
ApproveThisOrder=Approve this order
|
||||||
|
ConfirmApproveThisOrder=Are you sure you want to approve this order ?
|
||||||
|
DenyingThisOrder=Denying this order
|
||||||
|
ConfirmDenyingThisOrder=Are you sure you want to deny this order ?
|
||||||
|
ConfirmCancelThisOrder=Are you sure you want to cancel this order ?
|
||||||
@ -400,6 +400,8 @@ MoveBox=D
|
|||||||
Offered=Offert
|
Offered=Offert
|
||||||
NotEnoughPermissions=Vous n'avez pas les permissions pour cette action
|
NotEnoughPermissions=Vous n'avez pas les permissions pour cette action
|
||||||
SessionName=Nom session
|
SessionName=Nom session
|
||||||
|
Method=Méthode
|
||||||
|
Receive=Réceptionner
|
||||||
# Week day
|
# Week day
|
||||||
Monday=Lundi
|
Monday=Lundi
|
||||||
Tuesday=Mardi
|
Tuesday=Mardi
|
||||||
|
|||||||
@ -22,3 +22,8 @@ SuppliersArea=Espace fournisseurs
|
|||||||
RefSupplierShort=Réf. fournisseur
|
RefSupplierShort=Réf. fournisseur
|
||||||
ExportDataset_fournisseur_1=Factures fournisseurs et lignes de facture
|
ExportDataset_fournisseur_1=Factures fournisseurs et lignes de facture
|
||||||
ExportDataset_fournisseur_2=Factures fournisseurs et règlements
|
ExportDataset_fournisseur_2=Factures fournisseurs et règlements
|
||||||
|
ApproveThisOrder=Approuver la commande
|
||||||
|
ConfirmApproveThisOrder=Etes-vous sûr de vouloir approuver cette commande ?
|
||||||
|
DenyingThisOrder=Refuser la commande
|
||||||
|
ConfirmDenyingThisOrder=Etes-vous sûr de vouloir refuser cette commande ?
|
||||||
|
ConfirmCancelThisOrder=Etes-vous sûr de vouloir annuler cette commande ?
|
||||||
Loading…
Reference in New Issue
Block a user