summaryrefslogtreecommitdiff
path: root/LedgerSMB/BP.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-14 05:19:11 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-14 05:19:11 +0000
commitdafa2c0c32b771543d1c674db414df3c5bce3b57 (patch)
treea8812220b4766b5ce93dea93061d5468057bf128 /LedgerSMB/BP.pm
parent72cb7707e2ccb9678ec0e7c2c06d6941af46fe98 (diff)
Batch printing works for checks. One odd bug remains however in that when you
print and post it sends a blank/invalid postscript or pdf to the screen. The item is properly queued however. There may be a difference as to how print and post works on the newer versions. Will have to continue to look into this. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@87 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/BP.pm')
-rwxr-xr-xLedgerSMB/BP.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/BP.pm b/LedgerSMB/BP.pm
index 1d863389..011a70d6 100755
--- a/LedgerSMB/BP.pm
+++ b/LedgerSMB/BP.pm
@@ -50,7 +50,7 @@ sub get_vc {
sales_quotation => ['oe'],
request_quotation => ['oe'],
timecard => ['jcitems'],
- check => ['ar'],
+ check => ['ap'],
);
my $query = "";
@@ -126,7 +126,7 @@ sub get_spoolfiles {
sales_quotation => ['oe'],
request_quotation => ['oe'],
timecard => ['jc'],
- check => ['ar'],
+ check => ['ap'],
);
($form->{transdatefrom}, $form->{transdateto}) = $form->from_to($form->{year}, $form->{month}, $form->{interval}) if $form->{year} && $form->{month};