Can validate a propasal with amount to 0

This commit is contained in:
Laurent Destailleur 2009-04-06 18:16:04 +00:00
parent 92c79cfb90
commit 4f2d2d2d00

View File

@ -1760,9 +1760,8 @@ if ($id > 0 || ! empty($ref))
if ($_GET['action'] != 'statut' && $_GET['action'] <> 'editline')
{
// 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" ';
if ($conf->use_javascript_ajax && $conf->global->MAIN_CONFIRM_AJAX)