Can validate a propasal with amount to 0
This commit is contained in:
parent
92c79cfb90
commit
4f2d2d2d00
@ -1760,9 +1760,8 @@ if ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
if ($_GET['action'] != 'statut' && $_GET['action'] <> 'editline')
|
if ($_GET['action'] != 'statut' && $_GET['action'] <> 'editline')
|
||||||
{
|
{
|
||||||
|
|
||||||
// Valid
|
// Valid
|
||||||
if ($propal->statut == 0 && $propal->total_ttc > 0 && $user->rights->propale->valider)
|
if ($propal->statut == 0 && $user->rights->propale->valider)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" ';
|
print '<a class="butAction" ';
|
||||||
if ($conf->use_javascript_ajax && $conf->global->MAIN_CONFIRM_AJAX)
|
if ($conf->use_javascript_ajax && $conf->global->MAIN_CONFIRM_AJAX)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user