summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
Diffstat (limited to 'UI')
-rw-r--r--UI/rp-search-aging.html108
-rw-r--r--UI/rp-search-balance_sheet.html97
-rw-r--r--UI/rp-search-generate_tax_report.html199
-rw-r--r--UI/rp-search-generate_trial_balance.html81
-rw-r--r--UI/rp-search-income_statement.html147
-rw-r--r--UI/rp-search-inv_activity.html60
-rw-r--r--UI/rp-search-payments.html95
-rw-r--r--UI/rp-search-projects.html79
-rw-r--r--UI/rp-search.html53
9 files changed, 919 insertions, 0 deletions
diff --git a/UI/rp-search-aging.html b/UI/rp-search-aging.html
new file mode 100644
index 00000000..6e5f86ac
--- /dev/null
+++ b/UI/rp-search-aging.html
@@ -0,0 +1,108 @@
+ <tr>
+ <th align="right"><?lsmb text(form.uvc) ?></th>
+ <td><?lsmb PROCESS $form.vci.type element_data=form.vci.input ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ } ?></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+<?lsmb END ?>
+ </td>
+ </tr>
+ <tr>
+ <th></th>
+ <td>
+<?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'summary',
+ value => '1',
+ label => text('Summary'),
+ checked => 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'summary',
+ value => '0',
+ label => text('Detail'),
+ } -?>
+ </td>
+ </tr>
+ <tr><td colspan="2">
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td>
+ <table>
+ <tr>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'overdue',
+ type => 'radio',
+ value => '0',
+ label => text('Aged'),
+ checked => 'checked',
+ } -?>
+ </td>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'overdue',
+ type => 'radio',
+ value => '1',
+ label => text('Overdue'),
+ } -?>
+ </td>
+ </tr>
+ <tr>
+ <td width="70">
+<?lsmb PROCESS input element_data={
+ name => 'c0',
+ type => 'checkbox',
+ value => '1',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ </td>
+ <td width="70">
+<?lsmb PROCESS input element_data={
+ name => 'c30',
+ type => 'checkbox',
+ value => '1',
+ label => '30',
+ checked => 'checked',
+ } -?>
+ </td>
+ <td width="70">
+<?lsmb PROCESS input element_data={
+ name => 'c60',
+ type => 'checkbox',
+ value => '1',
+ label => '60',
+ checked => 'checked',
+ } -?>
+ </td>
+ <td width="70">
+<?lsmb PROCESS input element_data={
+ name => 'c90',
+ type => 'checkbox',
+ value => '1',
+ label => '90',
+ checked => 'checked',
+ } -?>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table></td>
+ </tr>
diff --git a/UI/rp-search-balance_sheet.html b/UI/rp-search-balance_sheet.html
new file mode 100644
index 00000000..2363b4a6
--- /dev/null
+++ b/UI/rp-search-balance_sheet.html
@@ -0,0 +1,97 @@
+ <tr>
+ <th align="right"><?lsmb text('as at') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'asofdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.asofdate,
+ } ?></td>
+ <td colspan="2">
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+<?lsmb END ?>
+ </td>
+ </tr>
+ <tr><th align="right"><?lsmb text('Compare to') ?></th><td colspan="3" /></tr>
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'compareasofdate',
+ size => '11',
+ title => user.dateformat,
+ } ?></td>
+ <td>
+<?lsmb IF form.selectaccountingyear.defined;
+ compare_month = {
+ options => form.selectaccountingmonth.options,
+ name => 'compareasofmonth',
+ };
+ compare_year = {
+ options => form.selectaccountingyear.options,
+ name => 'compareasofyear',
+ };
+ -?>
+ <?lsmb PROCESS select element_data=compare_month -?>
+ <?lsmb PROCESS select element_data=compare_year -?>
+<?lsmb END ?>
+ </td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Decimal Places') ?></th>
+ <td colspan="3"><?lsmb PROCESS input element_data={
+ name => 'decimalplaces',
+ size => '3',
+ value => '2',
+ } ?>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Method') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'accrual',
+ label => text('Accrual'),
+ checked => 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'cash',
+ label => text('Cash'),
+ } -?>
+ </td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'l_heading',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Heading'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_subtotal',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Subtotal'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_accno',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Account Number'),
+ } -?>
+ </td>
+ </tr>
diff --git a/UI/rp-search-generate_tax_report.html b/UI/rp-search-generate_tax_report.html
new file mode 100644
index 00000000..2323acd6
--- /dev/null
+++ b/UI/rp-search-generate_tax_report.html
@@ -0,0 +1,199 @@
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ <tr>
+ <th></th>
+ <td>
+<?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'summary',
+ value => '1',
+ label => text('Summary'),
+ checked => 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'summary',
+ value => '0',
+ label => text('Detail'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb IF form.report.matches('^tax_') ?>
+ <tr>
+ <th align="right"><?lsmb text('Report for') ?></th>
+ <td colspan="3">
+ <?lsmb FOREACH account IN form.taxaccountlist;
+ PROCESS input element_data=account;
+ END -?>
+ </td>
+ </tr>
+ <?lsmb IF form.gifitaxaccountlist.defined -?>
+ <tr>
+ <th align="right"><?lsmb text('GIFI') ?></th>
+ <td colspan="3">
+ <?lsmb FOREACH account IN form.gifitaxaccountlist;
+ PROCESS input element_data=account;
+ END -?>
+ </td>
+ </tr>
+ <?lsmb END -?>
+<?lsmb END -?>
+ <tr>
+ <th align="right"><?lsmb text('Method') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'accrual',
+ label => text('Accrual'),
+ checked => 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'cash',
+ label => text('Cash'),
+ } -?>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_id',
+ type => 'checkbox',
+ value => 'Y',
+ } -?>
+ </td><td><?lsmb text('ID') ?></td>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_invnumber',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Invoice') ?></td>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_transdate',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Date') ?></td>
+ </tr>
+ <tr>
+ <td />
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_name',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb IF form.db == 'ar';
+ text('Customer');
+ELSIF form.db == 'ap';
+ text('Vendor');
+END ?></td>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_description',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Description') ?></td>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_netamount',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Amount') ?></td>
+<?lsmb IF form.report.matches('^tax_') ?>
+ <td>
+ <?lsmb PROCESS input element_data={
+ name => 'l_tax',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Tax') ?></td>
+ <td>
+ <?lsmb PROCESS input element_data={
+ name => 'l_total',
+ type => 'checkbox',
+ value => 'Y',
+ checked => 'checked',
+ } -?>
+ </td><td><?lsmb text('Total') ?></td>
+ </tr>
+ <tr>
+ <td />
+<?lsmb END ?>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_subtotal',
+ type => 'checkbox',
+ value => 'Y',
+ } -?>
+ </td><td><?lsmb text('Subtotal') ?></td>
+ </tr>
diff --git a/UI/rp-search-generate_trial_balance.html b/UI/rp-search-generate_trial_balance.html
new file mode 100644
index 00000000..db8c7c4b
--- /dev/null
+++ b/UI/rp-search-generate_trial_balance.html
@@ -0,0 +1,81 @@
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'l_heading',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Heading'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_subtotal',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Subtotal'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'all_accounts',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('All Accounts'),
+ } -?>
+ </td>
+ </tr>
diff --git a/UI/rp-search-income_statement.html b/UI/rp-search-income_statement.html
new file mode 100644
index 00000000..3af19469
--- /dev/null
+++ b/UI/rp-search-income_statement.html
@@ -0,0 +1,147 @@
+ <tr>
+ <th align="right"><?lsmb text('Project') ?></th>
+ <td colspan="3"><?lsmb PROCESS select element_data=form.selectproject ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ <tr><th align="right"><?lsmb text('Compare to') ?></th><td colspan="3" /></tr>
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'comparefromdate',
+ size => '11',
+ title => user.dateformat,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'comparetodate',
+ size => '11',
+ title => user.dateformat,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined;
+ compare_month = {
+ options => form.selectaccountingmonth.options,
+ name => 'comparemonth',
+ };
+ compare_year = {
+ options => form.selectaccountingyear.options,
+ name => 'compareyear',
+ };
+ -?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=compare_month -?>
+ <?lsmb PROCESS select element_data=compare_year -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ <tr>
+ <th align="right"><?lsmb text('Decimal Places') ?></th>
+ <td colspan="3"><?lsmb PROCESS input element_data={
+ name => 'decimalplaces',
+ size => '3',
+ value => '2',
+ } ?>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Method') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'accrual',
+ label => text('Accrual'),
+ checked => 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'method',
+ type => 'radio',
+ value => 'cash',
+ label => text('Cash'),
+ } -?>
+ </td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name => 'l_heading',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Heading'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_subtotal',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Subtotal'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_accno',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Account Number'),
+ } -?>
+ </td>
+ </tr>
diff --git a/UI/rp-search-inv_activity.html b/UI/rp-search-inv_activity.html
new file mode 100644
index 00000000..a6078eed
--- /dev/null
+++ b/UI/rp-search-inv_activity.html
@@ -0,0 +1,60 @@
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ <table>
+ <tr>
+ <th><?lsmb text('Part Number') ?></th>
+ <td><?lsmb PROCESS input element_data={name => 'partnumber'} ?></td>
+ <th><?lsmb text('Description') ?></th>
+ <td><?lsmb PROCESS input element_data={name => 'description'} ?></td>
+ </tr>
diff --git a/UI/rp-search-payments.html b/UI/rp-search-payments.html
new file mode 100644
index 00000000..54a3ca0b
--- /dev/null
+++ b/UI/rp-search-payments.html
@@ -0,0 +1,95 @@
+ <tr>
+ <th align="right"><?lsmb text('Account') ?></th>
+ <td colspan="3"><?lsmb PROCESS select element_data=form.paymentaccounts ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Description') ?></th>
+ <td colspan="3"><?lsmb PROCESS input element_data={
+ name => 'description',
+ size => '35',
+ } ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Source') ?></th>
+ <td colspan="3"><?lsmb PROCESS input element_data={name => 'source'} ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Memo') ?></th>
+ <td colspan="3"><?lsmb PROCESS input element_data={
+ name => 'memo',
+ size => '30',
+ } ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ <tr>
+ <td align="right">
+<?lsmb PROCESS input element_data={
+ type => 'checkbox',
+ name => 'fx_transaction',
+ value => '1',
+ checked => 'checked',
+ } -?>
+ </td>
+ <td colspan="3"><?lsmb text('Include Exchange Rate Difference') ?></td>
+ </tr>
+ <tr>
+ <td align="right">
+<?lsmb PROCESS input element_data={
+ type => 'checkbox',
+ name => 'l_subtotal',
+ value => 'Y',
+ } -?>
+ </td>
+ <td colspan="3"><?lsmb text('Subtotal') ?></td>
+ </tr>
diff --git a/UI/rp-search-projects.html b/UI/rp-search-projects.html
new file mode 100644
index 00000000..40ce0c32
--- /dev/null
+++ b/UI/rp-search-projects.html
@@ -0,0 +1,79 @@
+ <tr>
+ <th align="right"><?lsmb text('Project') ?></th>
+ <td colspan="3"><?lsmb PROCESS select element_data=form.selectproject ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('From') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'fromdate',
+ size => '11',
+ title => user.dateformat,
+ value => form.fromdate,
+ } ?></td>
+ <th align="right"><?lsmb text('To') ?></th>
+ <td><?lsmb PROCESS input element_data={
+ class => 'date',
+ name => 'todate',
+ size => '11',
+ title => user.dateformat,
+ value => form.todate,
+ } ?></td>
+ </tr>
+<?lsmb IF form.selectaccountingyear.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Period') ?></th>
+ <td colspan="3">
+ <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
+ <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '0',
+ label => text('Current'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '1',
+ label => text('Month'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '3',
+ label => text('Quarter'),
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'interval',
+ value => '12',
+ label => text('Year'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Include in Report') ?></th>
+ <td>
+<?lsmb PROCESS input element_data={
+ name => 'l_heading',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Heading'),
+ } -?>
+<?lsmb PROCESS input element_data={
+ name => 'l_subtotal',
+ type => 'checkbox',
+ value => 'Y',
+ label => text('Subtotal'),
+ } -?>
+ </td>
+ </tr>
diff --git a/UI/rp-search.html b/UI/rp-search.html
new file mode 100644
index 00000000..097319dd
--- /dev/null
+++ b/UI/rp-search.html
@@ -0,0 +1,53 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html ?>
+<body>
+<form method="post" action="<?lsmb form.script ?>">
+<table width="100%">
+ <tr><th class="listtop"><?lsmb form.title ?></th></tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td>
+ <table>
+<?lsmb IF form.selectdepartment.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Department') ?></th>
+ <td colspan="3"><?lsmb PROCESS select element_data=form.selectdepartment ?></td>
+ </tr>
+<?lsmb END ?>
+<?lsmb INCLUDE "rp-search-${subform}.html" ?>
+<?lsmb IF gifi ?>
+ <tr>
+ <th align="right"><?lsmb text('Accounts') ?></th>
+ <td>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'accounttype',
+ value => 'standard',
+ label => text('Standard'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'accounttype',
+ value => 'gifi',
+ label => text('GIFI'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ </td>
+ </tr>
+ <tr><td><hr size="3" noshade="noshade" /></td></tr>
+</table>
+<br />
+<?lsmb FOREACH hidden IN hiddens.keys;
+ PROCESS input element_data={
+ type => 'hidden',
+ name => hidden,
+ value => hiddens.item(hidden)
+ }; END ?>
+<?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
+</form>
+</body>
+</html>