Commit graph

177 commits

Author SHA1 Message Date
btoumi
c73cb186f8 bug fix :
add sql condition to recover only the right record from issues table
2007-05-21 07:45:45 +00:00
btoumi
998e68c351 bug fix : adding condition for create the right notify_id 2007-05-07 14:57:01 +00:00
tipaul
7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
btoumi
8489ddc0f1 bug fix : add another security in check of notify_id 2007-04-05 15:55:56 +00:00
btoumi
fd150f2413 bug fix : add security in check of notify_id 2007-04-05 14:08:17 +00:00
tipaul
c596d55374 HUGE COMMIT : code cleaning circulation.
some stuff to do, i'll write a mail on koha-devel NOW !
2007-04-04 16:46:22 +00:00
tipaul
e42c4306a2 oups, fixing bug in EXPORT... 2007-03-30 13:30:36 +00:00
tipaul
83c378e2ed removing useless package 2007-03-30 12:25:12 +00:00
tipaul
8630cd4ad3 removing useless package (copy of C4::Date) 2007-03-30 11:58:02 +00:00
btoumi
39b7f58aa2 add security on borrowernumber,barcode for book issues 2007-03-30 08:38:44 +00:00
tipaul
eba2552086 Code cleaning of Biblio.pm (continued)
All subs have be cleaned :
- removed useless
- merged some
- reordering Biblio.pm completly
- using only naming conventions

Seems to have broken nothing, but it still has to be heavily tested.
Note that Biblio.pm is now much more efficient than previously & probably more reliable as well.
2007-03-29 16:45:53 +00:00
kados
d126742c41 finish fixing spelling error on department 2007-03-10 06:28:06 +00:00
kados
0d7b552dec move Accounts2.pm to Accounts.pm 2007-03-09 23:30:17 +00:00
tipaul
f8e9fb6445 rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
tipaul
2ffd5b7228 rel_3_0 moved to HEAD 2007-03-09 14:28:54 +00:00
tgarip1957
41e4a9c4ad Savannah seems out of sync. reloading.Mainly code cleaning and removing of Date::Manip 2006-11-15 01:36:00 +00:00
tgarip1957
ab45e7aaab Bug fixing and complete removal of Date::Manip 2006-11-06 21:01:43 +00:00
tgarip1957
c5627d23ec A new Date.pm to use for all date calculations. Mysql date calculations removed from Circ2.pm, all modules free of DateManip, a new get_today function to call in allscripts, and some bug cleaning in authorities.pm 2006-10-20 01:20:56 +00:00
tgarip1957
df5492f167 Field weighting applied to ranked searches. A new facets table in mysql db 2006-10-01 21:48:54 +00:00
tgarip1957
9b266b13ee Finalizing main components. All koha modules are now working with the new XML API 2006-09-27 19:53:52 +00:00
tgarip1957
9be398961d Some bug fixing, new acquisitions handling 2006-09-20 21:48:44 +00:00
tgarip1957
57d5b19dca Fixes bug with MARChtml2xml in Biblio.pm
synching with dev_week
2006-09-11 17:09:59 +00:00
tgarip1957
7e52a5665c Clean up before final commits 2006-09-06 16:21:03 +00:00
tgarip1957
aa52969153 New XML handling of data 2006-09-01 22:05:51 +00:00
tgarip1957
0451359813 New set of routines for HEAD.
Uses a complete new ZEBRA Indexing.
ZEBRA is now XML and comprises of a KOHA meta record. Explanatory notes will be on koha-devel
Fixes UTF8 problems
Fixes bug with authorities
SQL database major changes.
Separate biblioograaphic and holdings records. Biblioitems table depreceated
etc. etc.
Wait for explanatory document on koha-devel
2006-08-25 21:07:08 +00:00
toins
c136f56045 subs renamed according to coding guidelines. 2006-07-21 13:57:02 +00:00
btoumi
e22340d1b7 bug fix:
add call to biblio.pm
2006-07-12 14:07:03 +00:00
rangi
ead92228f0 Fixing bad sql 2006-07-12 09:15:26 +00:00
toins
e9795d3913 Head & rel_2_2 merged 2006-07-04 14:57:26 +00:00
alaurin
193e22714f 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
2006-06-08 15:36:31 +00:00
alaurin
c5f7394fcb change the name of function : "get_return_date_of" to "get_current_date_of" 2006-06-07 13:47:55 +00:00
bob_lyon
b9704af003 merging katipo changes...
Adding the ability to have charge discounts on items for certain patrons
2006-06-07 03:11:35 +00:00
bob_lyon
321474ab31 merging katipo changes...
fixing syntax mistake and adding specific change allowing workers at a
library not to have issuing impossible alerts
2006-06-07 02:31:18 +00:00
bob_lyon
ab62ac7ab6 fixing choosing wrong var for max amount issues number 2006-06-07 02:07:10 +00:00
bob_lyon
79befda127 Merging Katipo changes...
Adding the allowance for making issuing impossible after a patron has
accumulated a certain level of debt
2006-06-07 01:56:57 +00:00
bob_lyon
d10c940c46 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
2006-06-07 01:38:14 +00:00
rangi
c6f622b3d6 Merging Katipo work
Fixing formatting of code, and adding new routines for use generating overdue notices
2006-06-07 01:32:06 +00:00
alaurin
0f00577a9e bug fix : for item reservation, now the system don't keep the reserve if the document is returned, works fine !!!! 2006-06-06 12:26:57 +00:00
rangi
eb07ca7bf4 Fix for expiry date bug 2006-06-01 01:41:22 +00:00
alaurin
c98bae12bb new dev : create 3 new program for circulation :
branchreserves : to see reserves for one library (with the branchip selection or librarian preferences)

currenttransfers : show all the transfers are waiting in the library

waitingreservetransfers: show all the book the librarian have to transfer to an another library .

"actions" are bugged, will be corrected .
2006-05-19 17:01:02 +00:00
plg
68924c5e6b New feature from SAN Ouest Provence: ability to reserve a specific item in
the intranet. The development was made on branch 2.2 by Arnaud Laurin from
Ouest Provence and integrated on HEAD by Pierrick Le Gall from INEO media
system.

New page reserve/request.pl taking a biblionumber as entry point.

New functions:

- C4::Biblio::get_iteminfos_of retrieves item informations for a list of
  itemnumbers

- C4::Biblio::get_biblioiteminfos_of retrieves biblioitem informations for a
  list of biblioitemnumbers

- C4::Biblio::get_itemnumbers_of retrieve the list of itemnumbers related to
  each biblionumber given in argument.

- C4::Circulation::Circ2::get_return_date_of retrieves return date for a
  list of itemnumbers.

- C4::Koha::get_itemtypeinfos_of retrieves the informations related to a
  list of itemtypes.

- C4::Koha::get_branchinfos_of retrieves the informations related to a list
  of branchcodes.

- C4::Koha::get_notforloan_label_of retrives the list of status/label for
  the authorised_values related to notforloan.

- C4::Koha::get_infos_of is the generic function used by all get_*infos_of.

- C4::Reserves2::GetNumberReservesFromBorrower

- C4::Reserves2::GetFirstReserveDateFromItem

Modified functions:

- C4::Reserves2::FindReserves was simplified to be more readable.

The reservation page is reserve/request.pl and is linked from nowhere as
long as zebra is not stable yet on HEAD.
2006-05-17 16:06:23 +00:00
tgarip1957
4d79160310 Holding branch gets updated in MARC when a branch transfer occurs 2006-04-10 20:42:18 +00:00
rangi
89eff456a2 Just getting rid of some annoying warnings 2006-02-09 21:34:51 +00:00
tipaul
b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
rangi
2dbb13abd4 Marks the item borrowed now on the items table 2005-09-22 23:30:37 +00:00
tipaul
3a3f9bbb47 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 15:31:05 +00:00
rangi
4148d0ace6 Modified module to no longer use Date::Manip, not as powerful, but a lot faster. 2005-09-03 00:54:23 +00:00
rangi
5d816bf4ba This is currently a copy of C4::Date
But C4::Date uses Date::Manip, which in the authors own words

"If you look in CPAN, you'll find that there are a number of Date and Time packages.  Is Date::Manip the one you should be using?  In my
opinion, the answer is no most of the time."

He goes on to say, that because Date::Manip is powerful and is written fully in perl its also slow.
Now Circulation needs to be as fast as possible. And C4::Date isnt actually doing anything particularly tricky,
So im working on C4::Circulation::Date to be a replacement, in an attempt to win some speed
2005-09-03 00:35:47 +00:00
rangi
d2b2eb603b Fix for loanlength to make the default length work properly 2005-08-31 23:11:19 +00:00
tipaul
2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00