From 4fff0f4b1155fa0e1085d27c891c55de08bcbd29 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sat, 3 Nov 2007 20:31:44 +0000 Subject: Templating history search and search forms git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1846 4979c152-3d1c-0410-bac9-87ea11338e46 --- UI/ct-search.html | 458 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 458 insertions(+) create mode 100644 UI/ct-search.html (limited to 'UI') diff --git a/UI/ct-search.html b/UI/ct-search.html new file mode 100644 index 00000000..bd0dfaf6 --- /dev/null +++ b/UI/ct-search.html @@ -0,0 +1,458 @@ + + + +
+ + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
'32', name => 'name'} ?>
'32', name => 'contact'} ?>
'32', name => 'email'} ?>
'20', name => 'phone'} ?>
'32', name => 'employee'} ?> '32', name => 'employee'} ?>
'3', cols => '32', name => 'notes'} ?>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
'32', name => "${form.db}number"} ?>
'32', name => 'address'} ?>
'32', name => 'city'} ?>
'32', name => 'state'} ?>
'10', name => 'zipcode'} ?>
'32', name => 'country'} ?>
+ '11', name => 'startdatefrom', class => 'date', title => user.dateformat}; + text('To'); ' '; PROCESS input element_data={ + size => '11', name => 'startdateto', class => 'date', title => user.dateformat} ?> +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + +
+ 'radio', + name => 'type', + value => 'invoice', + label => form.invlabel, + checked => 'checked', + } -?> +
+ 'radio', + name => 'type', + value => 'order', + label => form.ordlabel, + } -?> +
+ 'radio', + name => 'type', + value => 'quotation', + label => form.quolabel, + } -?> +
+
+ + + + + + + + + + +
'11', name => 'transdatefrom', class => 'date', title => user.dateformat} -?> '11', name => 'transdateto', class => 'date', title => user.dateformat} -?>
+ + 'open', + type => 'checkbox', + value => 'Y', + label => text('Open'), + checked => 'checked' + } -?> + 'closed', + type => 'checkbox', + value => 'Y', + label => text('Closed'), + } -?> +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ 'history', + type => 'radio', + value => 'summary', + label => text('Summary'), + checked => 'checked', + } -?> + + 'history', + type => 'radio', + value => 'detail', + label => text('Detail'), + } -?> +
+ 'l_partnumber', + type => 'checkbox', + value => 'Y', + label => text('Part Number'), + checked => 'checked', + } -?> + + 'l_description', + type => 'checkbox', + value => 'Y', + label => text('Description'), + checked => 'checked', + } -?> + + 'l_sellprice', + type => 'checkbox', + value => 'Y', + label => text('Sell Price'), + checked => 'checked', + } -?> + + 'l_curr', + type => 'checkbox', + value => 'Y', + label => text('Currency'), + } -?> +
+ 'l_qty', + type => 'checkbox', + value => 'Y', + label => text('Qty'), + } -?> + + 'l_unit', + type => 'checkbox', + value => 'Y', + label => text('Unit'), + } -?> + + 'l_discount', + type => 'checkbox', + value => 'Y', + label => text('Discount'), + } -?> +
+ 'l_deliverydate', + type => 'checkbox', + value => 'Y', + label => text('Delivery Date'), + } -?> + + 'l_projectnumber', + type => 'checkbox', + value => 'Y', + label => text('Project Number'), + } -?> + + 'l_serialnumber', + type => 'checkbox', + value => 'Y', + label => text('Serial Number'), + } -?> +
+
+ + 'status', type => 'radio', value => 'all', label => text('All'), checked => 'checked'} -?> + 'status', type => 'radio', value => 'active', label => text('Active')} -?> + 'status', type => 'radio', value => 'inactive', label => text('Inactive')} -?> + 'status', type => 'radio', value => 'orphaned', label => text('Orphaned')} -?> +
+ + + + + + +
+ + + + + + + + + + + + + +
+ 'l_transnumber', + type => 'checkbox', + value => 'Y', + label => form.translabel, + } -?> +
+ 'l_invnumber', + type => 'checkbox', + value => 'Y', + label => form.invlabel, + } -?> +
+ 'l_ordnumber', + type => 'checkbox', + value => 'Y', + label => form.ordlabel, + } -?> +
+ 'l_quonumber', + type => 'checkbox', + value => 'Y', + label => form.quolabel, + } -?> +
+
+ + + + + + + + + + + + + +
+ 'transdatefrom', + class => 'date' + size => '11', + title => user.dateformat, + } -?> + + 'transdateto', + class => 'date' + size => '11', + title => user.dateformat, + } -?> +
+ + 'open', + type => 'checkbox', + value => 'Y', + label => text('Open'), + checked => 'checked' + } -?> + 'closed', + type => 'checkbox', + value => 'Y', + label => text('Closed'), + } -?> +
+ + 'l_amount', + type => 'checkbox', + value => 'Y', + label => text('Amount'), + checked => 'checked' + } -?> + 'l_tax', + type => 'checkbox', + value => 'Y', + label => text('Tax'), + checked => 'checked' + } -?> + 'l_total', + type => 'checkbox', + value => 'Y', + label => text('Total'), + checked => 'checked' + } -?> + 'l_subtotal', + type => 'checkbox', + value => 'Y', + label => text('Subtotal'), + } -?> +
+
+
+ + + + + + + + +
+ +
+
+

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