+ start_row();
+ $qid = get_quick_entry(get_post('quick'));
+ if (list_updated('quick')) {
+ unset($_POST['totamount']); // enable default
+ $Ajax->activate('totamount');
+ }
+ end_row();
+ if ($qid['bal_type'] == 1)
+ {
+ $accname = get_gl_account_name($qid['base_desc']);
+ label_row(($qid['base_amount'] == 0 ? _("Yearly") : _("Monthly")) . " ". _("balance from account")." ".
+ $qid['base_desc']." ".$accname." ".submit('go', _("Go"), false, false, true),'', "colspan=2");
+ }
+ else
+ {
+ text_row(_('Additional info:'), 'aux_info', null, 35, 255);
+ amount_row($qid['base_desc'].":", 'totamount', price_format($qid['base_amount']),
+ null, " ".submit('go', _("Go"), false, false, true));
+ }
+
+ }
+
+ check_row(_('Include in tax register:'), 'taxable_trans', null, true);
+ // Query the user to retain the reconciled status
+ if (!$new && $Order->reconcile_date) {
+ check_row(_('Reconciled:'), 'reconciled', 1, true);
+ hidden('reconcile_date', $Order->reconcile_date);
+ }
+ end_outer_table(1);