Merge pull request #8888 from Mavyre/develop

FIX Button Classify abandonned for donation not displaying
This commit is contained in:
Laurent Destailleur 2018-05-30 10:51:22 +02:00 committed by GitHub
commit 40f681695c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -730,7 +730,7 @@ if (! empty($id) && $action != 'edit')
print '<div class="inline-block divButAction"><a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?rowid='.$object->id.'&action=valid_promesse">'.$langs->trans("ValidPromess").'</a></div>';
}
if (($object->statut == 0 || $object->statut == 1) && totalpaid == 0 && $object->paid == 0)
if (($object->statut == 0 || $object->statut == 1) && $totalpaid == 0 && $object->paid == 0)
{
print '<div class="inline-block divButAction"><a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?rowid='.$object->id.'&action=set_cancel">'.$langs->trans("ClassifyCanceled")."</a></div>";
}