LIS Links

First and Largest Academic Social Network of LIS Professionals in India

Latest Activity

Deepak Singh posted an event

Two-Day International Conference on Application of Modern Technologies in Libraries at Mandsaur University

September 26, 2026 at 6pm to September 27, 2026 at 7pm
10 hours ago
KESHAVA updated their profile
15 hours ago
M.MANI posted an event
Thumbnail

International Seminar on Redefining Research Excellence: Data to Discovery at Chennai, Tamil Nadu, India

September 11, 2026 from 8:30am to 6:30pm
yesterday
Sumedha Singh posted events
yesterday
Profile IconAamir Khan, Anil Kumar Usendi, Narendra Lahkar and 2 more joined LIS Links
yesterday
M.MANI updated their profile
yesterday
Reeti Brar is attending Nagappa Veerappa Bakkannanavar's event
Tuesday
Profile IconRATNAM INSTITUTE OF PHARMACY, Nandani kumari, Jenny Prisca Barla and 2 more joined LIS Links
Tuesday
Priyatama Sharma updated their profile
Monday
Rituraj Borkakoti updated their profile
Sunday
Rainika sharma is now friends with Mr. S Kumar UGC-NET and prasidh kumar mishra
Sunday
Joydip Barman shared a profile on Facebook
Saturday
Prangyasini Nayak is attending SHEIK MAIDEEN's event

Webinar on DELNET: Resources and Services at Online

September 9, 2026 from 3pm to 4pm
Saturday
Profile IconManoj K L, Kailash Belel, Deepa M H and 1 more joined LIS Links
Aug 28
Sourav Barman left a comment for NISHA
Aug 27
Priyanka Roy and Sourav Barman are now friends
Aug 27
AKSHAY KUMAR updated their profile
Aug 26
Profile IconRASALA SUDHAKAR, Priyanka Roy and Sourav Barman joined LIS Links
Aug 26
Kapil Sunehria updated an event

UGC-MMTTP Online Two Week Refresher Course in Library and Information Science at RAMANUJAN COLLEGE, UNIVERSITY OF DELHI

August 31, 2026 at 10:30am to September 14, 2026 at 5:30pm
Aug 26
Sourav Barman updated their profile
Aug 26

I wants to know how to take monthly fine report in Koha software with the following details

date, name of patron, patrons number, fine amount????

Views: 1981

Reply to This

Replies to This Forum

you click on the link

http://wiki.koha-community.org/wiki/SQL_Reports_Library#Fines_w.2F_...

or

you can copy this and save and run sql command

SELECT      (SELECT CONCAT('<a href=\"/cgi-bin/koha/members/boraccount.pl?borrowernumber=',b.borrowernumber,'\">', b.surname,', ', b.firstname,'</a>')      FROM borrowers b WHERE b.borrowernumber = a.borrowernumber) AS Patron,      format(sum(amountoutstanding),2) AS 'Outstanding',     (SELECT count(i.itemnumber) FROM issues i WHERE b.borrowernumber = i.borrowernumber) AS 'Checkouts' FROM      accountlines a, borrowers b WHERE      (SELECT sum(amountoutstanding) FROM accountlines a2 WHERE a2.borrowernumber = a.borrowernumber)  > '0.00'     AND a.borrowernumber = b.borrowernumber GROUP BY      a.borrowernumber ORDER BY b.surname, b.firstname, Outstanding ASC

 

thank you sir

Hello Sir,

Which SQL Command will be used for Daily Fine Report in KOHA 

SELECT
b.surname, b.cardnumber,b.categorycode,b.Sort1, bib.title, i.barcode,
a.amountoutstanding, ni.issuedate, ni.date_due,
IF ( ni.returndate IS NULL , " ", ni.returndate ) AS returndate
FROM accountlines a
LEFT JOIN borrowers b ON ( b.borrowernumber = a.borrowernumber )
LEFT JOIN items i ON ( a.itemnumber = i.itemnumber )
LEFT JOIN biblio bib ON ( i.biblionumber = bib.biblionumber )
LEFT JOIN ( SELECT * FROM issues UNION SELECT * FROM old_issues ) ni ON ( ni.itemnumber = i.itemnumber AND ni.borrowernumber = a.borrowernumber )
WHERE
a.amountoutstanding > 0
GROUP BY a.description
ORDER BY b.surname, b.firstname, ni.timestamp DESC

RSS

© 2026   Created by Dr. Badan Barman.   Powered by

Badges  |  Report an Issue  |  Terms of Service

LIS Links whatsApp