From 7b8a5257bcfa2d263f87e9b26053837ed1a3490a Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 24 Oct 2007 16:31:43 +0000 Subject: Convert all functions that use am.pl's account_header to am-account-form.html git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1809 4979c152-3d1c-0410-bac9-87ea11338e46 --- UI/am-account-form.html | 239 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 UI/am-account-form.html (limited to 'UI') diff --git a/UI/am-account-form.html b/UI/am-account-form.html new file mode 100644 index 00000000..34482b51 --- /dev/null +++ b/UI/am-account-form.html @@ -0,0 +1,239 @@ + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
'accno', + size => '20', + value => form.accno} ?>
'description', + size => '40', + value => form.description} ?>
+ + + + + + +
+ 'category', + type => 'radio', + label => text('Asset'), + value => 'A', + ${checked.A_} => checked.A_, + } ?>
+ 'category', + type => 'radio', + label => text('Liability'), + ${checked.L_} => checked.L_, + value => 'L'} ?>
+ 'category', + type => 'radio', + label => text('Equity'), + ${checked.Q_} => checked.Q_, + value => 'Q'} ?>
+ 'category', + type => 'radio', + label => text('Income'), + ${checked.I_} => checked.I_, + value => 'I'} ?>
+ 'category', + type => 'radio', + label => text('Expense'), + ${checked.E_} => checked.E_, + value => 'E'} ?> +
+ 'contra', + type => 'checkbox', + label => text('Contra'), + ${checked.contra} => checked.contra, + value => '1'} ?> + + 'charttype', + type => 'radio', + label => text('Heading'), + ${checked.H} => checked.H, + value => 'H'} ?>
+ 'charttype', + type => 'radio', + label => text('Account'), + ${checked.A} => checked.A, + value => 'A'} ?> +
+
+ + + + + +
+ 'AR', + type => 'checkbox', + label => text('AR'), + ${form.AR} => form.AR, + value => 'AR'} ?> + 'AP', + type => 'checkbox', + label => text('AP'), + ${form.AP} => form.AP, + value => 'AP'} ?> + 'IC', + type => 'checkbox', + label => text('Inventory'), + ${form.IC} => form.IC, + value => 'IC'} ?> +
+
+ + + + + + + + + + + + + +
+ 'AR_amount', + type => 'checkbox', + label => text('Income'), + ${form.AR_amount} => form.AR_amount, + value => 'AR_amount'} ?>
+ 'AR_paid', + type => 'checkbox', + label => text('Payment'), + ${form.AR_paid} => form.AR_paid, + value => 'AR_paid'} ?>
+ 'AR_tax', + type => 'checkbox', + label => text('Tax'), + ${form.AR_tax} => form.AR_tax, + value => 'AR_tax'} ?> +
+ 'AP_amount', + type => 'checkbox', + label => text('Expense/Asset'), + ${form.AP_amount} => form.AP_amount, + value => 'AP_amount'} ?>
+ 'AP_paid', + type => 'checkbox', + label => text('Payment'), + ${form.AP_paid} => form.AP_paid, + value => 'AP_paid'} ?>
+ 'AP_tax', + type => 'checkbox', + label => text('Tax'), + ${form.AP_tax} => form.AP_tax, + value => 'AP_tax'} ?> +
+ 'IC_sale', + type => 'checkbox', + label => text('Income'), + ${form.IC_sale} => form.IC_sale, + value => 'IC_sale'} ?>
+ 'IC_cogs', + type => 'checkbox', + label => text('COGS'), + ${form.IC_cogs} => form.IC_cogs, + value => 'IC_cogs'} ?>
+ 'IC_taxpart', + type => 'checkbox', + label => text('Tax'), + ${form.IC_taxpart} => form.IC_taxpart, + value => 'IC_taxpart'} ?> +
+ 'IC_income', + type => 'checkbox', + label => text('Income'), + ${form.IC_income} => form.IC_income, + value => 'IC_income'} ?>
+ 'IC_expense', + type => 'checkbox', + label => text('Expense'), + ${form.IC_expense} => form.IC_expense, + value => 'IC_expense'} ?>
+ 'IC_taxservice', + type => 'checkbox', + label => text('Tax'), + ${form.IC_taxservice} => form.IC_taxservice, + value => 'IC_taxservice'} ?> +
+
'gifi_accno', + size => '9', + value => form.gifi_accno} ?>
+

+ 'hidden', + name => hidden, + value => hiddens.item(hidden) + }; END ?> + +
+ + -- cgit v1.2.3