summaryrefslogtreecommitdiff
path: root/UI/payments
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-19 23:18:45 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-19 23:18:45 +0000
commit635395c51afa1b60d892ae5f28f4e2250d7996b5 (patch)
tree0afba7c1a96b592881369ffa26bd75d418266b25 /UI/payments
parent0ef6a8f78de1288fcd4063d31252f5a4212f3272 (diff)
Adding Missing Template for Payments Reversals
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2109 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/payments')
-rw-r--r--UI/payments/search.html116
1 files changed, 116 insertions, 0 deletions
diff --git a/UI/payments/search.html b/UI/payments/search.html
new file mode 100644
index 00000000..fd394e98
--- /dev/null
+++ b/UI/payments/search.html
@@ -0,0 +1,116 @@
+<?lsmb INCLUDE 'ui-header.html'
+ include_stylesheet = [
+ 'css/global.css'
+ 'UI/payments/payments.css'
+ stylesheet
+ ]
+ titlebar = text('Search Payments') # '
+?><?lsmb PROCESS 'elements.html' ?>
+<body>
+<?lsmb IF account_class == 2 ?><?lsmb contact_type = "Customer" -?>
+<?lsmb ELSIF account_class == 1 ?><?lsmb contact_type = "Vendor" -?>
+<?lsmb ELSE ?><?lsmb contact_type = "Unsupported" -?>
+<?lsmb END # if account_class -?>
+<!-- CT: Text strings for localization:
+ <?lsmb text('Customer Number') ?>
+ <?lsmb text('Vendor Number') ?>
+ <?lsmb text('Unsupported Number') ?>
+-->
+<form action="payment.pl" method="post" name="main_form"
+ id="payment_search_form">
+ <?lsmb INCLUDE input element_data = {
+ type = "hidden"
+ name = "batch_id"
+ value = batch_id
+ } ?>
+ <?lsmb INCLUDE input element_data = {
+ type = "hidden"
+ name = "account_class"
+ value = account_class
+ } ?>
+<div class="listtop" id="page_title"><?lsmb text('Search Payments') ?></div>
+<div class="input" id="vendor_input_div">
+ <?lsmb INCLUDE input element_data = {
+ name = "meta_number"
+ value = meta_number
+ class = "text"
+ type = "text"
+ size = "20"
+ label = text("$contact_type Number") # "
+ } ?><!-- CT: Not yet working for search.
+ <?lsmb INCLUDE input element_data = {
+ name = "name"
+ value = name
+ class = "text"
+ type = "text"
+ size = "20"
+ label = text('Name')
+ } ?> --></div>
+<div class="input" id="account_input_div">
+ <?lsmb INCLUDE select element_data = {
+ name = "cash_accno"
+ options = cash_accounts
+ default_values = [cash_accno]
+ class = "account"
+ value_attr = "accno"
+ label = text('Cash Account') # '
+ } ?></div>
+<div class="input" id="source_input_div">
+ <?lsmb INCLUDE input element_data = {
+ name = "source"
+ value = source
+ class = "text"
+ type = "text"
+ size = "20"
+ label = text('Source')
+ } ?></div>
+<div class="input" id="date_input_div">
+ <?lsmb INCLUDE input element_data = {
+ name = "date_from"
+ value = date_from
+ class = "date"
+ type = "text"
+ size = "20"
+ label = text('From Date') # '
+ } ?>
+ <?lsmb INCLUDE input element_data = {
+ name = "date_to"
+ value = date_to
+ class = "date"
+ type = "text"
+ size = "20"
+ label = text('Through Date') # '
+ } ?></div>
+<?lsmb IF ! search_only ?>
+<div class="listtop"><?lsmb text('Payment Reversal Information') ?></div>
+<div class="input">
+ <?lsmb IF batch_id -?>
+ <label for="batch_post_span"><?lsmb text('Date Reversed') ?></label>
+ <span id="batch_post_span"><?lsmb date_reversed ?></span>
+ <?lsmb INCLUDE input element_data = {
+ type = "hidden"
+ value = date_reversed
+ name = "date_reversed"
+ } ?>
+ <?lsmb ELSE -?>
+ <?lsmb INCLUDE input element_data = {
+ name = "date_reversed"
+ value = date_reversed
+ type = "text"
+ size = "20"
+ class = "date"
+ label = text('Date Reversed') # '
+ } ?>
+ <?lsmb END # if batch_id ?></div>
+<?lsmb END # if ! search_only -?>
+<div class="input" id="search_button_div">
+ <?lsmb INCLUDE button element_data = {
+ name = "action"
+ type = "submit"
+ class = "submit"
+ value = "get_search_results"
+ text = text('Search')
+ } ?></div>
+</form>
+</body>
+</html>