Final fixes in html layout
[fa-stable.git] / gl / gl_payment.php
index 12d05480f5dbf4b393e2b70947b296f85fc4879b..0b96feec3c0c27f74e2770d80c8bb419a427d281 100644 (file)
@@ -244,9 +244,13 @@ end_table(1);
 
 if (!isset($_POST['Process']))
 {
-    submit_center_first('Update', _("Update"));
        if ($_SESSION['pay_items']->count_gl_items() >= 1)
+       {
+       submit_center_first('Update', _("Update"));
            submit_center_last('Process', _("Process Payment"));
+       }
+       else
+       submit_center('Update', _("Update"));
 }
 
 end_form();