wip/koha-chris_n.git
14 years agoHead & rel_2_2 merged
toins [Tue, 4 Jul 2006 13:35:29 +0000 (13:35 +0000)]
Head & rel_2_2 merged

14 years agobug fix :authorize auto insert in zipcode and city field (form 2)if u select a city...
btoumi [Tue, 27 Jun 2006 09:37:23 +0000 (09:37 +0000)]
bug fix :authorize auto insert in zipcode and city field (form 2)if u select a city in form 1

14 years agomodify (initials,phone ) fields property in borrowers and deletedborrowers table
btoumi [Tue, 27 Jun 2006 09:26:37 +0000 (09:26 +0000)]
modify (initials,phone ) fields property in borrowers and deletedborrowers table

14 years agonow allows reporting on accession date too, and small sql fix for mysql-5.
sushi [Tue, 27 Jun 2006 00:37:34 +0000 (00:37 +0000)]
now allows reporting on accession date too, and small sql fix for mysql-5.

14 years agosorry i forget deletedborrowers table
btoumi [Thu, 22 Jun 2006 10:33:14 +0000 (10:33 +0000)]
sorry i forget deletedborrowers table
modify firstname field from deletedborrowers table

14 years agomodify firstname field caracteristic from borrowers table
btoumi [Thu, 22 Jun 2006 10:30:57 +0000 (10:30 +0000)]
modify firstname field caracteristic from borrowers table

14 years agoMembers.pm ,memberentry(A)(P)(C).tmpl,memberentry.pl:bug fix with wrong field name
btoumi [Thu, 22 Jun 2006 10:07:49 +0000 (10:07 +0000)]
Members.pm ,memberentry(A)(P)(C).tmpl,memberentry.pl:bug fix with wrong field name
memberentry.pl:translate  title in english ;=) (i hope is ok)
buf fix with bad condition

14 years agobranchtransfers.tmpl : bug fix wrong call to include file name
btoumi [Thu, 22 Jun 2006 09:09:15 +0000 (09:09 +0000)]
branchtransfers.tmpl : bug fix wrong call to include file name

14 years agoaquisition.pm : bug fix add variable decalaration
btoumi [Thu, 22 Jun 2006 08:43:07 +0000 (08:43 +0000)]
aquisition.pm : bug fix add variable decalaration
selectbranchprinter.tmpl :bug fix call to wrong include file

14 years agoCode to allow the associated borrowers to work
rangi [Tue, 20 Jun 2006 22:35:47 +0000 (22:35 +0000)]
Code to allow the associated borrowers to work

14 years agoupdate PREREQ_PM with info from Joshua Ferraro Fri, 16 Jun 2006 13:51:16 -0700
slef [Mon, 19 Jun 2006 19:48:56 +0000 (19:48 +0000)]
update PREREQ_PM with info from Joshua Ferraro Fri, 16 Jun 2006 13:51:16 -0700

14 years agoAdds Dublin Core and MODS support (incomplete)
kados [Sun, 18 Jun 2006 17:46:33 +0000 (17:46 +0000)]
Adds Dublin Core and MODS support (incomplete)

14 years agoLinks to approve and delete reviews
rangi [Sat, 17 Jun 2006 22:30:23 +0000 (22:30 +0000)]
Links to approve and delete reviews

14 years agoCan now approve or delete reviews
rangi [Sat, 17 Jun 2006 22:29:37 +0000 (22:29 +0000)]
Can now approve or delete reviews

14 years agoCode to approve and delete reviews
rangi [Sat, 17 Jun 2006 22:28:24 +0000 (22:28 +0000)]
Code to approve and delete reviews

14 years agoAdding id field to reviews table
rangi [Sat, 17 Jun 2006 22:12:01 +0000 (22:12 +0000)]
Adding id field to reviews table

14 years agoAdmin interface to approve reviews, not finished yet
rangi [Sat, 17 Jun 2006 04:26:38 +0000 (04:26 +0000)]
Admin interface to approve reviews, not finished yet
Needs a script to delete a review and to approve one. Will work on this later (taking a break to watch rugby)

14 years agoFixing, working now
rangi [Sat, 17 Jun 2006 03:50:50 +0000 (03:50 +0000)]
Fixing, working now

14 years agoTidying up formatting
rangi [Sat, 17 Jun 2006 03:43:57 +0000 (03:43 +0000)]
Tidying up formatting

14 years agoPassing through reviewson value, and fixing syntax error
rangi [Sat, 17 Jun 2006 03:42:56 +0000 (03:42 +0000)]
Passing through reviewson value, and fixing syntax error

14 years agoTable definition for the reviews table
rangi [Sat, 17 Jun 2006 03:36:41 +0000 (03:36 +0000)]
Table definition for the reviews table

14 years agoVariable to allow librarians to switch reviews on or off
rangi [Sat, 17 Jun 2006 03:29:41 +0000 (03:29 +0000)]
Variable to allow librarians to switch reviews on or off

14 years agoAllowing users to review items if reviewson is set to on in system preferences
rangi [Sat, 17 Jun 2006 03:27:13 +0000 (03:27 +0000)]
Allowing users to review items if reviewson is set to on in system preferences

14 years agoTidying up, and getting it working again
rangi [Sat, 17 Jun 2006 03:18:32 +0000 (03:18 +0000)]
Tidying up, and getting it working again

14 years agoupdatedatabase.pl: add change of borrowers table to deletedborrowers table
btoumi [Fri, 16 Jun 2006 09:45:02 +0000 (09:45 +0000)]
updatedatabase.pl: add change of borrowers table to deletedborrowers table
deletemem.pl: delete use of warn function

14 years agodelete line with warn function
btoumi [Fri, 16 Jun 2006 07:20:48 +0000 (07:20 +0000)]
delete  line with warn function

14 years agoMembers.pm:add a field in sql request (sub getborrowercategory) to return category_type
btoumi [Thu, 15 Jun 2006 14:05:23 +0000 (14:05 +0000)]
Members.pm:add a field in sql request (sub getborrowercategory) to return category_type
memberentry.pl:modify call to getborrowercategory
moremember.tmpl:modify condition to display "add child" option (only for adult)
moremember.pl:add condition,call to getborrowercategory , change variable name

14 years agoComprehensive Koha post-installation MARC 21 standard bibliographic framework
thd [Thu, 15 Jun 2006 07:34:58 +0000 (07:34 +0000)]
Comprehensive Koha post-installation MARC 21 standard bibliographic framework
script.

14 years agomemberentryC.tmpl:add test to modify link name
btoumi [Wed, 14 Jun 2006 15:59:37 +0000 (15:59 +0000)]
memberentryC.tmpl:add test to modify link name
memberentry.pl:add test to return default value for select_city

14 years agomemberentryC.tmpl: modify and add conditions
btoumi [Tue, 13 Jun 2006 15:25:17 +0000 (15:25 +0000)]
memberentryC.tmpl: modify and add conditions
moremember.tmpl:add op value in url (modify)
memberentry.pl:modify condition

14 years agoborraccount.tmpl , mancredit.tmpl , maininvoice.tmpl : bug fix modify wrong url
btoumi [Tue, 13 Jun 2006 09:54:30 +0000 (09:54 +0000)]
borraccount.tmpl  , mancredit.tmpl , maininvoice.tmpl : bug fix modify wrong url
pay.tmpl , readingrec.tmpl : add back button

14 years agopay.pl: bug fix , add variable declaration
btoumi [Tue, 13 Jun 2006 09:19:18 +0000 (09:19 +0000)]
pay.pl: bug fix , add variable declaration
pay.tmpl bug fix modify wrong url to access pay.pl
add back url ( from pay.tmpl to moremember.tmpl )
memberentry.pl: replace variable name

14 years agoFixing missing parametrs for bookfundbreakdown
rangi [Tue, 13 Jun 2006 08:45:04 +0000 (08:45 +0000)]
Fixing missing parametrs for bookfundbreakdown

14 years agoRevised and greatly enlarged to near completion Koha MARC 21 standard
thd [Tue, 13 Jun 2006 02:50:35 +0000 (02:50 +0000)]
Revised and greatly enlarged to near completion Koha MARC 21 standard
bibliographic framework.

14 years agomembers.pm: add field fax in getguarantordata function
btoumi [Mon, 12 Jun 2006 15:12:11 +0000 (15:12 +0000)]
members.pm: add field  fax  in getguarantordata function
memberentry.pl : move getgarantordata use before step1
and add default_city value from guarantor  data (if exist)

14 years agobug fix:syntax error with hashref
btoumi [Mon, 12 Jun 2006 13:40:08 +0000 (13:40 +0000)]
bug fix:syntax error with hashref

14 years agoMembers.pm: modify getborrowercategory function to return dateofbirthrequired and...
btoumi [Mon, 12 Jun 2006 13:00:40 +0000 (13:00 +0000)]
Members.pm: modify getborrowercategory function  to return dateofbirthrequired and upperagelimit
memberentryC and P  : add error message ERROR_age_limitations
memberentry.pl : replace sql request  by function getborrowercategory for return upperagelimit and dateofbirthrequired
moremember.pl: modify call to function getborrowercategory

14 years agobug fixing :
alaurin [Mon, 12 Jun 2006 09:38:52 +0000 (09:38 +0000)]
bug fixing :

   - Printer selection for add a new branch, is now working

   - the branchname of librarian is not display automaticly if you add a new branch

   - the printqueue is now displayed on branches infos page and edit branch page

14 years agoadd call to doc-head-open.inc and doc-head-close.inc
btoumi [Mon, 12 Jun 2006 08:35:58 +0000 (08:35 +0000)]
add call to doc-head-open.inc and doc-head-close.inc
delete direct call to common-style.css

14 years ago-bug fix :modify condition to autoinsert value in city and zipcode field (in borrowe...
btoumi [Fri, 9 Jun 2006 15:10:39 +0000 (15:10 +0000)]
-bug fix :modify condition to autoinsert value in  city and zipcode field (in borrowers form 2)
-add fonctionnality to affect good default value in $GIbranch

14 years agobug fixing :
alaurin [Fri, 9 Jun 2006 12:06:15 +0000 (12:06 +0000)]
bug fixing :
- for the userenv cookie, the branch, is now correctly implemented with the ip check .....

14 years agoFixing the missing , i just missed
rangi [Fri, 9 Jun 2006 11:49:12 +0000 (11:49 +0000)]
Fixing the missing , i just missed

I shouldnt commit things at midnight

14 years agoFixing a bug that bruno spotted, $bookfund in receiveorder
rangi [Fri, 9 Jun 2006 11:47:53 +0000 (11:47 +0000)]
Fixing a bug that bruno spotted, $bookfund in receiveorder

14 years agobug fix : navigation's problem in differents borrowers forms
btoumi [Fri, 9 Jun 2006 11:34:39 +0000 (11:34 +0000)]
bug fix : navigation's problem  in differents borrowers forms

14 years agoAdd a new system preference 'AutomaticItemReturn' :
alaurin [Thu, 8 Jun 2006 15:36:31 +0000 (15:36 +0000)]
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

14 years agoOOPS, adding back Joshua's changes.
sushi [Wed, 7 Jun 2006 19:49:11 +0000 (19:49 +0000)]
OOPS, adding back Joshua's changes.
Adds script support for IntranetNav ... see mail to koha-devel for
details.
Adds support for intranetstylesheet system pref in Koha scripts.
Adds support for intranetcolorstylesheet.

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

14 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.

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

14 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)

14 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"

14 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

14 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)

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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

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

14 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

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

14 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.

14 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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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.

14 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

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

14 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

14 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

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

14 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

14 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

14 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

14 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.

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

adding new preference IssuingInProcess

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

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

Fixes for the ordersearch

14 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().

14 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

14 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

14 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

14 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.