[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] CVS: koha/sec writeoff.pl,1.1.1.1,1.2
From: |
Chris Cormack |
Subject: |
[Koha-devel] CVS: koha/sec writeoff.pl,1.1.1.1,1.2 |
Date: |
Tue, 27 Mar 2001 13:45:53 -0800 |
Update of /cvsroot/koha/koha/sec
In directory usw-pr-cvs1:/tmp/cvs-serv5450/sec
Modified Files:
writeoff.pl
Log Message:
Getting writeoff stats being stored as well
Index: writeoff.pl
===================================================================
RCS file: /cvsroot/koha/koha/sec/writeoff.pl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** writeoff.pl 2000/12/19 23:45:57 1.1.1.1
--- writeoff.pl 2001/03/27 21:45:50 1.2
***************
*** 7,10 ****
--- 7,11 ----
use CGI;
use C4::Database;
+ use C4::Stats;
my $input=new CGI;
***************
*** 44,48 ****
--- 45,51 ----
sub writeoff{
my ($bornum,$accountnum,$itemnum,$accounttype,$amount)address@hidden;
+ my $user=$input->remote_user;
my $dbh=C4Connect;
+ my $env;
my $query="Update accountlines set amountoutstanding=0 where ";
if ($accounttype eq 'Res'){
***************
*** 68,70 ****
--- 71,74 ----
# print $query;
$dbh->disconnect;
+ UpdateStats($env,$user,'writeoff',$amount,'','','',$bornum);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] CVS: koha/sec writeoff.pl,1.1.1.1,1.2,
Chris Cormack <=
- Prev by Date:
[Koha-devel] CVS: koha/C4 Stats.pm,1.1.1.1,1.2 Accounts2.pm,1.1.1.1,1.2
- Next by Date:
[Koha-devel] CVS: koha/C4/Circulation Circ2.pm,1.13,1.14
- Previous by thread:
[Koha-devel] CVS: koha/C4 Stats.pm,1.1.1.1,1.2 Accounts2.pm,1.1.1.1,1.2
- Next by thread:
[Koha-devel] CVS: koha/C4/Circulation Circ2.pm,1.13,1.14
- Index(es):