Commit Graph

151 Commits

Author SHA1 Message Date
oleonard 22b9ead255 renaming variable so that 'branchname' can be used as current branch setting. By matching circulation.pl's variable naming we can display branchname consistently in the header of circulation-related pages. 2006-03-09 18:03:34 +00:00
oleonard 528f316dbf Enabling patronimages system preference for these two scripts. 2006-03-08 22:59:33 +00:00
sushi f6b7ca486d Oops, bug has already been fixed, reverting back to previous version. 2006-03-02 22:50:53 +00:00
sushi 5fe1fea336 transferbook() in Circ2.pm updated, branchtransfers.pl fixed to get correct 'from-branch' value from transferbook(). 2006-03-02 22:43:03 +00:00
kados f636f90f04 Adds script support for IntranetNav ... see mail to koha-devel for
details
2006-02-05 21:59:20 +00:00
kados 59f64e3077 Adds support for intranetstylesheet system pref in Koha scripts 2006-02-05 21:45:25 +00:00
kados 7dfb2cc2db Adds support for intranetcolorstylesheet 2006-02-04 21:26:47 +00:00
tipaul 8dedadbe6b minor changes in reserve pending list 2005-12-30 10:54:02 +00:00
tipaul 4e0eb6d559 bugfix for branch transfert 2005-12-14 13:14:02 +00:00
hdl 44ffd60fe1 Display branch, location and status information 2005-12-05 16:07:54 +00:00
tipaul 47c372b5ee typo fix : NofifyBorrowerDeparture instead of NotifiyBorrowerDeparture 2005-12-05 09:41:35 +00:00
hdl 2d9b5980a1 Adding a reserve management page in circulation module.
Should add a link to it into the menu.
It basically displays all the reservations not cancelled.
2005-11-30 16:18:02 +00:00
hdl a62f652fbc Adding a notice before departure of a borrower 2005-11-29 14:50:29 +00:00
hdl 7650b33e3e Adding getallbranches function which is not sensitive to IndependantBranches value 2005-11-21 17:10:37 +00:00
tipaul c5af6ec2d6 minor bugfix : showing date in format from systempreferences 2005-10-25 12:39:52 +00:00
oleonard f139fe0afc - updating alternating table row switch to work with CSS
- adding 'allmessages' variable to tell template whether to display error message container
- adding more borrower information details so that reserve notification matches that on returns screen
2005-08-10 21:36:08 +00:00
oleonard 5c7441fb5e Adding several variables to template output:
- member email
 - member flags debarred and gonenoaddress (relevant to reserves notification)
 - information about current branch and destination branch of reserves (for reserves transfers)
2005-08-10 17:30:12 +00:00
oleonard ed5af25b61 Fixing section that was supposed to allow for alternating table row colors 2005-07-19 18:50:49 +00:00
oleonard fee56451f9 Putting message variable back into the script to handle cases where a patron search from the circulation prompt returns zero results. This was removed in a previous update. 2005-03-31 16:42:43 +00:00
tipaul 15dbe1effa *** empty log message *** 2005-02-28 17:06:49 +00:00
oleonard 1cc951e071 Adding 'flagged' variable to help control display in the template 2005-02-16 22:23:52 +00:00
oleonard 8468984fd1 Adding email address to list of returned variables 2005-02-10 17:27:11 +00:00
tipaul 52a123a1a4 fix for :
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=858

* added a button to cancel issue
* adding checkbox to cancel reserve on the book (checked by default)
* the cancelation reserve is done on reserves done for a given item or for any item

Nelsonville, pls test & confirm it's OK
2004-12-15 10:47:09 +00:00
oleonard 000a96fb4b Fix from Joshua for Bug 851: stripping out comma and apostrophe from search terms 2004-12-13 17:54:15 +00:00
rangi 1ce34b32b3 Fix for bug 865
Allows a librarian to tell Koha you want to start issuing to a new borrower
by entering no data. Essentiall by just hitting the enter  key
2004-11-28 08:32:36 +00:00
tipaul 1424addcc2 fix for bug 858 (no warning when issuing a reserved book) 2004-11-18 10:32:39 +00:00
oleonard 935db49ba8 Re-adding patrontable subroutine so that borrower flags and waiting item information can be displayed 2004-11-03 22:40:14 +00:00
tipaul 9aec896627 * Showing the borrowernotes in issues (was shown only in issues before) 2004-10-04 20:29:07 +00:00
tipaul f927e8eb36 bugfix for manually fixed duedate on issue. 2004-09-15 16:27:18 +00:00
tipaul ab39e57393 fixes in circulation module 2004-08-18 15:52:14 +00:00
oleonard 00fc740011 Adding overduecount, issuecount, and finetotal variables to template 2004-07-12 20:44:48 +00:00
tipaul cc5e837309 bugfixes in circulation 2004-06-17 08:17:39 +00:00
tipaul b56f035183 bugfixes 2004-05-03 16:36:53 +00:00
tipaul 040bcdf92b CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:10:51 +00:00
tipaul 21a379acda CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:02:12 +00:00
rangi 9ab6c09048 Passing thru the borrowernumber with the charges data, so can create a link
to the payment window
2004-03-15 23:41:20 +00:00
rangi 1d2a764626 fix for bug 606,
seems to be an error in the tmpl still but the functionality seems to be working again
2004-02-25 21:44:40 +00:00
oleonard e0d4eee48f Small changes to help fix Bug 436 2004-02-25 18:09:29 +00:00
oleonard 7a2a0fe018 Adding item information variable declarations to 'Waiting' section already present in 'Reserved' section 2004-02-18 16:51:20 +00:00
oleonard 84b3a7b984 Adding variable declarations so that 'waiting' screen shows same information 'reserved' screen does, adding more address info 2004-02-17 22:15:33 +00:00
tipaul af08d677c5 synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
oleonard 0f8e6bfb73 Added variables available to template: streetaddress, city, phone, cardnumber. Added FIXME comments to sections where HTML should be moved to template 2004-01-26 19:32:36 +00:00
rangi cf67d8bb8f Bug 605 fixed 2004-01-21 20:49:54 +00:00
rangi 9c998cda51 Fix for bug 535, and adding the classification column to the variables
available to the template
2003-11-04 19:48:50 +00:00
rangi d187195a75 Fix for bug 592
Re-issuing book does not renew correctly
2003-10-31 21:02:16 +00:00
rangi 5a808e96ef Fix for bug 621,
Returns not marking reserves waiting
2003-10-28 19:34:05 +00:00
rangi 8576e81ea9 moving more html out of the script 2003-10-22 20:01:28 +00:00
rangi 68067f6400 Fix for bug 436, thanks to Pierre 2003-10-16 20:36:25 +00:00
rangi 985af48c45 Fixing bug 619 2003-09-25 09:11:24 +00:00
rangi 80ab9dee1d Fix for returns error message always displaying 2003-08-04 21:47:23 +00:00