+if (get_post('type') == QE_JOURNAL)
+ yesno_list_row(_("Balance Based"), 'bal_type', null, _("Yes"), _("No"), true);
+if (get_post('bal_type') == 1)
+{
+ yesno_list_row(_("Period"), 'base_amount', null, _("Monthly"), _("Yearly"));
+ gl_all_accounts_list_row(_("Account"), 'base_desc', null, true);
+}
+else
+{
+ if ($selected_id == -1)
+ $_POST['base_desc'] = _("Base Amount");
+ text_row_ex(_("Base Amount Description").':', 'base_desc', 50, 60, '',_('Base Amount'));
+ amount_row(_("Default Base Amount").':', 'base_amount', price_format(0));
+}