From c528613620e061d933a584723a4f411b97dfc455 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Wed, 14 May 2014 09:46:49 +0200 Subject: [PATCH] Update fiche.php Adds the constant MAIN_USE_PROPAL_REFCLIENT_FOR_ORDER for those who need to use the ref_client of the propal in the order --- htdocs/commande/fiche.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index f1c179719a0..2b326858c48 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1364,8 +1364,10 @@ if ($action == 'create' && $user->rights->commande->creer) { // Reference client print '' . $langs->trans('RefCustomer') . ''; - // print ''; - print ''; // We must not use ref_client of proposal for an order + if (!empty($conf->global->MAIN_USE_PROPAL_REFCLIENT_FOR_ORDER)) + print ''; + else + print ''; print ''; // Client