- 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);
+ } else {
+ gl_all_accounts_list_row(_("Account").":", 'dest_id', null);
+ if ($actn != '=') {
+ if ($actn = '%')
+ percent_row(_("Part").":", 'amount', percent_format(0));
+ else
+ amount_row(_("Amount").":", 'amount', price_format(0));
+ }
+ }