X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4c996a3d4df205f272f6c6cb86c1cdfec1ade49d..8c13a44401f79c4960ff28db1aa0dddda9e5413f:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index 8be0c8f81..e909890f8 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -142,14 +142,7 @@ sub post_transaction { # amount for total AP $form->{payables} = $form->{invtotal}; - print(STDERR $form->{payables}, - " Payables\n", - $form->{invtotal}, - " Invtotal\n", - $form->{netamount}, - " Netamount\n", - $form->{total_tax}, - " Total_Tax\n\n"); + my ($query, $sth); # if we have an id delete old records @@ -449,7 +442,7 @@ sub ap_transactions { push @a, "employee" if $self->{l_employee}; my $sortorder = join ', ', $form->sort_columns(@a); $sortorder = $form->{sort} if $form->{sort}; - + $query .= "WHERE $where ORDER by $sortorder";