- if ($_SESSION['journal_items']->count_gl_items() >= 1 &&
- abs($_SESSION['journal_items']->gl_items_total()) < 0.0001)
- {
- submit_center('Process', _("Process Journal Entry"));
- }
- else
- {
- display_note(_("The journal must balance (debits equal to credits) before it can be processed."), 0, 1);
- }
+ submit_center('Process', _("Process Journal Entry"));
+}
+else
+{
+ display_note(_("The journal must balance (debits equal to credits) before it can be processed."), 0, 1);