Fix: modif esthetique mineure

This commit is contained in:
Regis Houssin 2007-11-27 17:58:27 +00:00
parent 85ee2ef6e4
commit ed8bdb4b09
3 changed files with 22 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2006 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -157,13 +157,19 @@ $countrynotdefined=$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("Se
if ($_GET["action"] == 'create' || $_POST["action"] == 'create')
{
if ($user->rights->societe->creer)
{
/*
* Fiche adresse de livraison en mode création
*/
if ($user->rights->societe->creer)
{
/*
* Fiche adresse de livraison en mode création
*/
$livraison = new AdresseLivraison($db);
$societe=new Societe($db);
$societe->fetch($_GET["socid"]);
$head = societe_prepare_head($societe);
dolibarr_fiche_head($head, 'customer', $societe->nom);
if ($_POST["label"] && $_POST["nom"])
{
@ -248,8 +254,15 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit')
* Fiche societe en mode edition
*/
$livraison = new AdresseLivraison($db);
$societe=new Societe($db);
$societe->fetch($_GET["socid"]);
$head = societe_prepare_head($societe);
dolibarr_fiche_head($head, 'customer', $societe->nom);
print_titre($langs->trans("EditDeliveyAdress"));
print_titre($langs->trans("EditDeliveryAddress"));
print "<br>\n";
if ($socid)
{

View File

@ -172,6 +172,7 @@ Phones=Phones
Capital=Capital
CapitalOf=Capital of %s
EditCompany=Edit company
EditDeliveryAddress=Edit delivery address
ThisUserIsNot=This user is not a prospect, customer nor supplier
VATIntraCheck=Check
VATIntraCheckDesc=The link <b>%s</b> allows to ask the european VAT checker service. An external internet access from server is required for this service to work.

View File

@ -172,6 +172,7 @@ Phones=T
Capital=Capital
CapitalOf=Capital de %s
EditCompany=Modification société
EditDeliveryAddress=Modification de l'adresse de livraison
ThisUserIsNot=Cet utilisateur n'est ni un prospect, ni un client, ni un fournisseur
VATIntraCheck=Vérifier
VATIntraCheckDesc=Le lien <b>%s</b> permet d'interroger le service européen de contrôle des numéro de TVA intracommunautaire. Un accès au monde internet exterieur depuis le serveur est requis pour que ce service fonctionne.