summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
Diffstat (limited to 'UI')
-rw-r--r--UI/approved.html28
-rw-r--r--UI/correct.htmlbin0 -> 72 bytes
-rw-r--r--UI/corrections.html39
-rw-r--r--UI/get_password.html45
-rw-r--r--UI/report.html52
-rw-r--r--UI/voucher.html35
6 files changed, 199 insertions, 0 deletions
diff --git a/UI/approved.html b/UI/approved.html
new file mode 100644
index 00000000..16afc6cc
--- /dev/null
+++ b/UI/approved.html
@@ -0,0 +1,28 @@
+<div>
+ <center>
+ Bank statement for <?lsmbaccount?> on <?lsmbdate?> has been approved!
+ </center>
+</div>
+
+<table border=0 style="opacity:50%;">
+
+ <tr>
+ <td>Clear date</td>
+ <td>Transaction Type</td>
+ <td>Our Balance</td>
+ <td>Their Balance</td>
+ <td>Error Corrections</td>
+ <td>Error Code</td>
+ </tr>
+
+ <?lsmb FOREACH row = records ?>
+ <tr>
+ <td><?lsmb row.clear_time ?></td>
+ <td><?lsmb row.transaction_type ?> </td>
+ <td><?lsmb row.our_balance ?></td>
+ <td><?lsmb row.their_balance?></td>
+ <td><?lsmb row.corrections ?></td>
+ <td><?lsmb row.errorcode ?></td>
+ </tr>
+ <?lsmb END ?>
+</table> \ No newline at end of file
diff --git a/UI/correct.html b/UI/correct.html
new file mode 100644
index 00000000..e9cb708a
--- /dev/null
+++ b/UI/correct.html
Binary files differ
diff --git a/UI/corrections.html b/UI/corrections.html
new file mode 100644
index 00000000..bdf7424a
--- /dev/null
+++ b/UI/corrections.html
@@ -0,0 +1,39 @@
+<table border=0>
+ <tr>
+ <td>Clear date</td>
+ <td>Transaction Type</td>
+ <td>Our Balance</td>
+ <td>Their Balance</td>
+ </tr>
+ <tr>
+ <td><?lsmb entry.clear_time ?></td>
+ <td><?lsmb entry.transaction_type ?> </td>
+ <td><?lsmb entry.our_balance ?></td>
+ <td><?lsmb entry.their_balance?></td>
+ </tr>
+</table>
+
+<?lsmb IF NOT corrections ?>
+Corrections:
+<table border=0>
+ <?lsmb FOREACH row = corrections ?>
+ <tr>
+ <td>
+ <div>
+ <span><?lsmbrow.user?> at <?lsmbrow.insert_time?></span>
+ <div>
+ <?lsmbrow.reason?>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <?lsmbEND?>
+
+</table>
+<?lsmbELSE?>
+
+<div>
+ No corrections found.
+</div>
+
+<?lsmbEND?> \ No newline at end of file
diff --git a/UI/get_password.html b/UI/get_password.html
new file mode 100644
index 00000000..4f3bfc9a
--- /dev/null
+++ b/UI/get_password.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title><?lsmb titlebar ?></title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" />
+ <link rel="stylesheet" href="UI/employee.css" type="text/css" />
+
+ <meta http-equiv="content-type"
+ content="text/html; charset=utf-8" />
+ <meta name="robots" content="noindex,nofollow" />
+<script language="JavaScript" type="text/javascript">
+<!--
+function focus_input(){
+ document.getpassword.password.focus();
+}
+// End -->
+</script>
+</head>
+<body onload="focus_input()">
+<?lsmb IF sessionexpired ?>
+ <p><span class="warning_label">
+ <?lsmb text('Session expired!') ?>
+ </span></p>
+<?lsmb END ?>
+<form method="post" action="<?lsmb script ?>" name="getpassword">
+
+<div>
+ <span align=right class="label"> <?lsmb text('Password') ?> </span>
+ <span class="input"><input type="password" name="password" size="30"/>
+ </span>
+ <span class="input"><button type="submit" value="continue">
+ <?lsmb text('Continue') ?>
+ </button></span>
+</div>
+
+<?lsmb FOREACH var = hidden ?>
+<input name="<?lsmb var.name ?>" type="hidden" value="<?lsmb var.value ?>" />
+</form>
+
+</body>
+</html>
diff --git a/UI/report.html b/UI/report.html
new file mode 100644
index 00000000..cd6c8972
--- /dev/null
+++ b/UI/report.html
@@ -0,0 +1,52 @@
+<center>Reconciliation Report for [% total.account %] for the month of [%total.month%]</center>
+
+<center>
+ [%IF total.errorcode != 0 %]
+ <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;">
+ [%ELSE%]
+ <div style="color:red; border-style:solid; border-width:1px; border-color: blue;">
+ [%END%]
+ Our Balance: total.our_balance | Bank Balance: total.their_balance
+ </div>
+</center>
+
+<center>Report generated by [% total.user %]</center>
+
+[% if recon.error %]
+<div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" >
+ [% recon.error %]
+</div>
+[%end%]
+
+<table border=0>
+
+ <tr>
+ <td>Clear date</td>
+ <td>Transaction Type</td>
+ <td>Our Balance</td>
+ <td>Their Balance</td>
+ <td>Error Corrections</td>
+ <td>Error Code</td>
+ </tr>
+
+ [% FOREACH row = records %]
+ [%IF row.errorcode != 0 %]
+ <tr style="background-color:red;">
+ [% ELSIF row.id = corrected %]
+ <tr style="background-color:yellow;">
+ [%ELSE%]
+ <tr>
+ [%END%]
+ <td>[% row.clear_time %]</td>
+ <td>[% row.transaction_type %] </td>
+ <td>[% row.our_balance %]</td>
+ <td>[% row.their_balance%]</td>
+ <td>[% row.corrections %]</td>
+ [% IF row.errorcode > 0 %]
+ <td>[% row.errorcode %] <a href="/reconciliation.pl?corrections&amp;entry=[%row.entry_id%]">View Corrections</a> </td>
+ [%ELSE%]
+ <td>0</td>
+ [%END%]
+ </tr>
+ [% END %]
+</table> \ No newline at end of file
diff --git a/UI/voucher.html b/UI/voucher.html
new file mode 100644
index 00000000..4cf6bf29
--- /dev/null
+++ b/UI/voucher.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title><?lsmb titlebar ?></title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" />
+ <link rel="stylesheet" href="UI/employee.css" type="text/css" />
+
+ <meta http-equiv="content-type"
+ content="text/html; charset=<?lsmb charset ?>" />
+ <meta name="robots" content="noindex,nofollow" />
+</head>
+<body>
+<div id="title" class="pageheader"><span>GL Voucher Reports</span></div>
+<div id="filter">
+ <div id="date_from" class="header_entry">
+ <span class="label" id="date_from_label">Date From:</span>
+ <span class="field" id="date_from_field"><input name="date_from"></span>
+ </div>
+ <div id="date_to" class="header_entry">
+ <span class="label" id="date_to_label">Date To:</span>
+ <span class="field" id="date_to_field"><input name="date_to"></span>
+ </div>
+ <div id="include_date" class="header_entry">
+ <span class="label" id="include_date_label">And Date:</span>
+ <span class="field" id="include_date_field">
+ <input name="include_date">
+ </span>
+ </div>
+</body>
+</body>
+</html>