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
This commit is contained in:
parent
179583f79a
commit
c528613620
@ -1364,8 +1364,10 @@ if ($action == 'create' && $user->rights->commande->creer) {
|
|||||||
|
|
||||||
// Reference client
|
// Reference client
|
||||||
print '<tr><td>' . $langs->trans('RefCustomer') . '</td><td colspan="2">';
|
print '<tr><td>' . $langs->trans('RefCustomer') . '</td><td colspan="2">';
|
||||||
// print '<input type="text" name="ref_client" value="'.$ref_client.'"></td>';
|
if (!empty($conf->global->MAIN_USE_PROPAL_REFCLIENT_FOR_ORDER))
|
||||||
print '<input type="text" name="ref_client" value=""></td>'; // We must not use ref_client of proposal for an order
|
print '<input type="text" name="ref_client" value="'.$ref_client.'"></td>';
|
||||||
|
else
|
||||||
|
print '<input type="text" name="ref_client" value=""></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Client
|
// Client
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user