wip/koha-chris_n.git
13 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)

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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

13 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

13 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

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

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

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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

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

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

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

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

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

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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

13 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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

13 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

13 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

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

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

adding new preference IssuingInProcess

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

Fixes for the ordersearch

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

13 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

13 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

13 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

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

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

Fixing formatting and fixing neworder

13 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

13 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

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

13 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

13 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

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

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

13 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

13 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 !!!!

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

13 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

13 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

13 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

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

13 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