mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix: Can validate an order with amount of 0
This commit is contained in:
@@ -1659,7 +1659,7 @@ else
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
// Valid
|
||||
if ($commande->statut == 0 && $numlines > 0 && $user->rights->commande->valider)
|
||||
if ($commande->statut == 0 && $commande->total_ttc >= 0 && $numlines > 0 && $user->rights->commande->valider)
|
||||
{
|
||||
print '<a class="butAction" ';
|
||||
if ($conf->use_javascript_ajax && $conf->global->MAIN_CONFIRM_AJAX)
|
||||
|
||||
Reference in New Issue
Block a user