diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 0fc196b5448..2169941491a 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -48,7 +48,7 @@ if (!$user->rights->fournisseur->commande->lire) accessforbidden(); $comclientid = isset($_GET["comid"])?$_GET["comid"]:''; -// S�curit� acc�s client +// Securite acces client $socid=0; if ($user->societe_id > 0) { @@ -56,7 +56,7 @@ if ($user->societe_id > 0) $socid = $user->societe_id; } -// R�cup�ration de l'id de projet +// Recuperation de l'id de projet $projetid = 0; if ($_GET["projetid"]) { @@ -159,7 +159,7 @@ if ($_POST['action'] == 'addligne' && $user->rights->fournisseur->commande->cree } /* - * Mise � 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')) { @@ -189,12 +189,12 @@ if ($_POST['action'] == 'updateligne' && $user->rights->fournisseur->commande->c exit; } - $_GET['id']=$_POST['id']; // Pour r�affichage de la fiche en cours d'�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')) { - Header('Location: fiche.php?id='.$_POST['id']); // Pour r�affichage de la fiche en cours d'�dition + Header('Location: fiche.php?id='.$_POST['id']); // Pour reaffichage de la fiche en cours d'edition exit; } @@ -335,10 +335,10 @@ if ($_REQUEST['action'] == 'builddoc') // En get ou en post { /* * Generation de la commande - * d�finit dans /includes/modules/commande/modules_commande.php + * definit dans /includes/modules/commande/modules_commande.php */ - // Sauvegarde le dernier mod�le choisi pour g�n�rer un document + // Sauvegarde le dernier module choisi pour generer un document $commande = new CommandeFournisseur($db, 0, $_REQUEST['id']); $commande->fetch($_REQUEST['id']); if ($_REQUEST['model']) @@ -380,7 +380,7 @@ if ($action=='remove_file') /* - * Cr�� une commande + * Cree une commande */ if ($_GET["action"] == 'create') { @@ -482,7 +482,7 @@ else */ if ($_GET['action'] == 'valid') { - // on v�rifie si la commande est en num�rotation provisoire + // on verifie si la commande est en numerotation provisoire $ref = substr($commande->ref, 1, 4); if ($ref == 'PROV') { @@ -511,7 +511,7 @@ else */ 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 '
'; } /* @@ -520,7 +520,7 @@ else */ 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 '
'; } /* @@ -528,7 +528,7 @@ else */ 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 '
'; } @@ -590,7 +590,7 @@ else print ''; if ($commande->methode_commande) { - print "M�thode : " .$commande->methode_commande; + print $langs->trans("Method")." : " .$commande->methode_commande; } print ""; } @@ -734,7 +734,7 @@ else print ' - '.nl2br($objp->product); print '
'; } - // �diteur wysiwyg + // editeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); @@ -782,7 +782,7 @@ else print ' '; print ''; - // Ajout produit produits/services personnalis�s + // Ajout produit produits/services personnalises print '
'; print ''; print ''; @@ -790,7 +790,7 @@ else $var=true; print ''; print ''; - // �diteur wysiwyg + // editeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); @@ -816,7 +816,7 @@ else print '
'; - // Ajout de produits/services pr�d�finis + // Ajout de produits/services predefinis if ($conf->produit->enabled) { print ''; @@ -846,7 +846,7 @@ else if (! $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) print '
'; - // �diteur wysiwyg + // editeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); @@ -925,7 +925,7 @@ else print ''; // ancre /* - * Documents g�n�r�s + * Documents generes * */ $comfournref = sanitize_string($commande->ref); @@ -995,7 +995,7 @@ else if ( $user->rights->fournisseur->commande->receptionner && ($commande->statut == 3 ||$commande->statut == 4 )) { /** - * R�ceptionner + * Receptionner */ $form = new Form($db); @@ -1003,7 +1003,7 @@ else print '
'; print ''; print ''; - print ''; + print ''; print '\n"; @@ -1026,7 +1026,7 @@ else } else { - // Commande non trouv�e + // Commande non trouvee dolibarr_print_error($db); } } diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index d465ab84a9c..b353dcecf0d 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -399,6 +399,8 @@ MoveBox=Move box %s Offered=Offered NotEnoughPermissions=You don't have permission for this action SessionName=Session name +Method=Method +Receive=Receive # Week day Monday=Monday Tuesday=Tuesday diff --git a/htdocs/langs/en_US/suppliers.lang b/htdocs/langs/en_US/suppliers.lang index 66263051205..ac46f820cc7 100644 --- a/htdocs/langs/en_US/suppliers.lang +++ b/htdocs/langs/en_US/suppliers.lang @@ -22,3 +22,8 @@ SuppliersArea=Suppliers area RefSupplierShort=Ref. supplier ExportDataset_fournisseur_1=Supplier invoices list and invoices' lines 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 ? \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index c838e5ad4b5..de65ad4da36 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -400,6 +400,8 @@ MoveBox=D Offered=Offert NotEnoughPermissions=Vous n'avez pas les permissions pour cette action SessionName=Nom session +Method=Méthode +Receive=Réceptionner # Week day Monday=Lundi Tuesday=Mardi diff --git a/htdocs/langs/fr_FR/suppliers.lang b/htdocs/langs/fr_FR/suppliers.lang index fe0a694b6bd..bb08b294f90 100644 --- a/htdocs/langs/fr_FR/suppliers.lang +++ b/htdocs/langs/fr_FR/suppliers.lang @@ -22,3 +22,8 @@ SuppliersArea=Espace fournisseurs RefSupplierShort=Réf. fournisseur ExportDataset_fournisseur_1=Factures fournisseurs et lignes de facture 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 ? \ No newline at end of file
R�ceptionner
'.$langs->trans("Receive").'
Date de livraison'; print $form->select_date('','','','','',"commande"); print "