diff options
Diffstat (limited to 'UI/am-account-form.html')
-rw-r--r-- | UI/am-account-form.html | 73 |
1 files changed, 43 insertions, 30 deletions
diff --git a/UI/am-account-form.html b/UI/am-account-form.html index 34482b51..64bffb8b 100644 --- a/UI/am-account-form.html +++ b/UI/am-account-form.html @@ -10,14 +10,14 @@ <table> <tr> <th align="right"><?lsmb text('Account Number') ?></th> - <td><?lsmb PROCESS input element_data={ + <td><?lsmb INCLUDE input element_data={ name => 'accno', size => '20', value => form.accno} ?></td> </tr> <tr> <th align="right"><?lsmb text('Description') ?></th> - <td><?lsmb PROCESS input element_data={ + <td><?lsmb INCLUDE input element_data={ name => 'description', size => '40', value => form.description} ?></td> @@ -28,32 +28,32 @@ <table> <tr valign="top"> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'category', type => 'radio', label => text('Asset'), value => 'A', ${checked.A_} => checked.A_, } ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'category', type => 'radio', label => text('Liability'), ${checked.L_} => checked.L_, value => 'L'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'category', type => 'radio', label => text('Equity'), ${checked.Q_} => checked.Q_, value => 'Q'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'category', type => 'radio', label => text('Income'), ${checked.I_} => checked.I_, value => 'I'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'category', type => 'radio', label => text('Expense'), @@ -61,7 +61,7 @@ value => 'E'} ?> </td> <td> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'contra', type => 'checkbox', label => text('Contra'), @@ -69,13 +69,13 @@ value => '1'} ?> </td> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'charttype', type => 'radio', label => text('Heading'), ${checked.H} => checked.H, value => 'H'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'charttype', type => 'radio', label => text('Account'), @@ -93,19 +93,19 @@ <tr> <th align="left"><?lsmb text('Is this a summary account to record') ?></th> <td> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AR', type => 'checkbox', label => text('AR'), ${form.AR} => form.AR, value => 'AR'} ?> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AP', type => 'checkbox', label => text('AP'), ${form.AP} => form.AP, value => 'AP'} ?> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC', type => 'checkbox', label => text('Inventory'), @@ -130,59 +130,72 @@ </tr> <tr> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AR_amount', type => 'checkbox', label => text('Income'), ${form.AR_amount} => form.AR_amount, value => 'AR_amount'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AR_paid', type => 'checkbox', label => text('Payment'), ${form.AR_paid} => form.AR_paid, value => 'AR_paid'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AR_tax', type => 'checkbox', label => text('Tax'), ${form.AR_tax} => form.AR_tax, - value => 'AR_tax'} ?> + value => 'AR_tax'} ?><br /> + <?lsmb INCLUDE input element_data={ + name => 'AR_overpayment', + type => 'checkbox', + label => text('Overpayment'), + ${form.AR_overpayment} => form.AR_overpayment, + value => 'AR_overpayment'} ?> + </td> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AP_amount', type => 'checkbox', label => text('Expense/Asset'), ${form.AP_amount} => form.AP_amount, value => 'AP_amount'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AP_paid', type => 'checkbox', label => text('Payment'), ${form.AP_paid} => form.AP_paid, value => 'AP_paid'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'AP_tax', type => 'checkbox', label => text('Tax'), ${form.AP_tax} => form.AP_tax, - value => 'AP_tax'} ?> + value => 'AP_tax'} ?><br /> + <?lsmb INCLUDE input element_data={ + name => 'AP_overpayment', + type => 'checkbox', + label => text('Overpayment'), + ${form.AP_overpayment} => form.AP_overpayment, + value => 'AP_overpayment'} ?> </td> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_sale', type => 'checkbox', label => text('Income'), ${form.IC_sale} => form.IC_sale, value => 'IC_sale'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_cogs', type => 'checkbox', label => text('COGS'), ${form.IC_cogs} => form.IC_cogs, value => 'IC_cogs'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_taxpart', type => 'checkbox', label => text('Tax'), @@ -190,19 +203,19 @@ value => 'IC_taxpart'} ?> </td> <td align="right"> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_income', type => 'checkbox', label => text('Income'), ${form.IC_income} => form.IC_income, value => 'IC_income'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_expense', type => 'checkbox', label => text('Expense'), ${form.IC_expense} => form.IC_expense, value => 'IC_expense'} ?><br /> - <?lsmb PROCESS input element_data={ + <?lsmb INCLUDE input element_data={ name => 'IC_taxservice', type => 'checkbox', label => text('Tax'), @@ -217,7 +230,7 @@ <tr><td> </td></tr> <tr> <th align="right"><?lsmb text('GIFI') ?></th> - <td><?lsmb PROCESS input element_data={ + <td><?lsmb INCLUDE input element_data={ name => 'gifi_accno', size => '9', value => form.gifi_accno} ?></td> @@ -228,12 +241,12 @@ <tr><td><hr size="3" noshade="noshade" /></td></tr> </table> <?lsmb FOREACH hidden IN hiddens.keys; - PROCESS input element_data={ + INCLUDE input element_data={ type => 'hidden', name => hidden, value => hiddens.item(hidden) }; END ?> -<?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?> +<?lsmb FOREACH button IN buttons; INCLUDE button element_data=button; END ?> </form> </body> </html> |