- gl_all_accounts_list_row(_("Account"), 'account', null);
- yesno_list_row(_("Use Tax:"), 'tax_acc', null, "", "", false);
- yesno_list_row(_("Use Percent:"), 'pct', null, "", "", false);
- amount_row(_("Amount"), 'amount', null);
+ quick_actions_list_row(_("Posted").":",'actn', null, true);
+ if (list_updated('actn'))
+ $Ajax->activate('edit_line');
+
+ $actn = strtolower(substr($_POST['actn'],0,1));
+
+ if ($actn == 't')
+ {
+ //item_tax_types_list_row(_("Item Tax Type").":",'dest_id', null);
+ tax_types_list_row(_("Tax Type").":", 'dest_id', null);
+ }
+ else
+ {
+ gl_all_accounts_list_row(_("Account").":", 'dest_id', null, $_POST['type'] == QE_DEPOSIT || $_POST['type'] == QE_PAYMENT);
+ if ($actn != '=')
+ {
+ if ($actn == '%')
+ small_amount_row(_("Part").":", 'amount', price_format(0), null, "%", user_exrate_dec());
+ else
+ amount_row(_("Amount").":", 'amount', price_format(0));
+ }
+ }