fix: on pouvait attribuer une remise après validation de la commande
This commit is contained in:
parent
dea1b1c06d
commit
51beb5fbe3
@ -708,7 +708,7 @@ else
|
|||||||
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||||
print $langs->trans('GlobalDiscount').'</td><td align="right">';
|
print $langs->trans('GlobalDiscount').'</td><td align="right">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if ($_GET['action'] != 'setdiscount') print '<td align="right"><a href="'.$_SERVER['PHP_SELF'].'?action=setdiscount&id='.$commande->id.'">'.img_edit($langs->trans('Edit')).'</a></td>';
|
if ($_GET['action'] != 'setdiscount' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER['PHP_SELF'].'?action=setdiscount&id='.$commande->id.'">'.img_edit($langs->trans('Edit')).'</a></td>';
|
||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if ($user->rights->commande->creer && $_GET['action'] == 'setdiscount')
|
if ($user->rights->commande->creer && $_GET['action'] == 'setdiscount')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user