koha.git
17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 19:33:33 +0000 (19:33 +0000)]
perltidy before commit.

17 years agoslight change in receiveorder() call, added bookfund arg. bookfund now updated during...
sushi [Wed, 7 Jun 2006 19:25:59 +0000 (19:25 +0000)]
slight change in receiveorder() call, added bookfund arg. bookfund now updated during receive for HLT.

Mason's ACQ fixes from HLT-DEV , work in progress.

Adding code to check existing orders in basket to avoid duplication of rows.

Addorder() now allows the user to select whether: the bibitem for the order will be an existing bibitem, or a newly created  bibitem.

adding back in the part the saves the edit page's changes.

Fix for bug 3589, can now order and receive donations in one go.

Fixing a bug, acquisitions wasnt making a new biblioitem when needed.

17 years agoperltidy before next commit.
sushi [Wed, 7 Jun 2006 19:14:06 +0000 (19:14 +0000)]
perltidy before next commit.

17 years agomembers.js :translate javascript message
btoumi [Wed, 7 Jun 2006 14:55:36 +0000 (14:55 +0000)]
members.js :translate javascript message
moremember.tmpl:change wrong url
Members.pm: change wrong field name in sql request(sub newmember)
memberentryA.tmpl : change wrong field name
memberentry.pl:change test condition (checkuniquemember)

17 years agochange the name of function : "get_return_date_of" to "get_current_date_of"
alaurin [Wed, 7 Jun 2006 13:47:55 +0000 (13:47 +0000)]
change the name of function : "get_return_date_of" to "get_current_date_of"

17 years agofix syntax error:change field name
btoumi [Wed, 7 Jun 2006 11:38:23 +0000 (11:38 +0000)]
fix syntax error:change field name

17 years agoImprove SQL formatting (following coding guidelines)
plg [Wed, 7 Jun 2006 11:03:17 +0000 (11:03 +0000)]
Improve SQL formatting (following coding guidelines)

17 years agobug fix: change bad name of function
btoumi [Wed, 7 Jun 2006 10:15:58 +0000 (10:15 +0000)]
bug fix: change bad name of function
translate template in english ( i hope it's right :=))
delete call to css
change size of popup window

17 years agoadd borrowers_details.pl and borrowers_details.tmpl:
btoumi [Wed, 7 Jun 2006 09:15:00 +0000 (09:15 +0000)]
add borrowers_details.pl and borrowers_details.tmpl:
to show details from borrowors double

17 years agobug fix: syntax error in sub getbranches
btoumi [Wed, 7 Jun 2006 07:50:04 +0000 (07:50 +0000)]
bug fix: syntax error in sub getbranches

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:56:55 +0000 (04:56 +0000)]
merging katipo changes...

Added the ability to display all branches opening/closing times on the opac
homepage

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:43:48 +0000 (04:43 +0000)]
merging katipo changes...

allow the getting of only issuing branches only

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:39:37 +0000 (04:39 +0000)]
merging katipo changes...

adding in new set_transit sub

17 years agoMerging in some more changes to allow to resort the reserve list
rangi [Wed, 7 Jun 2006 04:34:21 +0000 (04:34 +0000)]
Merging in some more changes to allow to resort the reserve list

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 04:29:10 +0000 (04:29 +0000)]
Merging Katipo changes.
Fix for bug 3589, can now order and receive donations in one go.
Also a fix to allow user to create a new item, attached to an exisiting bibitem.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 04:13:22 +0000 (04:13 +0000)]
merging katipo changes...

Adding flag for being in credit vs being in debt and added checks to see if
one can renew before trying to renew

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 04:01:00 +0000 (04:01 +0000)]
perltidy before commit.

17 years agoMerging in Katipo changes plus perltidy code format
rangi [Wed, 7 Jun 2006 03:58:37 +0000 (03:58 +0000)]
Merging in Katipo changes plus perltidy code format

17 years ago*** empty log message ***
sushi [Wed, 7 Jun 2006 03:55:54 +0000 (03:55 +0000)]
*** empty log message ***

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 03:47:50 +0000 (03:47 +0000)]
Merging Katipo changes.
call to receiveorder() now takes $bookfund as arg.
Mason's ACQ fixes from HLT-DEV , work in progress
Added regex to convert & to %26 before redirect to receive.pl.
Now has error alert for blank barcode field, and little tidyup.
finishreceive.pl now updates aqorder table's order record with lastest added biblioitem for that order, so ordersearch() now returns the acq-orders most recently created bibitem info, instead of the initally created biblitem info.
Now redirects back to acquire.pl if barcode exists or newitems() fails.
Now allows user to create a new biblioitem/item using a checkbox.
Adding option so magazines make new biblioitems as well as items - in testing stage
adding in the update for the replacement cost on the item table when editing a received order via
adding a bit to allow hlt to edit received order bit and not fail on duplicate barcode
added elsif to handle dup barcode error.
Fix to handle dup barcodes for newitem(), displays error the goes back to acquire.pl.
Now checks to see if newly created item is currently reserved.
Fix for the receive periodicals bit
Catching any errors when making items
More bugfixing this time a bug not saving volume info
Fix for bug 3529, allow freight to be distributed among the items
Now saves modified fields.

17 years agoGiving the correct info to update stats
rangi [Wed, 7 Jun 2006 03:36:51 +0000 (03:36 +0000)]
Giving the correct info to update stats

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 03:30:44 +0000 (03:30 +0000)]
Merging Katipo changes.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 03:29:19 +0000 (03:29 +0000)]
merging katipo changes...

frbranchcd was being passed tobranch info from transferbook

17 years agoAdding a sprintf so fines show up to 2 decimal places
rangi [Wed, 7 Jun 2006 03:27:51 +0000 (03:27 +0000)]
Adding a sprintf so fines show up to 2 decimal places

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 03:25:01 +0000 (03:25 +0000)]
perltidy before commit.

17 years agoShows reserves for a given branch
rangi [Wed, 7 Jun 2006 03:18:55 +0000 (03:18 +0000)]
Shows reserves for a given branch

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 03:11:35 +0000 (03:11 +0000)]
merging katipo changes...

Adding the ability to have charge discounts on items for certain patrons

17 years agoAllowing the rental discount to be modified here too.
rangi [Wed, 7 Jun 2006 03:00:48 +0000 (03:00 +0000)]
Allowing the rental discount to be modified here too.
Rental discount effects the amount a borrower is charge to issue an item

eg, if a borrower category has rental discount of 20 (its a percentage) on itemtypes DVD, and a dvd costs $2 to borrow normally, then it will cos them $1.60
If not set it defaults to zero

17 years agoperltidy before commit.
sushi [Wed, 7 Jun 2006 02:59:10 +0000 (02:59 +0000)]
perltidy before commit.

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:45:26 +0000 (02:45 +0000)]
Merging Katipo changes.
Got acqui homepage actually displaying suggestions - only displayed count before - need to get the suggestedby diplaying borrowers name rather than id number.
Showing budget breakdowns.
Slight alteration - let $status be an input parameter.

17 years agoAdding a sprintf to format the fields involving currency to 2 decimal places
rangi [Wed, 7 Jun 2006 02:42:51 +0000 (02:42 +0000)]
Adding a sprintf to format the fields involving currency to 2 decimal places

17 years agoperltidy before next commit.
sushi [Wed, 7 Jun 2006 02:36:24 +0000 (02:36 +0000)]
perltidy before next commit.

17 years agoFix to allow any limit to be passed in
rangi [Wed, 7 Jun 2006 02:33:09 +0000 (02:33 +0000)]
Fix to allow any limit to be passed in

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:31:18 +0000 (02:31 +0000)]
merging katipo changes...

fixing syntax mistake and adding specific change allowing workers at a
library not to have issuing impossible alerts

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:22:12 +0000 (02:22 +0000)]
Merging Katipo changes.
adding html highlight toggling.

17 years agoMerging Katipo changes
rangi [Wed, 7 Jun 2006 02:17:54 +0000 (02:17 +0000)]
Merging Katipo changes

Script to breakdown the amount committed (ordered but not received) of a particular budget

17 years agofixing choosing wrong var for max amount issues number
bob_lyon [Wed, 7 Jun 2006 02:07:10 +0000 (02:07 +0000)]
fixing choosing wrong var for max amount issues number

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:05:06 +0000 (02:05 +0000)]
merging katipo changes...

Adding new pref to the circ tab

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 02:04:48 +0000 (02:04 +0000)]
Merging Katipo changes.
Added a bit to display the correct item type for a person who has 2 or more
reserve this type only reserves on the same day, ie - reserved a dvd and a book with same biblio.

17 years agomerging katipo changes...
bob_lyon [Wed, 7 Jun 2006 02:02:47 +0000 (02:02 +0000)]
merging katipo changes...

adding new preference IssuingInProcess

17 years agoMerging Katipo changes
rangi [Wed, 7 Jun 2006 02:02:00 +0000 (02:02 +0000)]
Merging Katipo changes

Workaround to deal with bug with IE

17 years agoMerging Katipo changes...
bob_lyon [Wed, 7 Jun 2006 01:56:57 +0000 (01:56 +0000)]
Merging Katipo changes...

Adding the allowance for making issuing impossible after a patron has
accumulated a certain level of debt

17 years agoMerging from Katipo work
rangi [Wed, 7 Jun 2006 01:53:15 +0000 (01:53 +0000)]
Merging from Katipo work

Script to show the breakdown of the amount spent in a budget

17 years agoScripts written by Bob and Mason to do daily til/cash reconciliation for librarybranches
rangi [Wed, 7 Jun 2006 01:40:03 +0000 (01:40 +0000)]
Scripts written by Bob and Mason to do daily til/cash reconciliation for librarybranches

17 years agoMerging Katipo changes...
bob_lyon [Wed, 7 Jun 2006 01:38:14 +0000 (01:38 +0000)]
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

17 years agoMerging Katipo work
rangi [Wed, 7 Jun 2006 01:32:06 +0000 (01:32 +0000)]
Merging Katipo work

Fixing formatting of code, and adding new routines for use generating overdue notices

17 years agoMerging katipo changes
rangi [Wed, 7 Jun 2006 00:39:22 +0000 (00:39 +0000)]
Merging katipo changes

Last of the changes for Acquisitions.pm, bookfundbreakdowns

17 years agoMerging Katipo changes.
sushi [Wed, 7 Jun 2006 00:36:22 +0000 (00:36 +0000)]
Merging Katipo changes.
Updating new fixpriority() sub. now used by reorder_reserve.pl.

17 years agoKatipo merging work
rangi [Wed, 7 Jun 2006 00:07:59 +0000 (00:07 +0000)]
Katipo merging work

Fixes for the ordersearch

17 years agoMerging Katipo changes.
sushi [Tue, 6 Jun 2006 23:49:26 +0000 (23:49 +0000)]
Merging Katipo changes.
Adding CalcHLTReserveFee(), and change to CreateReserve().

17 years agoMerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:45:45 +0000 (23:45 +0000)]
Merging Katipo changes...

adding new system pref 'reading history' to the Members tab

17 years agoMerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:42:46 +0000 (23:42 +0000)]
Merging Katipo changes...

Adding new system pref where one can still retrieve a correct reading
record history if one has moved older data from issues to oldissues table
to speed up issues speed

17 years agomerging Katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:36:37 +0000 (23:36 +0000)]
merging Katipo changes...

site specific chage for issues data being stored in two tables

17 years agoMerging Katipo changes
sushi [Tue, 6 Jun 2006 23:20:30 +0000 (23:20 +0000)]
Merging Katipo changes

Now removing the resurrected biblio from the list.

17 years agoMerging Katipo changes...
rangi [Tue, 6 Jun 2006 23:18:12 +0000 (23:18 +0000)]
Merging Katipo changes...

Fixing formatting and fixing neworder

17 years agoMerging katipo changes...
bob_lyon [Tue, 6 Jun 2006 23:13:14 +0000 (23:13 +0000)]
Merging katipo changes...

altering subject search to stop returning blank rows

17 years agoMerging katipo changes...
bob_lyon [Tue, 6 Jun 2006 22:48:00 +0000 (22:48 +0000)]
Merging katipo changes...

Modified getbranches so you can pass it a branch type and it will only
return branches of that type

17 years agobug fix:
btoumi [Tue, 6 Jun 2006 16:18:00 +0000 (16:18 +0000)]
bug fix:
deletemem.pl:
 syntax error in sql request ( bad field name)
memberentry.pl
syntax error (bad variable name)

17 years agobug fix :syntax error in variable name
btoumi [Tue, 6 Jun 2006 15:54:36 +0000 (15:54 +0000)]
bug fix :syntax error in variable name

17 years agoadd javascript function
btoumi [Tue, 6 Jun 2006 15:51:22 +0000 (15:51 +0000)]
add  javascript function
to confirm deletion
to confirm re-registration

17 years agobug fix: syntax error in borrowers form field(opacnote)
btoumi [Tue, 6 Jun 2006 15:47:21 +0000 (15:47 +0000)]
bug fix:  syntax error in borrowers form field(opacnote)

17 years agonew fonctions for returns.pl :
alaurin [Tue, 6 Jun 2006 12:46:52 +0000 (12:46 +0000)]
new fonctions for returns.pl :

- the system check if we don't have another reserv for the document returned, we return the document to his homebranch, ......
- improvement of returns,  adapt item reservation , loan rules, and transfer rules ....

17 years agonew color alerts for the differents kind of reserves (available,on transfer, on loan...
alaurin [Tue, 6 Jun 2006 12:30:43 +0000 (12:30 +0000)]
new color alerts for the differents kind of reserves (available,on transfer, on loan ......) + warning color ....
+ minor changes of templates

17 years agobug fix : for item reservation, now the system don't keep the reserve if the document...
alaurin [Tue, 6 Jun 2006 12:26:57 +0000 (12:26 +0000)]
bug fix : for item reservation, now the system don't keep the reserve if the document is returned, works fine !!!!

17 years agomodify unit for enrolmentperiod in categorie.tmpl
btoumi [Tue, 6 Jun 2006 08:38:18 +0000 (08:38 +0000)]
modify unit for enrolmentperiod in categorie.tmpl
(now unit is month)

17 years agomodifiy sql syntax for modmember and newmember
btoumi [Fri, 2 Jun 2006 15:48:10 +0000 (15:48 +0000)]
modifiy sql syntax for modmember and newmember
add right field in sql syntax
move get_age function from memberentry.pl

17 years agobug fixing : syntax error in url to access at borrower details
btoumi [Fri, 2 Jun 2006 15:43:15 +0000 (15:43 +0000)]
bug fixing : syntax error in url to access at borrower details

17 years agomodify bad field name
btoumi [Fri, 2 Jun 2006 15:37:29 +0000 (15:37 +0000)]
modify bad field name
use fonction Today from date::calc

17 years agodelete today function (from OP)
btoumi [Fri, 2 Jun 2006 15:31:20 +0000 (15:31 +0000)]
delete today function (from OP)

17 years agomove function get_age :
btoumi [Fri, 2 Jun 2006 14:51:43 +0000 (14:51 +0000)]
move function get_age :
memberentry.pl => Members.pm
add forgotten field in sql request

17 years agoModifying members is now working, well mostly anyway.
rangi [Thu, 1 Jun 2006 23:18:57 +0000 (23:18 +0000)]
Modifying members is now working, well mostly anyway.

17 years agoFixing a lot of formatting
rangi [Thu, 1 Jun 2006 22:49:08 +0000 (22:49 +0000)]
Fixing a lot of formatting

Now working on fixing modmember so it works with the new members system

17 years agoLink to modify a borrower working now
rangi [Thu, 1 Jun 2006 21:54:42 +0000 (21:54 +0000)]
Link to modify a borrower working now

17 years agoFix for adding organisations to a borrower
rangi [Thu, 1 Jun 2006 21:49:25 +0000 (21:49 +0000)]
Fix for adding organisations to a borrower

17 years agoImprovements for reserves infos in circulation.pl
alaurin [Thu, 1 Jun 2006 10:03:08 +0000 (10:03 +0000)]
Improvements for reserves infos in circulation.pl

new infos displayed :

 -Waiting position of borrower on document reserve .
 -Follow the document he's in transfert  .
 -more infos of document are displayed in a specific cell ....

N.B : the old display of reserves infos are only commented, will be removed, if new display is ok for everybody ...

17 years agoAdding a new column to the statistics table
rangi [Thu, 1 Jun 2006 03:18:11 +0000 (03:18 +0000)]
Adding a new column to the statistics table

17 years agoAllows a person to choose an associated borrower (orgranisation) when Issuing.
rangi [Thu, 1 Jun 2006 01:44:16 +0000 (01:44 +0000)]
Allows a person to choose an associated borrower (orgranisation) when Issuing.
This is to allow a person who is associated with many organisations to choose the one he/she is borrowing an item for

No changes to the issuing code, or the issues table, the associated borrower number is stored in the statistics table

17 years agoStores an associated borrowernumber now with issue data, if the system pref is set.
rangi [Thu, 1 Jun 2006 01:42:19 +0000 (01:42 +0000)]
Stores an associated borrowernumber now with issue data, if the system pref is set.
Otherwise there is no difference

17 years agoFix for expiry date bug
rangi [Thu, 1 Jun 2006 01:41:22 +0000 (01:41 +0000)]
Fix for expiry date bug

17 years agoReads external marc records with biblionumbers and populates koha tables with the...
tgarip1957 [Wed, 31 May 2006 15:49:38 +0000 (15:49 +0000)]
Reads external marc records with biblionumbers and populates koha tables with the new marc record (only the marc record). Useful after changing encodings etc.

17 years agobug fix : rank request of reserves by biblio is correct .
alaurin [Wed, 31 May 2006 14:07:26 +0000 (14:07 +0000)]
bug fix : rank request of reserves by biblio is correct .
now we can reserve with items, and biblios with rank-request .

17 years agobug fixing : syntax error in url to access at stats.pl
btoumi [Wed, 31 May 2006 09:02:08 +0000 (09:02 +0000)]
bug fixing : syntax error in url to access at stats.pl

17 years agobug fixing : syntax error in url to access at histsearch.pl
btoumi [Wed, 31 May 2006 08:42:55 +0000 (08:42 +0000)]
bug fixing : syntax error in url to access at histsearch.pl

17 years agobugfixing of the itemtypes infos in branchreserves,currenttransfers,waitingreservestr...
alaurin [Tue, 30 May 2006 12:03:54 +0000 (12:03 +0000)]
bugfixing of the itemtypes infos in branchreserves,currenttransfers,waitingreservestransfers

17 years agodoesn't use context yet ...
kados [Mon, 29 May 2006 17:51:16 +0000 (17:51 +0000)]
doesn't use context yet ...

17 years agoTesting suite for Record.pm. This script will assist you to determine
kados [Mon, 29 May 2006 17:43:56 +0000 (17:43 +0000)]
Testing suite for Record.pm. This script will assist you to determine
whether you system is capable of utilizing Record.pm (if there are
problems, it's likely with the back-end SAX Parser you've got installed).
I'll be expanding this in the future to provide better error handling
and instructions for fixing the parsers, etc.

17 years agoExpanding the error-handling and capabilities of the Record.pm API.
kados [Mon, 29 May 2006 17:41:44 +0000 (17:41 +0000)]
Expanding the error-handling and capabilities of the Record.pm API.

This module represents a major leap forward in Koha's support of standard
record formats (ISO-2709 (MARC), MARCXML, Dublin Core, MODS, etc). It
provides a standard API for record management as well as an error-handling
mechanism so that the API will return proper error strings to the calling
program. It's only partially implemented currently, but the API returns
proper error strings if a feature isn't implemented.

There is also a testing suite that you can use to check your system's
capabilities to handle record and encoding conversions. Commit coming
soon.

I'm gonna work in UNICODE support next ...

17 years agofixing some misspellings, reformatting a bit, etc.
kados [Wed, 24 May 2006 23:30:43 +0000 (23:30 +0000)]
fixing some misspellings, reformatting a bit, etc.

17 years agoRecord.pm is a new module in Koha 3.0 for managing MARC, MARCXML, XML, etc.
kados [Wed, 24 May 2006 21:29:32 +0000 (21:29 +0000)]
Record.pm is a new module in Koha 3.0 for managing MARC, MARCXML, XML, etc.
records. It can be used to convert from one record format to another,
build formats from html (such as in addbiblio and additem), convert from
one encoding to another, etc.

It's the first module that provides access to the new Koha 3.0 API that
I've been working on (stay tuned for a mail to koha-devel explaining it).

17 years agobug fixing : modify variable name and delete condition useless now
btoumi [Wed, 24 May 2006 13:14:04 +0000 (13:14 +0000)]
bug fixing : modify  variable name and delete condition useless now

17 years agobug fixing : adding a call to C4::members
btoumi [Wed, 24 May 2006 08:14:48 +0000 (08:14 +0000)]
bug fixing : adding a call to C4::members

17 years agoFixing a couple of syntax errors
rangi [Tue, 23 May 2006 23:52:31 +0000 (23:52 +0000)]
Fixing a couple of syntax errors

17 years agosyntax error has been corrected
btoumi [Tue, 23 May 2006 15:01:12 +0000 (15:01 +0000)]
syntax error has been corrected

17 years agoAdd category type value with A for Adult P for Professional
btoumi [Tue, 23 May 2006 14:26:15 +0000 (14:26 +0000)]
Add category type value with A for Adult P for Professional
I for Institution  and C for children

17 years agoadding cities & roadtype menus in Parameters menu (from SAN-OP)
btoumi [Tue, 23 May 2006 11:51:59 +0000 (11:51 +0000)]
adding cities & roadtype menus in Parameters menu (from SAN-OP)

17 years agoadding cities & roadtype (from SAN-OP)
tipaul [Tue, 23 May 2006 11:44:23 +0000 (11:44 +0000)]
adding cities & roadtype (from SAN-OP)

17 years agosyntax error has been corrected
btoumi [Tue, 23 May 2006 10:00:01 +0000 (10:00 +0000)]
syntax error has been corrected

17 years agoadd_member_orgs, to add borrowers to organisations (other borrowers)
rangi [Tue, 23 May 2006 03:18:39 +0000 (03:18 +0000)]
add_member_orgs, to add borrowers to organisations (other borrowers)

17 years agoShould be the last of the changes to these files
rangi [Tue, 23 May 2006 02:18:21 +0000 (02:18 +0000)]
Should be the last of the changes to these files

Have to build a table to store borrower->organisation (which are really just other borrowers) links and write a routine to populate that table.

May have to make another change to memberentry.pl

17 years agoNo merge needed, added a version string and the copyright statement
rangi [Tue, 23 May 2006 01:53:19 +0000 (01:53 +0000)]
No merge needed, added a version string and the copyright statement