koha.git
17 years agomemberentryC.tmpl:add test to modify link name
btoumi [Wed, 14 Jun 2006 15:59:37 +0000 (15:59 +0000)]
memberentryC.tmpl:add test to modify link name
memberentry.pl:add test to return default value for select_city

17 years agomemberentryC.tmpl: modify and add conditions
btoumi [Tue, 13 Jun 2006 15:25:17 +0000 (15:25 +0000)]
memberentryC.tmpl: modify and add conditions
moremember.tmpl:add op value in url (modify)
memberentry.pl:modify condition

17 years agoborraccount.tmpl , mancredit.tmpl , maininvoice.tmpl : bug fix modify wrong url
btoumi [Tue, 13 Jun 2006 09:54:30 +0000 (09:54 +0000)]
borraccount.tmpl  , mancredit.tmpl , maininvoice.tmpl : bug fix modify wrong url
pay.tmpl , readingrec.tmpl : add back button

17 years agopay.pl: bug fix , add variable declaration
btoumi [Tue, 13 Jun 2006 09:19:18 +0000 (09:19 +0000)]
pay.pl: bug fix , add variable declaration
pay.tmpl bug fix modify wrong url to access pay.pl
add back url ( from pay.tmpl to moremember.tmpl )
memberentry.pl: replace variable name

17 years agoFixing missing parametrs for bookfundbreakdown
rangi [Tue, 13 Jun 2006 08:45:04 +0000 (08:45 +0000)]
Fixing missing parametrs for bookfundbreakdown

17 years agoRevised and greatly enlarged to near completion Koha MARC 21 standard
thd [Tue, 13 Jun 2006 02:50:35 +0000 (02:50 +0000)]
Revised and greatly enlarged to near completion Koha MARC 21 standard
bibliographic framework.

17 years agomembers.pm: add field fax in getguarantordata function
btoumi [Mon, 12 Jun 2006 15:12:11 +0000 (15:12 +0000)]
members.pm: add field  fax  in getguarantordata function
memberentry.pl : move getgarantordata use before step1
and add default_city value from guarantor  data (if exist)

17 years agobug fix:syntax error with hashref
btoumi [Mon, 12 Jun 2006 13:40:08 +0000 (13:40 +0000)]
bug fix:syntax error with hashref

17 years agoMembers.pm: modify getborrowercategory function to return dateofbirthrequired and...
btoumi [Mon, 12 Jun 2006 13:00:40 +0000 (13:00 +0000)]
Members.pm: modify getborrowercategory function  to return dateofbirthrequired and upperagelimit
memberentryC and P  : add error message ERROR_age_limitations
memberentry.pl : replace sql request  by function getborrowercategory for return upperagelimit and dateofbirthrequired
moremember.pl: modify call to function getborrowercategory

17 years agobug fixing :
alaurin [Mon, 12 Jun 2006 09:38:52 +0000 (09:38 +0000)]
bug fixing :

   - Printer selection for add a new branch, is now working

   - the branchname of librarian is not display automaticly if you add a new branch

   - the printqueue is now displayed on branches infos page and edit branch page

17 years agoadd call to doc-head-open.inc and doc-head-close.inc
btoumi [Mon, 12 Jun 2006 08:35:58 +0000 (08:35 +0000)]
add call to doc-head-open.inc and doc-head-close.inc
delete direct call to common-style.css

17 years ago-bug fix :modify condition to autoinsert value in city and zipcode field (in borrowe...
btoumi [Fri, 9 Jun 2006 15:10:39 +0000 (15:10 +0000)]
-bug fix :modify condition to autoinsert value in  city and zipcode field (in borrowers form 2)
-add fonctionnality to affect good default value in $GIbranch

17 years agobug fixing :
alaurin [Fri, 9 Jun 2006 12:06:15 +0000 (12:06 +0000)]
bug fixing :
- for the userenv cookie, the branch, is now correctly implemented with the ip check .....

17 years agoFixing the missing , i just missed
rangi [Fri, 9 Jun 2006 11:49:12 +0000 (11:49 +0000)]
Fixing the missing , i just missed

I shouldnt commit things at midnight

17 years agoFixing a bug that bruno spotted, $bookfund in receiveorder
rangi [Fri, 9 Jun 2006 11:47:53 +0000 (11:47 +0000)]
Fixing a bug that bruno spotted, $bookfund in receiveorder

17 years agobug fix : navigation's problem in differents borrowers forms
btoumi [Fri, 9 Jun 2006 11:34:39 +0000 (11:34 +0000)]
bug fix : navigation's problem  in differents borrowers forms

17 years agoAdd a new system preference 'AutomaticItemReturn' :
alaurin [Thu, 8 Jun 2006 15:36:31 +0000 (15:36 +0000)]
Add a new system preference 'AutomaticItemReturn' :

if this prefence is switched on: the document returned in another library than homebranch, the system automaticly transfer the document to his homebranch (with notification for librarian in returns.tmpl) .

switch off : the document stay in the holdingbranch ...

correcting bugs :
- comment C4::acquisition (not using in request.pl).
- correcting date in request.pl
-add the new call of function getbranches in request.pl

17 years agoOOPS, adding back Joshua's changes.
sushi [Wed, 7 Jun 2006 19:49:11 +0000 (19:49 +0000)]
OOPS, adding back Joshua's changes.
Adds script support for IntranetNav ... see mail to koha-devel for
details.
Adds support for intranetstylesheet system pref in Koha scripts.
Adds support for intranetcolorstylesheet.

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 19:33:33 +0000 (19:33 +0000)]
perltidy before commit.

17 years agoslight change in receiveorder() call, added bookfund arg. bookfund now updated during...
sushi [Wed, 7 Jun 2006 19:25:59 +0000 (19:25 +0000)]
slight change in receiveorder() call, added bookfund arg. bookfund now updated during receive for HLT.

Mason's ACQ fixes from HLT-DEV , work in progress.

Adding code to check existing orders in basket to avoid duplication of rows.

Addorder() now allows the user to select whether: the bibitem for the order will be an existing bibitem, or a newly created  bibitem.

adding back in the part the saves the edit page's changes.

Fix for bug 3589, can now order and receive donations in one go.

Fixing a bug, acquisitions wasnt making a new biblioitem when needed.

17 years agoperltidy before next commit.
sushi [Wed, 7 Jun 2006 19:14:06 +0000 (19:14 +0000)]
perltidy before next commit.

17 years agomembers.js :translate javascript message
btoumi [Wed, 7 Jun 2006 14:55:36 +0000 (14:55 +0000)]
members.js :translate javascript message
moremember.tmpl:change wrong url
Members.pm: change wrong field name in sql request(sub newmember)
memberentryA.tmpl : change wrong field name
memberentry.pl:change test condition (checkuniquemember)

17 years agochange the name of function : "get_return_date_of" to "get_current_date_of"
alaurin [Wed, 7 Jun 2006 13:47:55 +0000 (13:47 +0000)]
change the name of function : "get_return_date_of" to "get_current_date_of"

17 years agofix syntax error:change field name
btoumi [Wed, 7 Jun 2006 11:38:23 +0000 (11:38 +0000)]
fix syntax error:change field name

17 years agoImprove SQL formatting (following coding guidelines)
plg [Wed, 7 Jun 2006 11:03:17 +0000 (11:03 +0000)]
Improve SQL formatting (following coding guidelines)

17 years agobug fix: change bad name of function
btoumi [Wed, 7 Jun 2006 10:15:58 +0000 (10:15 +0000)]
bug fix: change bad name of function
translate template in english ( i hope it's right :=))
delete call to css
change size of popup window

17 years agoadd borrowers_details.pl and borrowers_details.tmpl:
btoumi [Wed, 7 Jun 2006 09:15:00 +0000 (09:15 +0000)]
add borrowers_details.pl and borrowers_details.tmpl:
to show details from borrowors double

17 years agobug fix: syntax error in sub getbranches
btoumi [Wed, 7 Jun 2006 07:50:04 +0000 (07:50 +0000)]
bug fix: syntax error in sub getbranches

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:56:55 +0000 (04:56 +0000)]
merging katipo changes...

Added the ability to display all branches opening/closing times on the opac
homepage

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:43:48 +0000 (04:43 +0000)]
merging katipo changes...

allow the getting of only issuing branches only

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:39:37 +0000 (04:39 +0000)]
merging katipo changes...

adding in new set_transit sub

17 years agoMerging in some more changes to allow to resort the reserve list
rangi [Wed, 7 Jun 2006 04:34:21 +0000 (04:34 +0000)]
Merging in some more changes to allow to resort the reserve list

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 04:29:10 +0000 (04:29 +0000)]
Merging Katipo changes.
Fix for bug 3589, can now order and receive donations in one go.
Also a fix to allow user to create a new item, attached to an exisiting bibitem.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:13:22 +0000 (04:13 +0000)]
merging katipo changes...

Adding flag for being in credit vs being in debt and added checks to see if
one can renew before trying to renew

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 04:01:00 +0000 (04:01 +0000)]
perltidy before commit.

17 years agoMerging in Katipo changes plus perltidy code format
rangi [Wed, 7 Jun 2006 03:58:37 +0000 (03:58 +0000)]
Merging in Katipo changes plus perltidy code format

17 years ago*** empty log message ***
sushi [Wed, 7 Jun 2006 03:55:54 +0000 (03:55 +0000)]
*** empty log message ***

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 03:47:50 +0000 (03:47 +0000)]
Merging Katipo changes.
call to receiveorder() now takes $bookfund as arg.
Mason's ACQ fixes from HLT-DEV , work in progress
Added regex to convert & to %26 before redirect to receive.pl.
Now has error alert for blank barcode field, and little tidyup.
finishreceive.pl now updates aqorder table's order record with lastest added biblioitem for that order, so ordersearch() now returns the acq-orders most recently created bibitem info, instead of the initally created biblitem info.
Now redirects back to acquire.pl if barcode exists or newitems() fails.
Now allows user to create a new biblioitem/item using a checkbox.
Adding option so magazines make new biblioitems as well as items - in testing stage
adding in the update for the replacement cost on the item table when editing a received order via
adding a bit to allow hlt to edit received order bit and not fail on duplicate barcode
added elsif to handle dup barcode error.
Fix to handle dup barcodes for newitem(), displays error the goes back to acquire.pl.
Now checks to see if newly created item is currently reserved.
Fix for the receive periodicals bit
Catching any errors when making items
More bugfixing this time a bug not saving volume info
Fix for bug 3529, allow freight to be distributed among the items
Now saves modified fields.

17 years agoGiving the correct info to update stats
rangi [Wed, 7 Jun 2006 03:36:51 +0000 (03:36 +0000)]
Giving the correct info to update stats

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 03:30:44 +0000 (03:30 +0000)]
Merging Katipo changes.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 03:29:19 +0000 (03:29 +0000)]
merging katipo changes...

frbranchcd was being passed tobranch info from transferbook

17 years agoAdding a sprintf so fines show up to 2 decimal places
rangi [Wed, 7 Jun 2006 03:27:51 +0000 (03:27 +0000)]
Adding a sprintf so fines show up to 2 decimal places

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 03:25:01 +0000 (03:25 +0000)]
perltidy before commit.

17 years agoShows reserves for a given branch
rangi [Wed, 7 Jun 2006 03:18:55 +0000 (03:18 +0000)]
Shows reserves for a given branch

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 03:11:35 +0000 (03:11 +0000)]
merging katipo changes...

Adding the ability to have charge discounts on items for certain patrons

17 years agoAllowing the rental discount to be modified here too.
rangi [Wed, 7 Jun 2006 03:00:48 +0000 (03:00 +0000)]
Allowing the rental discount to be modified here too.
Rental discount effects the amount a borrower is charge to issue an item

eg, if a borrower category has rental discount of 20 (its a percentage) on itemtypes DVD, and a dvd costs $2 to borrow normally, then it will cos them $1.60
If not set it defaults to zero

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 02:59:10 +0000 (02:59 +0000)]
perltidy before commit.

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:45:26 +0000 (02:45 +0000)]
Merging Katipo changes.
Got acqui homepage actually displaying suggestions - only displayed count before - need to get the suggestedby diplaying borrowers name rather than id number.
Showing budget breakdowns.
Slight alteration - let $status be an input parameter.

17 years agoAdding a sprintf to format the fields involving currency to 2 decimal places
rangi [Wed, 7 Jun 2006 02:42:51 +0000 (02:42 +0000)]
Adding a sprintf to format the fields involving currency to 2 decimal places

17 years agoperltidy before next commit.
sushi [Wed, 7 Jun 2006 02:36:24 +0000 (02:36 +0000)]
perltidy before next commit.

17 years agoFix to allow any limit to be passed in
rangi [Wed, 7 Jun 2006 02:33:09 +0000 (02:33 +0000)]
Fix to allow any limit to be passed in

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:31:18 +0000 (02:31 +0000)]
merging katipo changes...

fixing syntax mistake and adding specific change allowing workers at a
library not to have issuing impossible alerts

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:22:12 +0000 (02:22 +0000)]
Merging Katipo changes.
adding html highlight toggling.

17 years agoMerging Katipo changes
rangi [Wed, 7 Jun 2006 02:17:54 +0000 (02:17 +0000)]
Merging Katipo changes

Script to breakdown the amount committed (ordered but not received) of a particular budget

17 years agofixing choosing wrong var for max amount issues number
bob_lyon [Wed, 7 Jun 2006 02:07:10 +0000 (02:07 +0000)]
fixing choosing wrong var for max amount issues number

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:05:06 +0000 (02:05 +0000)]
merging katipo changes...

Adding new pref to the circ tab

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:04:48 +0000 (02:04 +0000)]
Merging Katipo changes.
Added a bit to display the correct item type for a person who has 2 or more
reserve this type only reserves on the same day, ie - reserved a dvd and a book with same biblio.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:02:47 +0000 (02:02 +0000)]
merging katipo changes...

adding new preference IssuingInProcess

17 years agoMerging Katipo changes
rangi [Wed, 7 Jun 2006 02:02:00 +0000 (02:02 +0000)]
Merging Katipo changes

Workaround to deal with bug with IE

17 years agoMerging Katipo changes...
bob_lyon [Wed, 7 Jun 2006 01:56:57 +0000 (01:56 +0000)]
Merging Katipo changes...

Adding the allowance for making issuing impossible after a patron has
accumulated a certain level of debt

17 years agoMerging from Katipo work
rangi [Wed, 7 Jun 2006 01:53:15 +0000 (01:53 +0000)]
Merging from Katipo work

Script to show the breakdown of the amount spent in a budget

17 years agoScripts written by Bob and Mason to do daily til/cash reconciliation for librarybranches
rangi [Wed, 7 Jun 2006 01:40:03 +0000 (01:40 +0000)]
Scripts written by Bob and Mason to do daily til/cash reconciliation for librarybranches

17 years agoMerging Katipo changes...
bob_lyon [Wed, 7 Jun 2006 01:38:14 +0000 (01:38 +0000)]
Merging Katipo changes...

Fixing bug with defined() - when used on array or hash will check if memory
is allocated rather than if is empty/not empty

17 years agoMerging Katipo work
rangi [Wed, 7 Jun 2006 01:32:06 +0000 (01:32 +0000)]
Merging Katipo work

Fixing formatting of code, and adding new routines for use generating overdue notices

17 years agoMerging katipo changes
rangi [Wed, 7 Jun 2006 00:39:22 +0000 (00:39 +0000)]
Merging katipo changes

Last of the changes for Acquisitions.pm, bookfundbreakdowns

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 00:36:22 +0000 (00:36 +0000)]
Merging Katipo changes.
Updating new fixpriority() sub. now used by reorder_reserve.pl.

17 years agoKatipo merging work
rangi [Wed, 7 Jun 2006 00:07:59 +0000 (00:07 +0000)]
Katipo merging work

Fixes for the ordersearch

17 years agoMerging Katipo changes.
sushi [Tue, 6 Jun 2006 23:49:26 +0000 (23:49 +0000)]
Merging Katipo changes.
Adding CalcHLTReserveFee(), and change to CreateReserve().

17 years agoMerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:45:45 +0000 (23:45 +0000)]
Merging Katipo changes...

adding new system pref 'reading history' to the Members tab

17 years agoMerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:42:46 +0000 (23:42 +0000)]
Merging Katipo changes...

Adding new system pref where one can still retrieve a correct reading
record history if one has moved older data from issues to oldissues table
to speed up issues speed

17 years agomerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:36:37 +0000 (23:36 +0000)]
merging Katipo changes...

site specific chage for issues data being stored in two tables

17 years agoMerging Katipo changes
sushi [Tue, 6 Jun 2006 23:20:30 +0000 (23:20 +0000)]
Merging Katipo changes

Now removing the resurrected biblio from the list.

17 years agoMerging Katipo changes...
rangi [Tue, 6 Jun 2006 23:18:12 +0000 (23:18 +0000)]
Merging Katipo changes...

Fixing formatting and fixing neworder

17 years agoMerging katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:13:14 +0000 (23:13 +0000)]
Merging katipo changes...

altering subject search to stop returning blank rows

17 years agoMerging katipo changes...
bob_lyon [Tue, 6 Jun 2006 22:48:00 +0000 (22:48 +0000)]
Merging katipo changes...

Modified getbranches so you can pass it a branch type and it will only
return branches of that type

17 years agobug fix:
btoumi [Tue, 6 Jun 2006 16:18:00 +0000 (16:18 +0000)]
bug fix:
deletemem.pl:
 syntax error in sql request ( bad field name)
memberentry.pl
syntax error (bad variable name)

17 years agobug fix :syntax error in variable name
btoumi [Tue, 6 Jun 2006 15:54:36 +0000 (15:54 +0000)]
bug fix :syntax error in variable name

17 years agoadd javascript function
btoumi [Tue, 6 Jun 2006 15:51:22 +0000 (15:51 +0000)]
add  javascript function
to confirm deletion
to confirm re-registration

17 years agobug fix: syntax error in borrowers form field(opacnote)
btoumi [Tue, 6 Jun 2006 15:47:21 +0000 (15:47 +0000)]
bug fix:  syntax error in borrowers form field(opacnote)

17 years agonew fonctions for returns.pl :
alaurin [Tue, 6 Jun 2006 12:46:52 +0000 (12:46 +0000)]
new fonctions for returns.pl :

- the system check if we don't have another reserv for the document returned, we return the document to his homebranch, ......
- improvement of returns,  adapt item reservation , loan rules, and transfer rules ....

17 years agonew color alerts for the differents kind of reserves (available,on transfer, on loan...
alaurin [Tue, 6 Jun 2006 12:30:43 +0000 (12:30 +0000)]
new color alerts for the differents kind of reserves (available,on transfer, on loan ......) + warning color ....
+ minor changes of templates

17 years agobug fix : for item reservation, now the system don't keep the reserve if the document...
alaurin [Tue, 6 Jun 2006 12:26:57 +0000 (12:26 +0000)]
bug fix : for item reservation, now the system don't keep the reserve if the document is returned, works fine !!!!

17 years agomodify unit for enrolmentperiod in categorie.tmpl
btoumi [Tue, 6 Jun 2006 08:38:18 +0000 (08:38 +0000)]
modify unit for enrolmentperiod in categorie.tmpl
(now unit is month)

17 years agomodifiy sql syntax for modmember and newmember
btoumi [Fri, 2 Jun 2006 15:48:10 +0000 (15:48 +0000)]
modifiy sql syntax for modmember and newmember
add right field in sql syntax
move get_age function from memberentry.pl

17 years agobug fixing : syntax error in url to access at borrower details
btoumi [Fri, 2 Jun 2006 15:43:15 +0000 (15:43 +0000)]
bug fixing : syntax error in url to access at borrower details

17 years agomodify bad field name
btoumi [Fri, 2 Jun 2006 15:37:29 +0000 (15:37 +0000)]
modify bad field name
use fonction Today from date::calc

17 years agodelete today function (from OP)
btoumi [Fri, 2 Jun 2006 15:31:20 +0000 (15:31 +0000)]
delete today function (from OP)

17 years agomove function get_age :
btoumi [Fri, 2 Jun 2006 14:51:43 +0000 (14:51 +0000)]
move function get_age :
memberentry.pl => Members.pm
add forgotten field in sql request

17 years agoModifying members is now working, well mostly anyway.
rangi [Thu, 1 Jun 2006 23:18:57 +0000 (23:18 +0000)]
Modifying members is now working, well mostly anyway.

17 years agoFixing a lot of formatting
rangi [Thu, 1 Jun 2006 22:49:08 +0000 (22:49 +0000)]
Fixing a lot of formatting

Now working on fixing modmember so it works with the new members system

17 years agoLink to modify a borrower working now
rangi [Thu, 1 Jun 2006 21:54:42 +0000 (21:54 +0000)]
Link to modify a borrower working now

17 years agoFix for adding organisations to a borrower
rangi [Thu, 1 Jun 2006 21:49:25 +0000 (21:49 +0000)]
Fix for adding organisations to a borrower

17 years agoImprovements for reserves infos in circulation.pl
alaurin [Thu, 1 Jun 2006 10:03:08 +0000 (10:03 +0000)]
Improvements for reserves infos in circulation.pl

new infos displayed :

 -Waiting position of borrower on document reserve .
 -Follow the document he's in transfert  .
 -more infos of document are displayed in a specific cell ....

N.B : the old display of reserves infos are only commented, will be removed, if new display is ok for everybody ...

17 years agoAdding a new column to the statistics table
rangi [Thu, 1 Jun 2006 03:18:11 +0000 (03:18 +0000)]
Adding a new column to the statistics table

17 years agoAllows a person to choose an associated borrower (orgranisation) when Issuing.
rangi [Thu, 1 Jun 2006 01:44:16 +0000 (01:44 +0000)]
Allows a person to choose an associated borrower (orgranisation) when Issuing.
This is to allow a person who is associated with many organisations to choose the one he/she is borrowing an item for

No changes to the issuing code, or the issues table, the associated borrower number is stored in the statistics table

17 years agoStores an associated borrowernumber now with issue data, if the system pref is set.
rangi [Thu, 1 Jun 2006 01:42:19 +0000 (01:42 +0000)]
Stores an associated borrowernumber now with issue data, if the system pref is set.
Otherwise there is no difference

17 years agoFix for expiry date bug
rangi [Thu, 1 Jun 2006 01:41:22 +0000 (01:41 +0000)]
Fix for expiry date bug

18 years agoReads external marc records with biblionumbers and populates koha tables with the...
tgarip1957 [Wed, 31 May 2006 15:49:38 +0000 (15:49 +0000)]
Reads external marc records with biblionumbers and populates koha tables with the new marc record (only the marc record). Useful after changing encodings etc.

18 years agobug fix : rank request of reserves by biblio is correct .
alaurin [Wed, 31 May 2006 14:07:26 +0000 (14:07 +0000)]
bug fix : rank request of reserves by biblio is correct .
now we can reserve with items, and biblios with rank-request .

18 years agobug fixing : syntax error in url to access at stats.pl
btoumi [Wed, 31 May 2006 09:02:08 +0000 (09:02 +0000)]
bug fixing : syntax error in url to access at stats.pl