summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-13 01:15:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-13 01:15:47 +0000
commit1aaa9fe478fc2e9ea0fa744edb704ccacf46d07b (patch)
tree948069945fd10e396cb2c3876269fba31add977d /scripts
parentf7ae08a1336c4667e2fb4028d034a52fda7f492b (diff)
Correcting issues with draft editing.
Moving AA::post_transaction to use strict. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2392 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'scripts')
-rw-r--r--scripts/drafts.pl2
-rw-r--r--scripts/vendor.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/drafts.pl b/scripts/drafts.pl
index f7771f30..7d6008ec 100644
--- a/scripts/drafts.pl
+++ b/scripts/drafts.pl
@@ -11,7 +11,7 @@ sub search {
$request->{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},
diff --git a/scripts/vendor.pl b/scripts/vendor.pl
index 0f86c553..45a46cb6 100644
--- a/scripts/vendor.pl
+++ b/scripts/vendor.pl
@@ -23,7 +23,7 @@ package LedgerSMB::Scripts::vendor;
use LedgerSMB::DBObject::Vendor;
use base qw(LedgerSMB::ScriptLib::Company);
-require 'lsmb-request.pl';
+# require 'lsmb-request.pl';
sub set_entity_class {
my ($null, $request) = @_;