Koha-clms/C4
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
..
Circulation CIRCULATION : the big rewrite... 2004-05-03 09:10:51 +00:00
Interface Moved C4/Charset.pm to C4/Interface/CGI/Output.pm 2003-02-02 07:18:37 +00:00
Accounts.pm added param to checkaccount API 2004-05-03 09:04:49 +00:00
Accounts2.pm DBI call fix for bug 662 2003-12-09 15:03:00 +00:00
Auth.pm bugfix : a missing } was placed at a wrong place. The auth did not work anymore... 2004-03-19 15:07:29 +00:00
Authorities.pm synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
Biblio.pm renaming items.bulk field to items.itemcallnumber. 2004-04-02 14:55:47 +00:00
BookShelves.pm *** empty log message *** 2004-03-11 16:06:20 +00:00
Boolean.pm Forgot to take out debugging code 2003-02-06 07:07:54 +00:00
Breeding.pm Fix for bug 761 2004-03-24 00:36:07 +00:00
Catalogue.pm missing my 2004-03-15 14:32:40 +00:00
Context.pm removing searchborrower from circ2.pm. 2003-06-05 17:03:31 +00:00
Database.pm Added magic RCS comment. 2002-10-13 07:31:21 +00:00
Date.pm fix for #229 2003-04-08 11:30:55 +00:00
Format.pm Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y". 2002-10-13 11:32:14 +00:00
Groups.pm DBI call fix for bug 662 2003-12-15 10:49:46 +00:00
Input.pm prepare(?) & execute($var) modif 2003-11-28 14:06:57 +00:00
Koha.pm DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
MANIFEST Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
Maintainance.pm Fixing some bogus sql 2004-03-15 20:24:13 +00:00
Makefile.PL Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
Members.pm synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
Output.pm synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
Print.pm Changing "preference()" calls to "boolean_preference()" calls 2003-06-11 18:44:01 +00:00
Query.pm Starting on C4::Query, 2004-03-07 01:49:34 +00:00
Reserves2.pm Fix for bug 605, committing here as well as the stable branch 2004-01-15 23:33:29 +00:00
Scan.pm Added a POD of sorts. 2002-10-07 00:48:50 +00:00
Search.pm Fix for bug 752 2004-04-28 09:09:27 +00:00
SearchMarc.pm improving Search : 2004-04-16 07:28:22 +00:00
Security.pm Added magic RCS comment. 2002-10-13 07:31:21 +00:00
Shelf.pm DBI call fix for bug 662 2003-12-15 13:41:43 +00:00
SimpleMarc.pm Deleted unused variables. 2002-10-13 08:27:49 +00:00
Stats.pm DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
Stock.pm DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
Z3950.pm fix fog bug #622 : processz3950queue fails 2003-10-01 15:08:14 +00:00
test.pl Removed trailing whitespace. 2002-10-13 09:31:35 +00:00