summaryrefslogtreecommitdiff
path: root/UI/pos-receipts.html
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-15 00:40:15 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-15 00:40:15 +0000
commitafa0644850bc67077861b9cc57495bb38e38351a (patch)
tree2d685ee1de94e72506c3316bc5e190732def8b3d /UI/pos-receipts.html
parent812247d1bb08e01f7a413a52958e7918a752ff81 (diff)
Converting receipt time period selection to template
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1755 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/pos-receipts.html')
-rw-r--r--UI/pos-receipts.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/UI/pos-receipts.html b/UI/pos-receipts.html
new file mode 100644
index 00000000..60d42af9
--- /dev/null
+++ b/UI/pos-receipts.html
@@ -0,0 +1,64 @@
+<?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 height="5"></tr>
+ <tr>
+ <td>
+ <table>
+ <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;
+ PROCESS select element_data=form.selectaccountingyear;
+ PROCESS input element_data={type => 'radio', name => 'interval', value => '0', label => text('Current'), checked => 'checked'};
+ PROCESS input element_data={type => 'radio', name => 'interval', value => '1', label => text('Month')};
+ PROCESS input element_data={type => 'radio', name => 'interval', value => '3', label => text('Quarter')};
+ PROCESS input element_data={type => 'radio', name => 'interval', value => '12', label => text('Year')} ?>
+ </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;
+PROCESS button element_data=buttons.0 ?>
+</form>
+</body>
+</html>