summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-24 22:03:29 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-24 22:03:29 +0000
commitef73d20d3a666622b884941f49a0b7cefbb0ac70 (patch)
tree1fb8de9d702a75351c50e9c63a45a8f1404c18a5 /UI
parent27b2c2caf5ea455663253189c797bbbf4ab0807f (diff)
Adds add_co_code and moves to RAISE EXCEPTION for errors which prevent going forward
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2378 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/Contact/contact.css26
-rw-r--r--UI/Contact/contact.html21
2 files changed, 47 insertions, 0 deletions
diff --git a/UI/Contact/contact.css b/UI/Contact/contact.css
index 2f0575df..ff0e3903 100644
--- a/UI/Contact/contact.css
+++ b/UI/Contact/contact.css
@@ -31,3 +31,29 @@ div.note_contents {
div label {
margin-left: 1em;
}
+
+/* This shouldnot go in SVN trunk */
+#company_div .note_contents {
+ display: none;
+}
+
+table {
+ width: 100%;
+}
+
+#credit-row {
+ display: none;
+}
+
+#discount-gifi-row {
+ display: none;
+}
+
+#line-two {
+ display: none;
+}
+
+#line-three {
+ display: none;
+}
+
diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html
index 83d63c1a..9aeaad82 100644
--- a/UI/Contact/contact.html
+++ b/UI/Contact/contact.html
@@ -234,6 +234,9 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
</div>
<?lsmb END ?>
</div>
+<?lsmb IF entity_id;
+INCLUDE 'rates_div.html';
+END -?>
<?lsmb IF entity_id ?>
<div id="credit_div">
<div class="listtop"><strong>Accounts</strong></div>
@@ -545,6 +548,24 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
type = "text",
size = "20"
} ?>
+ <!--
+ if the following button and script show up in svn
+ /trunk, please remove them. -CT -->
+ <script type="text/javascript">
+ function show_lines(){
+ var e;
+ e = document.getElementById('line-two');
+ e.style.display = 'inline';
+ e = document.getElementById('line-three');
+ e.style.display = 'inline';
+ e = document.getElementById('show-lines-button');
+ e.style.display = 'none';
+ return false;
+ }
+ </script>
+ <button onclick="javascript: return show_lines()"
+ id="show-lines-button" type="button"><?lsmb text('Show More Lines') ?>
+ </button> <!-- end custom section -->
</div>
<div>
<?lsmb PROCESS input element_data = {