From ef73d20d3a666622b884941f49a0b7cefbb0ac70 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 24 Oct 2008 22:03:29 +0000 Subject: 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 --- LedgerSMB/GL.pm | 1 + UI/Contact/contact.css | 26 ++++++++++++++++++++++++++ UI/Contact/contact.html | 21 +++++++++++++++++++++ scripts/drafts.pl | 2 +- 4 files changed, 49 insertions(+), 1 deletion(-) diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm index 22976c2d..c399b1cf 100644 --- a/LedgerSMB/GL.pm +++ b/LedgerSMB/GL.pm @@ -564,6 +564,7 @@ sub transaction { my $results = $sth->fetchall_hashref('setting_key'); $form->{closedto} = $results->{'closedto'}->{'value'}; $form->{revtrans} = $results->{'revtrans'}->{'value'}; + #$form->{separate_duties} = $results->{'separate_duties'}->{'value'}; $sth->finish; $query = qq|SELECT g.*, d.description AS department 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 --> +
Accounts
@@ -545,6 +548,24 @@ problems with multi-word single-quoted constructs in PI tags. -CT --> type = "text", size = "20" } ?> + + +
{class_types} = [ {text => $request->{_locale}->text('AR'), value => 'ar'}, {text => $request->{_locale}->text('AP'), value => 'ap'}, - {text => $request->{_locale}->text('GL'), value => 'GL'}, + {text => $request->{_locale}->text('GL'), value => 'gl'}, ]; my $template = LedgerSMB::Template->new( user =>$request->{_user}, -- cgit v1.2.3