Commit Graph

8580 Commits

Author SHA1 Message Date
finlayt f0244671c4 Bug fix in ReserveWaiting to make sure only the record found is marked waiting. 2002-09-04 22:31:06 +00:00
finlayt 4d9cb5162d rewrote CheckReserves so that it can be called with a barcode as well as on itemnumber. 2002-08-26 22:34:29 +00:00
finlayt 816520a4a1 Fixed up the display of bibitems, implemented some restrictions on which items can be reserved. 2002-08-22 02:31:58 +00:00
finlayt eb78ea1a41 minor changes to comments etc.... 2002-08-21 02:45:30 +00:00
finlayt 98239184b7 Fixed a bug in the reordering priorities in FillReserve and andother different bug in CheckReserves. 2002-08-21 01:31:16 +00:00
finlayt b195ac3625 removed the printreserve routine. It has been replaced by printslip. 2002-08-20 22:40:12 +00:00
finlayt 7eab6cbfda fixed up the CheckReserves.pm routine so that it does not put Referece items into "waiting" status if there is a reserve. Also fixed a bug in detail.pl. 2002-08-19 06:29:36 +00:00
finlayt 91fc634cdd Fixed a really terrible bug! Took out the fixpriorities call in FillReserve. This is not necesary because the priorities are fixed up when the item is set to waiting in ReserveWaiting. 2002-08-15 03:31:02 +00:00
finlayt 49e2aee04c Added some red color here into the message that appears when a waiting book is attempted to be issued. 2002-08-15 03:27:28 +00:00
rangi 6f9cbbda8a Fix for last borrower for the moredetail.pl page
sCVS:
2002-08-15 02:02:40 +00:00
tonnesen 1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
finlayt 7cb45abb40 added a check in the returnbook subroutine that checks to see if a book has been cancelled: i.e. that the wthdrawn field has been set to 1. 2002-08-14 05:37:07 +00:00
finlayt 3045d3aa12 Changed the ItemInfo method. if an items "itemlost" field is 2, the 'duedate' is set to "Very Overdue". If itemlost = 1, duedate is set to "Lost". 2002-07-31 01:50:06 +00:00
finlayt c03d4f6f94 Fixxing bugs 2002-07-26 01:08:48 +00:00
finlayt 6eae239bb2 Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint. 2002-07-25 21:41:10 +00:00
tipaul 0ae56dd011 pod documenting the API. 2002-07-25 13:40:31 +00:00
tipaul 9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
finlayt 55798ef08a commented out a warn or two... 2002-07-24 04:00:33 +00:00
finlayt 51e0e140c2 Fixed up the Print module. Added a function printslip that takes a string as an argument. It is easier to prepare the slip and then call the print function.
in circulation.pl I have moved some javascript out to the circulation-top.inc
2002-07-24 03:16:21 +00:00
finlayt 34aee13b95 fixed bug that kept asigning reserved books to the same person! 2002-07-24 03:01:17 +00:00
finlayt 4ec4fd9552 reactivated the printreserve method that is used to print a slip when a reserved book is returned. this is used in /circ/returns.pl 2002-07-23 03:32:42 +00:00
tonnesen dd541749fb Missing bracket 2002-07-22 20:45:47 +00:00
tonnesen b6f8a4a580 Cleaned up contents of location information 2002-07-11 05:48:01 +00:00
tonnesen 17388eccad Updates to authentications cripts. userpage.pl is the page for authenticated
users in the OPAC to set preferences, get personal information, etc.
2002-07-11 05:46:58 +00:00
tipaul 3c4ca5a444 *** empty log message *** 2002-07-10 13:58:43 +00:00
tonnesen 657685e1ac Auth.pm now caches form submissions and resubmits them if a user logs back in
after being logged out for inactivity.  Also switched from crypt passwords to
md5 passwords stored in borrowers table.  Used Digest::MD5 module.  I ain't
gonna reinvent _that_ wheel.  :)
2002-07-09 05:37:53 +00:00
tonnesen e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +00:00
tonnesen 1a43c68fe3 Cookie bug. 2002-07-05 20:33:23 +00:00
tonnesen 259a4873fb Auth.pm now checks the password againts a new field in the borrowers table
(password).   There is also a new "userid" field in the borrowers table.  When
a user logs in, the userid will be checked against the userid first and the
cardnumber second, so either method will work.
2002-07-05 19:56:35 +00:00
tonnesen a66bcaa168 Minor changes to authentication routines. 2002-07-05 05:03:36 +00:00
tonnesen bdee484019 Checks for a basic authentication userid. If found, it skips the cookie stuff.
Also now supports scripts that do not _require_ authentication, but might
display differently if they get an authenticated userid (might be useful for
opac pages, where pages could be tailored to meet a patron's preferences).
2002-07-04 21:22:21 +00:00
tonnesen 185adfbfe7 Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this
to a db table.
2002-07-04 21:09:43 +00:00
tonnesen 62e0baa92a Minor changes 2002-07-04 19:42:48 +00:00
tonnesen 60a72c67fe Beginning of authentication api. Applied to shelves.pl for now as a test case. 2002-07-04 19:21:29 +00:00
tipaul 528f1b2b80 Long is the road to MARC..
Not related to MARC :
* removed HLT- empty link when no basket for a supplier (should be useful to copy this into rel-1-2 i think)
* fixed some "use of uninitialized value"
related to MARC
* changed use Acquisition to use Catalogue, new package for MARC management

For instance, nothing is done to MARC DB, but structure is modified (see Biblio.pm for details), and everything seems to work : it's still possible to use acqui, and it fills old-DB pretty good.

WARNING : if you work on main trunk, please note Acquisition.pm is NO MORE USED in /acqui/ system. Every sub in Acquisition.pm has been moved to Biblio.pm or Catalogue.pm.
2002-07-04 15:53:02 +00:00
tipaul ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul 057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00
tonnesen 17bb4d7343 Fixed bug in checkvalidisbn() 2002-07-03 03:18:50 +00:00
rangi d6f9a61c7d Fixed so datelastseen is updated on the item record for every issue or return 2002-07-02 23:31:33 +00:00
tonnesen 68e13b2c78 Removed use warnings; which breaks perl 5.005 2002-07-02 20:49:44 +00:00
tonnesen 1a6b88483f module added from rel-1-2 branch 2002-07-02 20:31:33 +00:00
tonnesen dcfb3b835c Merged SimpleMarc.pm over from rel-1-2 2002-07-02 20:30:15 +00:00
tonnesen 40bffc1f0e Merged in updates from rel-1-2 2002-07-02 17:48:06 +00:00
tipaul 004519edbc Merge from 1.2 and main branches 2002-07-02 15:46:42 +00:00
tipaul 33947ff039 merging 1-2 and main. 2002-06-28 08:53:51 +00:00
tonnesen 1ac576e81b removed "use warnings" 2002-06-24 21:54:44 +00:00
tipaul 3bee5b5743 * Acquisition synchronised with rel-1-2
* Update of biblio.pm and catalogue.pm that continuates MARC stuff. Lot of explanations at the beginning of Biblio.pm
2002-06-20 21:07:30 +00:00
tonnesen d6e7293f76 Cosmetic change. Merged with rel-1-2 2002-06-20 20:43:26 +00:00
tonnesen cceee9e230 Merged changes from rel-1-2 2002-06-20 20:41:21 +00:00
tonnesen 1929403b8f Merged with rel-1-2 copy 2002-06-20 20:31:01 +00:00
tonnesen 264b8f0093 Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings 2002-06-20 20:10:08 +00:00
tonnesen 6897cec04d Most of these merges are just removing unused parts of the perl modules. 2002-06-20 18:56:52 +00:00
tonnesen d3af19dcb2 Are we getting sick of merging yet? Not me! 2002-06-20 18:04:45 +00:00
tonnesen 29b4d2d534 merges from rel-1-2. Starting to get a little longer now. Being very
careful.
2002-06-20 17:57:11 +00:00
tonnesen cb7441a537 More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
2002-06-20 17:33:07 +00:00
rangi 78c976aa0f issues printing issue slips again 2002-06-18 22:46:59 +00:00
tipaul 3d7df52b0d Going to MARC 1.4...
0- Requires MARC::Record from cpan to work

1- divided Catalogue.pm in 2 parts :
Biblio.pm ,that contains biblio management
Catalogue.pm, that contains acquisition management.
When ended, they will replace the Acquisition.pm package

2- Created MARCxxx functions :
* MARCgetbiblio : retrieves a MARC::Record from the bibid passed in parameter (working, see test.pl script)
* MARCaddbiblio : creates a MARC-DB entry, for a MARC::Record given as parameter. (working)
* MARCmodsubfield : modifies a subfield for a given subfieldid
* MARCfingsubfield : retrieves a subfieldvalue from a bibid/tag/subfield
* MARCaddsubfield : adds a subfield to biblio into the DB
* MARCkoha2marc : builds a MARC::Record, given a biblionumber, a biblioitemnumber and/or an itemnumber. (working).


TODO :
A lot ;-))))
For instance, you can create only a MARC-DB entry from a old-DB entry. Note some questions are still to solve around bibid (old-DB/MARC-DB)...
2002-06-14 16:47:33 +00:00
rangi 49e2b90a8b Fix to get list of overdue items showing correctly 2002-06-13 03:16:55 +00:00
tipaul 503066d538 MARC stuff : beginning to use MARC::Record package. 2002-06-10 20:49:54 +00:00
tipaul 56d4ac55a7 today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net) 2002-06-06 16:23:36 +00:00
finlayt c3820fa998 fixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
2002-06-06 04:15:18 +00:00
finlayt 89026ec754 Changed the issuebook routine to use the new methods from C4::Reserves2.pm 2002-06-06 02:48:53 +00:00
finlayt 0e69a3906e improved all the code so that priorities are reset properly. 2002-06-06 02:47:53 +00:00
tipaul 0595587f93 test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
2002-06-04 16:08:47 +00:00
tonnesen 02fc6654ec Started modifications to match new marc schema 2002-05-29 22:47:20 +00:00
finlayt a6dd1bcf44 Changed the returnbook method to use CheckReserves instead of FindReserves. 2002-05-29 05:52:12 +00:00
finlayt 970081fb49 Some small changes in transferbook: uses the new Reserves2.pm methods. 2002-05-29 04:40:15 +00:00
finlayt 7d603978ed Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
2002-05-29 04:39:12 +00:00
amillar 7ebbc8311d Added "lccn" and "marc" fields to newbiblioitem 2002-05-23 22:59:37 +00:00
truth_nz cc840a7bfa Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
2002-05-22 18:35:25 +00:00
amillar 549677ee1b Fix typo in booksellerid field name 2002-05-21 06:19:48 +00:00
amillar 3b184ab85d Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
2002-05-21 06:15:41 +00:00
rangi 9775fedd9b Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
2002-05-21 01:17:44 +00:00
amillar 7c65ea04c5 Some cleanup, reformatting, fix some undeclared variables 2002-05-18 07:01:27 +00:00
tonnesen 86c0d5ce87 Few more changes... not much to look at yet, still wrapping my head around the
new schema
2002-05-16 23:08:05 +00:00
tonnesen 3437472f27 Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote.  :)
2002-05-16 18:10:35 +00:00
truth_nz cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
rangi 1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
rangi 171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +00:00
tipaul 64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +00:00
tonnesen b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +00:00
tipaul c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00
tipaul c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz 0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz 4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi 05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
truth_nz 3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
rangi 3d854d01ef Making the CatSearch and KeywordSearch return more sane returns
Returns an array of hashrefs now, rather than the array of tab separated
strings it was returning before.
2002-05-07 00:08:20 +00:00
rangi c0fc669126 Removing keywordsearch2 (no longer used)
Fixing glitches in counting lost items.
In items
itemlost=1 item marked lost by a librarian
itemlost=2 item marked lost by kohas automatic this item is over 4 weeks
overdue routine.

To the borrowers (ie in the opac) they should just show as lost
2002-05-06 23:12:25 +00:00
finlayt fe88c2a022 Removed the "Item has been transfered" message from the returnbook2
subroutine.
2002-05-06 04:36:42 +00:00
finlayt ca7a9d7264 Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
2002-05-06 04:30:37 +00:00
truth_nz 073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
finlayt 9255f92b21 moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing
2002-05-02 00:08:53 +00:00
rangi 8ea1f94eb7 Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module
2002-04-30 09:21:03 +00:00
truth_nz 47c18cfcdc Modifications for new acqui.simple
Database includes new biblio abstract field and biblioitem url field
acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm
2002-04-29 05:25:41 +00:00
finlayt 4ecb80c5f2 Fixed typo 2002-04-23 00:34:16 +00:00
finlayt d239497209 fixed typo 2002-04-22 22:47:09 +00:00
rangi 9144d67850 Fixing bug reported by Steve,
Couldnt remove an additional Author when modifying a biblio
2002-04-21 06:33:32 +00:00
saas ffc98bebe4 Correct spelling - aquisitions to acquisitions 2002-04-21 04:45:21 +00:00
pate 214257b1d8 starting to move ethnicity stuff out of programs and into modules 2002-04-17 21:35:53 +00:00
pate 2409d7fe90 moved ethnicity fixing out of moremember.pl into a function,
eventually to replace with a more configurable version (non-NZ specific)
2002-04-15 16:15:38 +00:00
truth_nz e1d7a81197 Acquisitions::newbiblioitem updated to be usable for new acqui.simple
addorder.pl and updatebibitem.pl modified to use new newbiblioitem
2002-04-15 05:33:33 +00:00
rangi b3375469e3 Fixing the subject search i broke ;) 2002-04-10 09:55:17 +00:00
rangi 132835283a Working on a fix to speed up title and author searches 2002-04-10 07:59:28 +00:00
truth_nz 51ee67d237 Altered newbiblio to be more generic - so can use with new acui.simple
scripts (which are not finished yet).
2002-04-10 05:49:17 +00:00
pate 0376493cd4 refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.
2002-04-08 23:44:43 +00:00
rangi 3eecf2956e Deals with lost book charges now 2002-03-17 02:58:00 +00:00
finlayt 314e80a9e9 Added a transferbook subroutine that is called from /circ/branchtransfers.pl
It writes a new line in the branchtransfers table and changes the
currentbranch field in items.
2002-03-13 21:13:42 +00:00
rangi c2eb80ce60 Tidy up, removing deprecated routines 2002-03-13 07:36:49 +00:00
rangi 204ff647f3 Getting Iteminfo in Search to only display correct reserves (mainly used on
detail.pl) and another typo fix in moremember.pl
2002-03-13 03:26:43 +00:00
rangi 5849a03b30 Fix so that reserves are only showing for the biblioitem not the biblio on
the moremembers screen
2002-03-13 02:03:56 +00:00
rangi 0b9ab3723f Fix for manual invoices 2002-03-11 03:36:41 +00:00
rangi 0f23c6e75d Fixed apostrophe ' handling 2002-02-26 09:31:14 +00:00
rangi 8e8455789f Making a "fix" to normal title search 2002-02-20 21:05:19 +00:00
rangi bbb2008246 Playing with keyword search trying to speed it up more 2002-02-20 20:53:29 +00:00
rangi 4c20707e76 Fixing bug in subject searching that was causing subjects with ' to break
the search
2002-02-12 21:31:41 +00:00
rangi a9f5a8b858 Fixing bug that was duplicating additional authors, and a bug that was
breaking the updating classicification field
2002-02-12 21:07:21 +00:00
rangi 1a3d705dab Added the facility to restrict a keyword search by dewey number 2001-12-12 02:31:28 +00:00
rangi bb7b308682 Fixing error in keyword search (fixing my mistake from yesterday) 2001-11-27 02:01:39 +00:00
rangi 8ad078f97e Fixing a bug in keyword search was duplicating results 2001-11-26 04:33:42 +00:00
rangi e21914e425 Added a findguarantor routine to search for the guarantor of a given borrower.
Probably it and findgurantees need to moved out to borrowers.pm
2001-11-26 00:41:34 +00:00
rangi 7a7465fe05 Author combined with Title search was not searching the series title field
Fixed now
2001-11-25 22:25:55 +00:00
rangi 79ebd030d6 Fixing reserve handling.
Mulitple copy reserves now handled correctly, and correct charges are being
applied
2001-11-25 20:17:53 +00:00
rangi 501cc61c85 Adding the facility to search on just dewey and class 2001-11-23 02:12:48 +00:00
tonnesen 0ac91af069 Working out problems with MARC record support. 2001-11-06 18:15:34 +00:00
tonnesen 07e2e3780a Minor cleanups. Needs testing. Starting to think about modifying
updatebiblio.pl to use this API.
2001-11-03 07:29:36 +00:00
tonnesen aa97d73b39 Typo in printf format string was causing all issues to appear in the
Previous issues box and not in today's issues.
2001-10-10 19:28:05 +00:00
tonnesen 33ab2526f3 Changed search interface to allow searches on Illustrator. This is
apparently a common search in elementary school libraries.
2001-10-05 20:13:20 +00:00
tonnesen 1e2d6c40c3 Tested updateItem subroutine, made some better checks for Subfield_IDs and
Subfield_Keys when modifying MARC data based on changes to Koha data.
2001-09-27 20:39:59 +00:00
tonnesen 245d7a8adc Started on updateItem subroutine. 2001-09-27 19:24:18 +00:00
rangi 89cbfd3cd0 Fixing a glitch that was showing the biblio notes field where the
biblioitems notes should have been displaying
2001-09-10 23:37:09 +00:00
tonnesen b179127d7c Finished updateBiblioItem subroutine 2001-06-26 22:27:12 +00:00
tonnesen 6269ad87bf newBiblio subroutine completed. 2001-06-26 21:13:01 +00:00
tonnesen aab6b66555 Added biblioitems table update when newBiblioItem() routine is called. 2001-06-26 20:17:35 +00:00
tonnesen 3f3ae4cda2 Beginning updateBiblio routine. 2001-06-26 17:15:13 +00:00
tonnesen 6650354d23 Added skeletons of update routines. 2001-06-25 19:43:59 +00:00
tonnesen 58b7c86d13 Cataloguing API. Very early draft at this point. 2001-06-25 18:49:34 +00:00
rangi c74ad16d2e Made a little change to allow the reading record to be sorted, and now
defaults to the last 50 items borrowed
2001-06-20 03:36:01 +00:00
rangi 2dc62d4bc4 More little bug fixes in the manual credits section 2001-05-15 23:05:43 +00:00
rangi 9eee24c9a2 Changed the way a lost book being returned is handled.
If the book has already been paid for a credit is added to their account.
And offset against any current charges
2001-05-09 23:29:00 +00:00
rangi a254455342 Added facility to do a cash refund.
Also HLT allows ppl to work off their bill,so added a facility to do manual
credit for that
2001-05-09 23:22:10 +00:00
rangi f72283e23f Renewing a rental or pay item from the borrowers record screen
Now adds a charge to the borrowers account
2001-05-09 00:05:57 +00:00
tonnesen 91ac7223f6 Steve Tonnesen's K12Admin-specific (for the time-being) group based
overdue reports.
2001-05-02 23:06:44 +00:00
tonnesen 3fd3b300c4 Added an overdue variable to the itemdata returned by the currentissues
subroutine.  This makes it easier to pick out overdue items in other
modules (ie circulation, reports, etc.)
2001-05-02 22:38:26 +00:00
rangi 4680c9e98a Fixed the code that adds a credit or wipes a lost book charge from a
borrowers account if said book is returned
2001-05-02 21:15:22 +00:00
rangi 462acc56e4 Added functions to add credits and invoices to borrowers account 2001-05-02 21:13:15 +00:00
rangi 8f0109b7c8 Fixed a bug in the return lost routine (when a payment is made on a lost item)
So that the correct date was being recorded
2001-05-01 23:24:50 +00:00
rangi 5f8d3937df Add functionality so that when the replacement cost of a lost item is paid
Its returned off the members/patrons card. And a note is placed on the item
saying that its been paid for.
The item stays marked as lost. But the patron does not accrue more fines
2001-04-18 02:51:18 +00:00
rangi b2c9dabcf1 Making a change to the way charges are handled, the system originally worked such that if a borrower owed more than $5 issues werent allowed. This worked fine except that often borrowers wish to borrows say 3 pay videos at $2 each, then 2 books say. The three pay videos rack up charges of $6 and then they cant issue the books until that is paid.
Reworked so that it cares about previous charges, not the ones accrued during current issue process.
2001-04-03 21:32:37 +00:00
rangi fb870fb2c8 Reworking statistics for payments and writeoffs 2001-04-02 22:51:26 +00:00
rangi fe1fab2ab5 Reworked layout of issues section. 2001-03-28 02:23:03 +00:00
rangi e295b51570 Modified the update stats routine to store borrowernumbers also
Passing borrowernumbers to update stats from Account routines
2001-03-27 21:43:37 +00:00
rangi 53f147a340 Added functionality to allow invalid itemtype to be fixed 2001-03-15 10:15:51 +00:00
rangi 4d35327d19 Got undeleting biblios going (catalogue maintenance should probably be in a
password protected super librarian area or the like)
2001-03-13 22:04:04 +00:00
rangi 6bd59eeef7 Little fix to the returnbook routine so the correct branchcode is passed to the updatestats routine 2001-02-18 22:13:26 +00:00
rangi de38567887 Made some changes to checkreserve and find_reserves, so that items are always displayed as reserved when returned, not just once 2001-02-14 00:27:36 +00:00
tonnesen 401aada2ac Added header and log substition variables 2001-02-07 23:47:43 +00:00
tonnesen 1159649fe8 Start of code to implement virtual bookshelves in Koha. 2001-02-07 20:27:16 +00:00
tonnesen 0d4c0ffb84 loadmodules.pl allows redirection to different modules based on systemprefs
Added subroutine in Search.pm load systemprefs from new systempreferences
table in database.  Initial use is to allow using my simplified acquisitions
module in place of vendor-based acquisitions module.  Default is vendor-based
module.
2001-02-05 18:48:15 +00:00
tonnesen ee184dc80b Added a couple of missing $dbh->disconnect lines that were logging errors
in apache log files.
2001-02-05 17:47:58 +00:00
rangi 3b07c5bf30 Fixing printing error, now is printing all of the days issues for borrower 2001-02-04 22:25:42 +00:00
rangi cf3086c7da Attempting to get issues slip to print when borrower is finished with 2001-02-01 02:08:34 +00:00
rangi 74aa1d1edd Fixed a little bug in getiteminformation, it wasnt returning item loanlength 2001-01-31 22:09:31 +00:00
rangi dea0fd150d Added a line to Ouput.pm to enable circulation to use its own includes
Changed the look of circulation.pl to the green/yellow colours

Note: Steve, i added another variable $backgroundimage that sets the background image for the main tables, so it should be straightforward to change the look back to the colours you had if you want to
2001-01-31 21:38:43 +00:00
tonnesen f7953fecf3 Return itemlist array, and itemlisttext (text version of overdues) with
overdue flag in getpatroninformation()
2001-01-31 18:13:38 +00:00
tonnesen ee5ba729f3 Returns module lists recently returned items, cookies used to store branch
and printer preferences.
2001-01-26 00:17:00 +00:00
tonnesen d389b68e6d Refined Returns module.
Added ability to select branch and printer.
Fixed charges for rental items.
2001-01-25 00:01:34 +00:00
tonnesen eaa9677292 Changes to web circulation module: rudimentary returns module, arbitrary
due date for issues, flag info displayed, overdue books are displayed in
red.
2001-01-23 23:48:54 +00:00
tonnesen 3186e690ce Fixed a bug in issuing reserved books. Was calling non-existent
printreserve subroutine
2001-01-23 00:12:49 +00:00
tonnesen 7c52cda9d6 Started work on a web-based circulation interface. 2001-01-22 23:48:41 +00:00
tonnesen e6d86cdd17 Added support for showing patron flags in the issues module.
Moved popup message windows to a Toplevel widget instead of a message
widget.  Toplevel widgets come up much faster than message widgets.
2001-01-17 23:45:50 +00:00
rangi e6fb400c7d Fixing a glitch in the fines routine, was failing if adding a new fine to
the same user for the same item
2001-01-16 23:34:29 +00:00
tonnesen e16ba0cb0a API for circulation modules 2001-01-15 19:31:41 +00:00
tonnesen 8b421dd4cc Renamed koha.conf config entry from "path" to "includes", which is more
meaningful in the koha.conf file.
2001-01-05 17:47:20 +00:00
tonnesen 21b18bf675 Modified getbranch() and getprinter() subroutines to not pop up a menu if
there is only one branch or one printer, but just select the single option
automatically.
2001-01-05 17:39:25 +00:00
tonnesen 1c9ef0371f Added support for moving path=... variable to /etc/koha.conf 2001-01-05 16:30:45 +00:00
rangi 80a0cb638e Shifted Database connection variables out into a configuration file
The permissions on this config file should also be strict, since they contain
the database password.
At a minimum, the apache user needs to be able to read it, as well as any other user that runs circ.
I would suggest ownership of www-data.libadmins with no access to others.
libadmins contain all users that use circ

destined for v1.08
2000-12-21 19:56:43 +00:00
rangi d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00