projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bearbeiter und Verkäufer option bei Bericht Debitorenbuchungen
[kivitendo-erp.git]
/
SL
/
BP.pm
diff --git
a/SL/BP.pm
b/SL/BP.pm
index
b981f18
..
f2d0201
100644
(file)
--- a/
SL/BP.pm
+++ b/
SL/BP.pm
@@
-47,7
+47,6
@@
sub get_vc {
my $dbh = $form->dbconnect($myconfig);
my %arap = (invoice => 'ar',
my $dbh = $form->dbconnect($myconfig);
my %arap = (invoice => 'ar',
- packing_list => 'ar',
sales_order => 'oe',
purchase_order => 'oe',
sales_quotation => 'oe',
sales_order => 'oe',
purchase_order => 'oe',
sales_quotation => 'oe',
@@
-183,7
+182,7
@@
sub get_spoolfiles {
}
}
}
}
- if ($form->{type} =~ /(invoice|sales_order|sales_quotation|p
acking_list|p
uchase_order|request_quotation)$/) {
+ if ($form->{type} =~ /(invoice|sales_order|sales_quotation|puchase_order|request_quotation)$/) {
if ($form->{transdatefrom}) {
$query .= " AND a.transdate >= ?";
push(@values, $form->{transdatefrom});
if ($form->{transdatefrom}) {
$query .= " AND a.transdate >= ?";
push(@values, $form->{transdatefrom});
@@
-222,7
+221,9
@@
sub get_spoolfiles {
sub delete_spool {
$main::lxdebug->enter_sub();
sub delete_spool {
$main::lxdebug->enter_sub();
- my ($self, $myconfig, $form, $spool) = @_;
+ my ($self, $myconfig, $form) = @_;
+
+ my $spool = $::lx_office_conf{paths}->{spool};
# connect to database, turn AutoCommit off
my $dbh = $form->dbconnect_noauto($myconfig);
# connect to database, turn AutoCommit off
my $dbh = $form->dbconnect_noauto($myconfig);
@@
-265,7
+266,9
@@
sub delete_spool {
sub print_spool {
$main::lxdebug->enter_sub();
sub print_spool {
$main::lxdebug->enter_sub();
- my ($self, $myconfig, $form, $spool, $output) = @_;
+ my ($self, $myconfig, $form, $output) = @_;
+
+ my $spool = $::lx_office_conf{paths}->{spool};
# connect to database
my $dbh = $form->dbconnect($myconfig);
# connect to database
my $dbh = $form->dbconnect($myconfig);