summaryrefslogtreecommitdiff
path: root/LedgerSMB/BP.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-13 06:45:11 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-13 06:45:11 +0000
commit9c7983f5cd23027bdd73694bfc3b5d269af9998b (patch)
tree61f0c9c0d163c0ffdd3ae8f49412d94058c6a2f4 /LedgerSMB/BP.pm
parent3f15acabf8761a9c2e2b9722e184a565262bc501 (diff)
Added most of the code for batch printing for checks. Doesn't quite work yet
but nothing else should be broken. If we have to, I suppose we could disable the UI option in the next release if necessary. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@81 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/BP.pm')
-rwxr-xr-xLedgerSMB/BP.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/LedgerSMB/BP.pm b/LedgerSMB/BP.pm
index 098d814b..1d863389 100755
--- a/LedgerSMB/BP.pm
+++ b/LedgerSMB/BP.pm
@@ -49,7 +49,9 @@ sub get_vc {
bin_list => ['oe'],
sales_quotation => ['oe'],
request_quotation => ['oe'],
- timecard => ['jcitems'],);
+ timecard => ['jcitems'],
+ check => ['ar'],
+ );
my $query = "";
my $sth;
@@ -123,7 +125,9 @@ sub get_spoolfiles {
bin_list => ['oe'],
sales_quotation => ['oe'],
request_quotation => ['oe'],
- timecard => ['jc'],);
+ timecard => ['jc'],
+ check => ['ar'],
+ );
($form->{transdatefrom}, $form->{transdateto}) = $form->from_to($form->{year}, $form->{month}, $form->{interval}) if $form->{year} && $form->{month};