From 201d53e9c6b91f015f6ab9d43a82d2bd00758164 Mon Sep 17 00:00:00 2001 From: ywarnier Date: Sun, 17 Dec 2006 21:42:50 +0000 Subject: [PATCH] =?UTF-8?q?Copie=20par=20d=E9faut=20la=20r=E9f=E9rence=20d?= =?UTF-8?q?e=20l'ancienne=20facture,=20puisqu'il=20s'agit=20souvent=20d'un?= =?UTF-8?q?=20code=20similaire=20(donc=20moins=20=E0=20taper=20soi-m=EAme)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/facture/fiche.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 419b39458b6..7fd09a929bb 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -325,7 +325,11 @@ if ($_GET['action'] == 'create' or $_GET['action'] == 'copy') print ''; print ''.$langs->trans('NotePublic').''; - print ''.$langs->trans('Ref').''; + if($_GET['action'] == 'copy'){ + print ''.$langs->trans('Ref').''; + }else{ + print ''.$langs->trans('Ref').''; + } print ''; if ($_GET['action'] == 'copy')