Commit graph

463 commits

Author SHA1 Message Date
Jesse Weaver
9389ef50ee Fix itemtype image problem in moremember.pl
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-22 11:15:25 -05:00
Jesse Weaver
7da895cda7 fix for bug 1771: Template errors with remote itemtype image
This adds a new function, getitemtypeimagelocation, that returns the image
unmodified for absolute urls and returns the proper intranet or opac path
otherwise. It also updates all of the relevant files to use that function.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-21 16:50:29 -05:00
Galen Charlton
ac105c4a88 bug 2521: distinguish types of hold requests
Title-level and item-level requests are now more
clearly distinguished in the patron details page
and the patron checkout page.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-18 07:15:26 -05:00
Joshua Ferraro
8f4f59a5bb 2433: Cannot apply manual credits with an item number
This patch changes the behavior so that you can enter in
a barcode instead of an itemnumber for the manual credit
and invoice screens. Also, the borrower's account page now
displays a link back to the item record if an item was
linked to the charge
2008-08-09 12:56:04 -05:00
Marc Chantreux
e369181bee use alphabetical order to popup the cities
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-08-06 07:08:39 -05:00
Ryan Higgins
dd8bc50768 Hide the payment/writeoff dropdown on lines that are credits (or forgiven).
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-24 11:26:11 -05:00
Jesse Weaver
78d960152f fix for bug 2221: Problems with Guarantor Fields...
This patch corrects this problem, by, when a patron record is linked as a guarantor, showing that and not allowing the name to be edited. It still allows manual entry of a guarantor. It also untabifies a few places in the affected files and fixes some inconsistent names.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-16 18:26:27 -05:00
Jesse Weaver
0532b7deab fix for bug 2348: Cannot change patron category
This makes the code that generates the category code list loop through all six category types.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-16 18:26:13 -05:00
Jesse Weaver
3b6e8cbc53 fix for 2177: Barcode on checkout slip
This patch adds barcodes to the Checkouts and Overdues section of the receipt. It also removes the Overdues section if it is empty.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:10:03 -05:00
1e2ff18e95 More changes to update-child process. Many scripts missing necessary data for checking how to process an update-child request. Also cleaning up update-child.tmpl for formatting. Minor text change (translation problem?)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-08 18:09:38 -05:00
52c933c413 Scripts missing check for Child category type would not correctly show 'update child patron' link in toolbar.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-08 18:09:36 -05:00
Andrew Moore
3aafdf768d Bug 2176 (5/5): adding staff interface to patron messaging preferences
I added another tab to the "patron" area of the staff interface to let staff
edit patron messaging preferences.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-20 13:04:55 -05:00
Galen Charlton
c5ac051f70 bug 2264: do not clear patron zipcode and city
When edting only a part of the patron record (e.g.,
the library use section or the alternate address), the
zipcode and city were cleared due to an error in
form processing.  Now the city and zipcode are set
only of those fields are actually in the submitted form.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-19 20:45:54 -05:00
Galen Charlton
356e48b678 bug 2263 - transfer zipcode when selecting guarantor
The template for the guarantor search implies that
the zipcode is one of the values to be copied from
guarantor to guarantee.  Fixed so that the transfer
can actually take place.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-19 20:45:53 -05:00
Ryan Higgins
3675d88035 Fix upgrade-child: could not update child unless guarantor was defined. Also, limit upgrade path to C -> A .
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-12 16:36:50 -05:00
Ryan Higgins
fc98d228c2 Sort dropdowns for libraries by name instead of branchcode in several staff-side interfaces.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-02 00:50:33 -05:00
Mason James
b461a041d0 bug-2149, added new block to C4::Letters::SendAlerts() to email 'account creation' notice, and new block in memberentry.pl to call SendAlerts().
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-30 11:11:22 -05:00
dcd12da0e0 Fix for bug 2130, "Patron Image Missing on Permissions Screen"; Correction to allow proper tab highlighting when viewing patron log.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-27 06:51:23 -05:00
Galen Charlton
a7ba1bb941 kohabug 2105: prevent crash on IE7
Three scripts were incorrect setting the HTTP type
header to 'utf-8' instead of something appropriate
like 'text/html' - Firefox evidentally can ignore that
mistake, but IE7 does not.

Fixed by replacing an invalid print of the HTTP header
and template output with a call to
C4::Output::output_html_with_http_headers.

Also corrected POD in C4::Auth and InstallAuth to
reflect correct use of output_html_with_http_headers.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-13 17:40:36 -05:00
157b5a1eb6 Adding checks for dateformat preference so that tablesorter script can be passed an extra parameter for proper sorting of metric dates (Bug 2089, dates & table ordering with jquery)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-12 10:06:32 -05:00
Henri-Damien LAURENT
9fb4a72122 Bug Fixing 1782 patch
Adding a new routine GetBorrowercategoryList in C4/Member
Displaying categoryname when listing categories in memberentrygen.pl
using categorytype returned with GetMember wherever it is possible.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-12 09:42:25 -05:00
Galen Charlton
944063b247 patron attributes - staff search and display
If ExtendedPatronAttributes is ON, patron attributes
can be displayed and edited by staff members.

The patron attributes are displayed and edited
in a new section (step 4) of the patron details page.  Each
attribute is identified by its type (including type code
and type description) and value (included value description
if the attribute is controlled by an authorised value category).

Note: if, for a repeatable attribute type, the staff member
enters multiple copies of that type with the same value, duplicates
are removed when the patron record is saved.  Also, if the type
is repeatable, a JavaScript link allows the staff member to
create new attributes of that type.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-12 09:03:09 -05:00
Henri-Damien LAURENT
d08d9e3fb7 Addressing bug 1782
Adding New Systempreference AddPatronLists
This systempreference allow administrator to choose if patrons are created on categorycode lists or category_type ones.

Overloading GetBorrowerCategory so that if no parameter provided, it returns the list of category records
Changing memberentry.pl in order to use the categorycode when provided.
Bug Fixing Circulation.pl so that doesnot come up with Error 500
with no category selected for GetBorrowerCategory

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-11 05:49:27 -05:00
Ryan Higgins
f4f840da2c Small template cleanup: display library name and cat description instead of codes
in circ-menu include.  Also, change 'Default' on main login page to 'My Library'.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-22 17:54:19 -05:00
Galen Charlton
83f8e22aec renamed CheckSpecificUserPermissions to GranularPermissions
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-10 15:53:45 -05:00
Galen Charlton
0f7ed0ebb4 granular permissions - update CGI script for permissions editor
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-10 15:53:26 -05:00
be99aba949 Some formatting changes, bringing displays in circ and moremember more in line with each other
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-08 08:37:03 -05:00
afabf473f4 Removing old patronimages js check, adding missing patron image variable to script.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:33 -05:00
5702b149c3 Fixing bug that caused all items in checked-out list to show up as overdue; Reformatting table and tweaking select all/none behavior.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:31 -05:00
Galen Charlton
a9f7993b3e fix errors with using today's date and format_date
This patch should reduce the occurrence of the following
message in the error log:

Illegal Date '2008-3-14' does not match 'iso' format: yyyy-mm-dd

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:37:21 -05:00
Galen Charlton
ba82ae3a95 fix crash when recording payment for lost item
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:37:15 -05:00
Galen Charlton
79c0fd029c fix crash when writing off fine that is not associated with an item
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:37:14 -05:00
Galen Charlton
e1c01255d5 after processing payment, redirect to patron account list
* redirecting to the account page shows operator that
  payment was recorded
* avoids a jarring transition

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:37:13 -05:00
Galen Charlton
4895e8f6f2 fixed another non-initialized variable in TMPL_IF EXPR
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:37:12 -05:00
Galen Charlton
60896f68c5 removed invalid TMPL_IF EXPR
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-15 08:36:42 -05:00
Ryan Higgins
bd8f90387b Add Local-use statistical patron category_type
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-10 05:27:37 -05:00
Chris Nighswonger
c767c99051 Correcting code to display patronimage correctly
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-07 07:40:38 -06:00
Chris Nighswonger
6b89cda969 Completing adding patronimage upload form to patron details screen.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-06 06:25:13 -06:00
Chris Nighswonger
36baa63f97 First installment on adding patronimage upload form to member details view.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-06 06:25:11 -06:00
Chris Nighswonger
5bd4181aaa Switching CGI calls to a more Object Oriented sytax
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-28 07:58:47 -06:00
Chris Nighswonger
4f6cf28106 Adding code to default to patron-blank.png if no image exists in the
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-27 09:02:16 -06:00
Chris Nighswonger
fc3d45bb99 Adding members/patronimage.pl to retrieve patron image data from db and format for display in HTML
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-23 10:55:38 -06:00
QA Manager
496012c7b5 fix for bug 1836, Adding patrons fails when using cites/zipcode feature]
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-19 20:43:25 -06:00
Paul POULAIN
b0d18cfd4d Added issue date column to issues list
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-19 20:22:03 -06:00
Chris Nighswonger
c6d6f60013 More fixes for patron images
Added GetPatronImage function to Members.pm
Added code to circulation.pl, boraccount.pl, readingrec.pl, and moremember.pl to grab patron image and pass it off to the template
Corrected code in circ-menu.inc to properly display patron image.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-03 07:24:28 -06:00
Chris Nighswonger
3fdd6a17cf Second installment on Patron Images fixes
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-03 07:24:01 -06:00
Henri-Damien LAURENT
fc0ac9ea1b Adding manual datedue for renewals on moremember pages.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-25 16:52:18 -06:00
Chris Cormack
7d758613cf Fix for bug 1772, thanks for the bug report Arona
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-23 21:31:05 -06:00
Paul POULAIN
d02d53e85a adding dateexpiry to borrowers search result list
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-22 07:20:23 -06:00
Henri-Damien LAURENT
70a284bd1e adding syspref PatronsPerPage
PatronsPerPage stores the number of patrons to display per page.
Default is 20

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-15 15:32:29 -06:00
Ryan Higgins
d40c752671 category entry javascript fix
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-14 16:40:46 -06:00
Chris Cormack
7c9f045815 Fix for 1599 getting expiry date prepopulating on member entry
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-10 15:36:40 -06:00
Chris Cormack
552fd87fa4 Fix for bug 1686
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-09 14:50:17 -06:00
83d8e095ae Cleanup for member entry: XHTML-compliance (close inputs, ids must match labels) and translator-friendliness (can't embed TMPL_IF inside tags); Cleanup of circ and members menus; Menu context flag for readingrec.pl; Correction to Auth.pm (updatecharge -> updatecharges)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-09 14:50:02 -06:00
37090d171a Changing circ redirect to use borrowernumber instead of cardnumber: If you edited a patron's record to change their cardnumber the redirect would fail because it used the old number.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-09 14:50:01 -06:00
Chris Cormack
c6c9326df1 Fix for bug 1740
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:23 -06:00
Henri-Damien LAURENT
e7b1232250 Adding feature : multiple returns via moremember page.
Adding Connection for renewScript
Adding javascript functions to moremeber.tmpl
Adding error management for returns.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:03 -06:00
Chris Cormack
f077aa6c1f Fix for bug 1730 fixing display for pay.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 01:57:50 -06:00
Joshua Ferraro
37ca0cac1f fix for bug 1697, as well as repairing inability to change category to Staff
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-04 21:30:25 -06:00
Mason James
4b233f4dec tmpl var CATCODE_MULTI now passed
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-03 01:44:11 -06:00
Mason James
2995fdcc1a tweaks to update-child feature.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-03 01:43:59 -06:00
Mason James
f11a088d4e little fixes for update_child feature.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-03 01:43:45 -06:00
Ryan Higgins
8a4ad06a55 cleanup in memberentry,categories.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-27 17:22:33 -06:00
Chris Cormack
a924f7d6a5 Taking out warn
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-27 17:21:47 -06:00
Chris Cormack
28fe361296 Fix for bug 1666
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-27 17:21:35 -06:00
Chris Cormack
c8e13ff834 Fix for bug 1164, child branch not defaulting to guarantor's on add child
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-26 22:15:08 -06:00
Chris Cormack
68bf17afc4 Fix for 1654
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-26 20:48:06 -06:00
Chris Cormack
6251e32e6e Fix for bug 1014, internal server error on unknown borrower
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-26 20:48:05 -06:00
Chris Cormack
867131812a Fix for 1699, cant change category type
Now you can change a borrower to any category

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-26 16:51:05 -06:00
Chris Cormack
6bd53fd15b Fix for bug 1686, moremember.pl doesnt know if a borrower is a child
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-26 16:51:00 -06:00
Joshua Ferraro
58d425cf7b fix for bug 1696: Reading record page fails
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-25 12:28:55 -06:00
Joe Atzberger
d586a33578 borrowers_details - needs format_date
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 20:51:19 -06:00
Joe Atzberger
c102b3c6f5 Members overhaul for Dates.pm - Stop double converts and disappearing expiration mods.
Allow errors displayed by memberentrygen.  Please confirm with add'l tests, feedback.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 19:19:00 -06:00
Joe Atzberger
14eb56e8dd memberentry.pl - fixes inappropriate use of map in void context, tweaks debug for CGI
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-19 18:54:42 -06:00
Galen Charlton
d579648df1 Merge git://git.koha.org/pub/scm/koha 2007-12-18 17:46:54 -06:00
39d01437cc A couple of changes to address issues raised by Bug 1631: City, State label. Also streamlining changecity js (no need to have inline javascript generated by the Perl script).
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 16:39:36 -06:00
Joe Atzberger
b9c74fb24c memberentry.pl - dates validation, error passing to template
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 16:37:25 -06:00
Joe Atzberger
116e5aed66 memberentry.pl - $debug-ify warn messages
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 16:37:24 -06:00
0e675ef820 - Changes to the way patron renewals are handled. Circulation page now offers 'renew' link alongside warning about patron expiration (as in dev_week), using the new setstatus script.
- Member pages now use member toolbar include instead of circ one
- setstatus.pl now uses 3.0's patron renewal function
- Adding missing item-bullet.gif (Bug 1659)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 19:24:49 -06:00
Mason James
f8f8a3c7bf added 'update child to adult' dropbox option
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:58:37 -06:00
Galen Charlton
f5903fbbb5 installer: location of koha-conf.xml
* rewrite-config.PL now puts in installed location
  of koha-conf.xml in C4/Context.pm so that
  correct config can be found even when
  KOHA_CONF is not set.  Note that setting KOHA_CONF
  will still override path set by installer.
* changed references from koha.xml to koha-conf.xml
2007-12-17 09:13:53 -06:00
Mason James
b9ef87d3d6 script to update child to other member-catergory.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:15 -06:00
Ryan Higgins
f4811762d0 cleanup in memberentry,categories.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:07 -06:00
Joshua Ferraro
6f28205b09 adding setstatus.pl from dev_week
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 11:56:21 -06:00
Joe Atzberger
fa6fffeb6d memberentry.pl and calendar-setup.js - remove CVS '$Id$'
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 11:00:09 -06:00
Paul POULAIN
6fac0001a1 Member enrolment fee fixed :
if there is an enrolment fee, create a debt on patron subscription

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 09:07:12 -06:00
Paul POULAIN
0f1c857d3f Changing some patron management rules (#1631)
- the guarantor is no more readonly: it can be typed manually
- useless fields in case of an institution are removed (like DoB, Firstname, gender)
- reintroducing the relashionship select, that was missing in the template (but was handled by the pl)
- moving B_phone to a more logical place (with alternate coordinate)
- reintrocing contactnote in "alt contact"
- changing the select_city behaviour : when a city is choosen, the zipcode & city are automatically filled.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 09:03:25 -06:00
Henri-Damien LAURENT
7f2d6b025f Bug FIX : 437 'Browse Members' function should return paged results
Adding pagination_bar to results if needed.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:07:23 -06:00
Joe Atzberger
673f0a25e5 moremember.pl - We will be doing a lot of debugging on Members, this is just the beginning.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:43:38 -06:00
Ryan Higgins
df9296696b get_template_and_user returns $flags from checkauth for in-page perms.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:08 -06:00
Ryan Higgins
a2a234a1e1 Able to call haspermission w/o $dbh, and add error msg on deletemember.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:02:52 -06:00
Ryan Higgins
7e5eb3846e Adding in permission blocks for staff members as per previous commits.
Much of this is repeat of previous commits, and then some to finish off.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:02:00 -06:00
Joe Atzberger
98ec6e5378 memberentry.pl - add $debug to prevent continual warn's.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:56:04 -06:00
Ryan Higgins
ac12ba03fb Able to call haspermission w/o $dbh, and add error msg on deletemember.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-05 15:41:10 -06:00
Ryan Higgins
16c5d8b0ce Adding in permission blocks for staff members as per previous commits.
Much of this is repeat of previous commits, and then some to finish off.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-05 15:41:04 -06:00
Joshua Ferraro
a602c6d6eb cleanup for serials and members for Dates 2007-12-04 19:03:35 -06:00
Joe Atzberger
0b6741ad9a members subdir - Dates.pm integration and warnings fixes.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 18:21:06 -06:00
Joe Atzberger
cba4e7e7bc moremember.pl - Dates.pm "syspref" made explicit. Scripts should not call C4::Context->preference('dateformat').
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:28:20 -06:00
f46ebf69a0 Passing "adultborrower" variable to the template so that "Add Child" button can be displayed in the toolbar when appropriate. Fixes Bug 1510.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:06:29 -06:00
5a541da6ce Finishing changes to sidebar menu (change to boraccount.pl, as with moremember.pl, is to add flag so that menu can highlight current page).
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:06:22 -06:00
1a914b7202 Fixing some menu formatting
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:06:20 -06:00
Chris Cormack
edee16037d Uncommenting delete code as deleting now works fine
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 10:07:51 -06:00
Chris Cormack
24f3dbed21 Fix for re-enrollment not working
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 19:29:12 -06:00
Chris Cormack
4a373f27b0 Fix for bug 1575
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 16:15:57 -06:00
Ryan Higgins
92e89f48f4 disable actions in moremember based on staff_access permission
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:56 -06:00
Ryan Higgins
1a91801b06 Add Staff member type. Add permissions checks for bug# 1269
and related permissions on memberentry and mods.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:50 -06:00
Ryan Higgins
85d8c91976 adding Staff Borrower to handle Bug 1269
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:14 -06:00
Paul POULAIN
304deaadf1 (atz, pls validate) bugfixing dates viewing on moremember
There were 2 bugs :
- one in moremember.pl that supposed the date value to be in preffered order, which is wrong, it's in iso at this time
- the output does not work as expected, as it always return iso.

Pls atz, confirm Dates.pm was bugged.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 17:15:34 -06:00
c16539a291 Bugfixing interface issues. Also enabling contextual menu highlighting for catalogue detail pages.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 18:07:01 -06:00
Chris Cormack
95f2e365e6 Changing the behaviour the browse by letters links show all the time now
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:42:07 -06:00
Chris Cormack
15356575c2 Fix so that if you edit a borrower from circ, or change a password from circ you are taken back there
Toolbar needs to be made for members too, its using the same one as circ, which isnt right, will do this next

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:37:37 -06:00
Chris Cormack
018cd2f5dc Fix for bug 1477, hold dates not displaying in moremember.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:23:13 -06:00
Chris Cormack
9123b86bb8 Fix for bug 1402, now if a renewal fails, the librarian is aware of it
Another patch to come

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:05:13 -06:00
Chris Cormack
362ef24e70 Fix for bug 1538
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:36:13 -06:00
Chris Cormack
cc67a70f10 Work in progress on the SIP code
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:33:04 -06:00
b453d173ae Standardizing information shown in sidebar when patron-related pages are displayed (making sure address, phone, email variables are available to all templates). Adding tabs to account-related pages as means of section navigation.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-04 16:31:32 -06:00
Henri-Damien LAURENT
59d80a8ce0 Removing Date::Manip
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-04 16:26:48 -06:00
Paul POULAIN
8b7085a8ab removing useless code
the 3 parameters :
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),

are filled by Auth.pm automatically, removing them in templates

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:03:38 -05:00
2dceb39b06 Fixing and refining toolbars, including fixes for Bug 1509.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 19:45:15 -05:00
Joe Atzberger
3aa6ef5091 moremember.pl - partially addresses date bug 1477
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 15:43:24 -05:00
Henri-Damien LAURENT
1954e96d33 userid blanked out when editing step1 or step2
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 07:14:53 -05:00
Chris Cormack
21afa5d2d5 Fix for 1477, reserves/holds not showing in moremember.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-20 16:21:19 -05:00
Joshua Ferraro
861d3f2842 fixing mode to 755 2007-10-19 10:33:07 -05:00
Joshua Ferraro
d909e89dd4 fixing horrible terrible merge problem by reverting
to HDL's last commit

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-19 10:21:16 -05:00
Chris Cormack
606ecb532a Patch from Joe Atzberger to remove $Id$ and $Log$ from scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:27:04 -05:00
Paul POULAIN
917c1ab46c fines management (bugfixes & minor improvement)
- pay.pl fixed, the librarian can see patron fines & mark them paid
- fines2.pl fixed, the script now calculate the fines correctly from the finerules :
  * itemtype / patron category if it exist
  * itemtype / default if needed
- renamed misc/fines.pl as fines-sanop.pl
- added 2 systempreferences:
  * MaxFine: the max amount a patron can be charged for an item
  * NoReturnSetLost: how many days of late before a non returned item is marked lost & the patron charged for the full cost of replacement
(those values where hardcoded in fines2.pl
- C4/Circulation/Fines.pm has been removed (unused duplicate of C4/Overdues)

Note that SANOP feature about notify levels have NOT been ported here. I think they are too specific now, and the code is poorly written
I've renammed fines.pl to fines-sanop.pl to point that it is specific.
Thus, all notify_id related features are not used by anything (and always 0)
Can be interesting to reintroduce them, but that will probably be a large work...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:25:00 -05:00
Henri-Damien LAURENT
20a90e516c Bug Fix : 1484
guarantor is now automatically filled in when coming from add Child.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:23:55 -05:00
Henri-Damien LAURENT
af2bfefd32 Bug Fixing : userid was blanked out in partial edit.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:06:04 -05:00
Henri-Damien LAURENT
e6e4395553 patches for members and resultlists.
--
Henri Damien LAURENT et Paul POULAIN
Consultants indépendants
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)

>From 616f0a385848b9a1fee7c76ff7b1f3be090ccb66 Mon Sep 17 00:00:00 2001
From: Henri-Damien LAURENT <henridamien@koha-fr.org>
Date: Tue, 16 Oct 2007 15:20:45 +0200
Subject: [PATCH] Bug Fixing : userid was blanked out in partial edit.
Adding some checks on branch presence for independant branches

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:05:39 -05:00
Henri-Damien LAURENT
8f67beb26d Bug Fixing : Memberentry was broken.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-15 23:54:20 -05:00
1e593ab22e #1475
Not sure whereas this patch's reached you...

Thanks.

--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html

>From 4c1efe7c79d8ac6eb6f275823d9a0ea948d1315c Mon Sep 17 00:00:00 2001
From: Frederic Demians <f.demians@tamil.fr>
Date: Sun, 7 Oct 2007 01:54:56 +0200
Subject: [PATCH] Correct a bug preventing from modifying member records

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-10 17:05:48 -05:00
Joshua Ferraro
520f7c645d fix mail -> male
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 13:35:40 -05:00
Joshua Ferraro
2e96c841f4 syntax error in memberentry
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 13:32:18 -05:00
Joshua Ferraro
f82284cd99 adding support for M and N sex
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 13:31:28 -05:00
Chris Cormack
2154ed5cc1 Fix for 1431, checking userid is unique
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 20:40:26 -05:00
Joshua Ferraro
36a70c5f93 fixing sloppy coding in moremember.pl: 500 error when paton missing branchcode
Got an error: Can't use an undefined value as a HASH reference at
                /home/jmf/koha_30_prerelease/koha/production/intranet/cgi-bin/members/moremember.pl line 191.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-30 03:05:33 -05:00
fa79f6f177 Some changes to members pages: - refining members-menu.inc - cleaning up memberentrygen.tmpl - some tweaks to moremember.tmpl - adding borrowernumber variable output to member-password.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:06:52 -05:00
Henri-Damien LAURENT
d3022c3caf Fixing previous fix.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:06:09 -05:00
Henri-Damien LAURENT
036811f9df Fixing error on duplicate entry process.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:06:04 -05:00
Henri-Damien LAURENT
24ac2d0313 Adding error management for memberentry.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:05:22 -05:00
Paul POULAIN
7902f78491 Som reorganization and recommiting memberentrygen.tmpl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-12 20:54:44 -05:00
b2d476aa5c Continuing integration of breadcrumbs and resident search form, now on member pages. The search form tabs need to be handled in a more sane manner given that they might have multiple options. Either a custom handling script for the different includes or a js-library-based system that will handle all of them.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:44 -05:00
Henri-Damien LAURENT
ed5c712765 removing call to Date::Manip
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:28 -05:00
Henri-Damien LAURENT
5c7b0e2889 removing Date::Manip usage
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:26 -05:00
Paul POULAIN
55ac115e61 fixes to fine management
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:45 -05:00
Joshua Ferraro
cefeb583ad fixing permissions on scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-13 12:22:30 -05:00
Paul POULAIN
3d72e5fcca don't check cardnumber on member modify
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 06:22:10 -05:00
btoumi
9395334e69 add control of 'return date' if it 's a special or repeatable holidays , and return a right return date
(renewal)
2007-07-25 14:09:39 +00:00
toins
1d2fc77230 bugfix, 500 error when member has no reserve 2007-07-17 08:56:06 +00:00
rangi
bf7eaca974 Fix for bug 1313, silent failure when entering manual invoice with invalid
itemnumber
2007-07-15 22:19:01 +00:00
toins
0bc3591452 bug fixing: there was a 500 error when GetReservesFromBorrowernumber returns an empty array. 2007-07-12 15:32:23 +00:00
toins
8a5a39a034 syspref already writed in Auth.pm 2007-07-10 15:18:27 +00:00
rangi
73e6be1340 Fix for bug 1295 adding a borrower with the same cardnumber 2007-07-08 23:07:31 +00:00
rangi
d27c5bb427 Fix for bug 1296, making surnames uppercase a systems preference 2007-07-02 02:30:15 +00:00
rangi
c75b84fac7 Fix for bug 1365 2007-07-02 00:38:17 +00:00
tipaul
577a7bf094 some (minor, functionnaly speaking) bugfixes 2007-06-05 08:54:17 +00:00
tipaul
78d025afe8 BUGFIX : Feature AutoMemberNum was lost 2007-05-30 08:47:57 +00:00
hdl
097fef712a Removing $dbh from GetMarcFromKohaField (dbh is not used in this function.) 2007-04-27 14:00:48 +00:00
hdl
a171035f1d GetBorrowerIssues is deleted from C4::Circulation
Use GetPendingIssues from C4::Members instead.
2007-04-25 14:07:34 +00:00
tipaul
fb143b71ba BIG COMMIT : cleaning of Reserves.pm. See detail on koha-devel 2007-04-24 16:10:36 +00:00
hdl
523e272288 Bug fixing.
Template no longer in cvs.
expand_sex_into_predicate replaced by value.
2007-04-24 16:09:01 +00:00
hdl
b642e687d2 Still Code Cleaning.
Abiding by Name Convention.
Using Members wherever it should be used.
Borrower is only used for borrower Categories.
+ GetBorrowersWhoHaveNeverBorrowed
and lists like that.
2007-04-24 15:41:27 +00:00
hdl
100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul
4dea4d29b3 moving dotransfer to Biblio.pm::ModItemTransfer + some CheckReserves fixes 2007-04-24 09:07:53 +00:00
tipaul
9f42b8ad49 renaming currenttransfers to transferstoreceive 2007-04-23 15:21:17 +00:00
tipaul
3ddec89262 moving Reserves2.pm to Reserves.pm 2007-04-23 14:08:47 +00:00
hdl
0b66bd800d Code Cleaning Members.
- checkaccount and getborraccountno => GetBorrowerAcctRecord

Many changes in names,
some changes in function signature.
Will be detailed in a mail to kohadevel.
2007-04-23 13:10:07 +00:00
tipaul
7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
tipaul
b71839d85c circulation cleaning continued: bufixing 2007-04-17 08:44:49 +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
kados
0d87fe2096 adding name for template
re-tabing
2007-03-20 01:45:18 +00:00
kados
8981290893 adding name for template
fixing tabs
2007-03-20 01:27:40 +00:00
kados
56244e6efd Using my precrash CVS copy I did the following:
cvs -z3 -d:ext:kados@cvs.savannah.nongnu.org:/sources/koha co -P koha
find koha.precrash -type d -name "CVS" -exec rm -v {} \;
cp -r koha.precrash/* koha/
cd koha/
cvs commit

This should in theory put us right back where we were before the crash
2007-03-16 01:25:08 +00:00
kados
86d7e35ba9 removing members-home.tmpl, everything is in members.tmpl 2007-03-11 01:19:30 +00:00
kados
4be97556c2 adding calendar popup to member entry
fixing some language on circ screens
2007-03-10 01:11:22 +00:00
kados
0d7b552dec move Accounts2.pm to Accounts.pm 2007-03-09 23:30:17 +00:00
tipaul
86e9db4e67 rel_3_0 moved to HEAD (removing useless file) 2007-03-09 15:22:00 +00:00
tipaul
a3999812e6 rel_3_0 moved to HEAD 2007-03-09 14:52:58 +00:00
tgarip1957
04b2e6112f Finalized XML version for intranet 2006-09-27 21:19:21 +00:00
tgarip1957
a35f2594b1 Patrons may pay their fines in instalments 2006-09-22 00:21:25 +00:00
btoumi
2f8c39d679 bug fix: wrong address for redirect in mancredit.pl and mainvoice.pl 2006-08-24 13:06:49 +00:00
toins
a02ff2feae subs renamed according to coding guidelines. 2006-07-21 09:57:30 +00:00
toins
cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
btoumi
039344fa0c bug fix :authorize auto insert in zipcode and city field (form 2)if u select a city in form 1 2006-06-27 09:37:23 +00:00
btoumi
9a2677f401 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
2006-06-22 10:07:49 +00:00
btoumi
72363f4a1e updatedatabase.pl: add change of borrowers table to deletedborrowers table
deletemem.pl: delete use of warn function
2006-06-16 09:45:02 +00:00
btoumi
5e4e931d2e delete line with warn function 2006-06-16 07:20:48 +00:00
btoumi
963c7de328 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
2006-06-15 14:05:23 +00:00
btoumi
f96ee8e2c6 memberentryC.tmpl:add test to modify link name
memberentry.pl:add test to return default value for select_city
2006-06-14 15:59:37 +00:00
btoumi
139ba12db3 memberentryC.tmpl: modify and add conditions
moremember.tmpl:add op value in url (modify)
memberentry.pl:modify condition
2006-06-13 15:25:17 +00:00
btoumi
ef5e1a7077 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
2006-06-13 09:19:18 +00:00
btoumi
8a469ed85d 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)
2006-06-12 15:12:11 +00:00
btoumi
6942f7a643 bug fix:syntax error with hashref 2006-06-12 13:40:08 +00:00
btoumi
5bdce695b9 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
2006-06-12 13:00:40 +00:00
btoumi
2d6202d4d1 -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
2006-06-09 15:10:39 +00:00
btoumi
d7526b7044 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)
2006-06-07 14:55:36 +00:00
btoumi
3b7806a364 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
2006-06-07 10:15:58 +00:00
btoumi
0854ecfd83 add borrowers_details.pl and borrowers_details.tmpl:
to show details from borrowors double
2006-06-07 09:15:00 +00:00
rangi
18e59b24ea Giving the correct info to update stats 2006-06-07 03:36:51 +00:00
rangi
502a6e9674 Adding a sprintf so fines show up to 2 decimal places 2006-06-07 03:27:51 +00:00
rangi
e07e589879 Fix to allow any limit to be passed in 2006-06-07 02:33:09 +00:00
btoumi
743fb92ee9 bug fix:
deletemem.pl:
 syntax error in sql request ( bad field name)
memberentry.pl
syntax error (bad variable name)
2006-06-06 16:18:00 +00:00
btoumi
447b0fa609 modify bad field name
use fonction Today from date::calc
2006-06-02 15:37:29 +00:00
rangi
25ee635911 Modifying members is now working, well mostly anyway. 2006-06-01 23:18:57 +00:00
rangi
96e46d3ebe Fix for adding organisations to a borrower 2006-06-01 21:49:25 +00:00
rangi
8ce7790e0b 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
2006-05-23 02:18:21 +00:00
rangi
30412ec5cf Code to display list of organisations/institutions if memberofinstitution is set to yes 2006-05-23 00:46:32 +00:00
plg
06b2edfa32 bug 659 fixed: borrower category age limitations are now taken into account
during member registration.

Warning: new external module required, Date::Calc
2006-04-21 14:32:09 +00:00
plg
4d587f16cd improvement: in member details page, issue and reserve lines are toggled. 2006-04-18 10:32:24 +00:00
tipaul
628087366b removing useless scripts
improvements from SAN Ouest Provence :
* introducing a category_type into categories. It can be A (adult), C (children), P (Professionnal), I (institution/organisation).
* each category_type has it's own forms to create members.
* the borrowers table has been heavily modified (many fields changed), to get something more logic & readable
* reintroducing guarantor/guanrantee system that is now independant from hardcoded C/A for categories
* updating templates to fit template rules

(see mail feb, 17 on koha-devel "new features for borrowers" for more details)
2006-04-14 09:32:18 +00:00
tipaul
97182dceb2 improvements from SAN Ouest Provence :
* introducing a category_type into categories. It can be A (adult), C (children), P (Professionnal), I (institution/organisation).
* each category_type has it's own forms to create members.
* the borrowers table has been heavily modified (many fields changed), to get something more logic & readable
* reintroducing guarantor/guanrantee system that is now independant from hardcoded C/A for categories
* updating templates to fit template rules

(see mail feb, 17 on koha-devel "new features for borrowers" for more details)
2006-04-14 09:31:24 +00:00
plg
c66d4eb161 modification: on itemtypes management screen, useless form are replaced by
simple links.

improvement: support of itemtype icons on prog template. The icons are
displayed on itemtypes management screen and on moremember screen.

improvement: use of pagination_bar on itemtypes management screen.

new: function were added in C4::Koha to manage itemtype image location
(local/remote). Warning: you must copy or symlink the itemtypeimg directory
from the opac template into the intranet template.
2006-04-07 11:10:25 +00:00
plg
0840184d25 bug fixed: ItemType function seems to have vanished. I replace by the
description key returned by C4::Koha::getitemtypeinfo.
2006-03-31 15:56:27 +00:00
tipaul
91e99db992 prog templates : completed, fixed & xhtml valid 2006-01-18 17:23:32 +00:00
tipaul
1bb3e2d9f0 moving readingrec to members directory 2006-01-17 16:50:05 +00:00
tipaul
78bf35efe8 moving invoices scripts to members directory 2006-01-17 16:42:12 +00:00
tipaul
d9db5321fb moving boraccount.pl to members directory 2006-01-17 16:23:05 +00:00
tipaul
d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +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
tipaul
e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
tipaul
e2cc767243 porting 22 fixes to head 2005-09-09 10:04:55 +00:00
genjimoto
f0b2dd3601 Script to either 1) display upload template or 2) upload file if param 'photo' was used. 2005-08-22 04:25:11 +00:00
genjimoto
33ebc33588 Added picture displaying code. If member picture exists in intranet-tmpl/borrowerimages/ (ie if bornum is 1, then its picture will be 1.jpg) then display. 2005-08-22 04:18:31 +00:00
tipaul
887f317724 fixing a bug preventing compilation 2005-08-04 14:48:53 +00:00
tipaul
c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul
df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
hdl
8a87b560ac Fixing bug in deletemem.pl :
flags verification was not good.

Adding branch Independancy management.
In memberentry.pl and deletemem.pl
2005-07-29 16:12:53 +00:00
hdl
31ca1f9770 Adding superlibrarian rights when IndependantBranches is set. 2005-07-29 08:33:48 +00:00
hdl
d997258580 First step of independacy branch management.
Displaying only librarian branch if librarian is not superlibrarian and IndependantBranches is set.
2005-07-28 17:38:29 +00:00
hdl
87d94a85da Adding branch independancy management.
Showing management buttons if same branch librarian.
TODO : control of user branch before displayin modify pages.
2005-07-28 17:30:18 +00:00
hdl
02c6eacdb7 Adding scrolling list for sort1 and sort2 2005-06-22 09:36:24 +00:00
hdl
65b33d08c6 Adding countlines 2005-06-21 07:42:24 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
hdl
5c1241034b Displaying search results count 2005-06-20 10:14:12 +00:00
tipaul
64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
oleonard
71342adba7 Using destination parameter to return users to circulation if they clicked the 'edit' link from the circulation screen 2005-02-16 20:23:58 +00:00
oleonard
783823ad9d Adding option to switch templates based in URL parameter.
- print=page uses members/moremember-print.tmpl
- print=slip uses members/moremember-receipt.tmpl
- no print parameter uses default members/moremember.tmpl
2005-02-10 19:34:59 +00:00
oleonard
228ed8afc8 Adding borrowernotes to the list of flags to trigger the 'flagged' variable. This helps display of flags and notes mimic the display in circulation 2005-02-09 22:18:01 +00:00
oleonard
46eed6c459 A small script to set or unset the 'debarred' status of patrons. Pass the script a borrowernumber and a 1 or 0. Optionally send cardnumber (member card number) and destination = 'circ' if you want the script to redirect to circulation screen instead of member details screen. 2005-02-09 21:58:40 +00:00
oleonard
7b4897de1c Checking for the existence of flags (debarred, gonenoaddress. lost) and setting 'flagged' variable so the template knows whether or not to display the container for the error messages. 2005-01-27 22:33:16 +00:00
oleonard
d3059ce5e8 Adding option to output using quicksearch template if the quicksearch parameter is present (uses member-quicksearch.tmpl and member-quicksearch-results.tmpl) 2005-01-13 21:48:49 +00:00
oleonard
5541ec1e99 Moving error messages out of script and into template, fix for Bug 538 2004-12-06 21:07:30 +00:00
oleonard
cfd59e9ba3 Adding blank to relshiploop (altrelationship) loop (Bug 657) 2004-11-30 16:14:04 +00:00
oleonard
3e29b81f64 Fix for Bug 848 2004-11-26 20:24:38 +00:00
tipaul
20642d5592 bugfix from south america ;-) (fixing permission showing bug) 2004-11-22 15:53:20 +00:00
oleonard
8b3dfc9870 Adding replacement price to issues loop and a totalprice variable which totals the cost of all items on issue 2004-10-29 14:41:32 +00:00
oleonard
f1264c2ecf Adding member number to template so that template can show link back to patron record 2004-10-27 15:33:55 +00:00
tipaul
6763e2a764 templating deletemember impossible when issues/debts/guarantees 2004-10-05 08:59:56 +00:00
tipaul
a0b7a81f14 fixing redirection after member deletion (due to script move to members/ ) 2004-09-20 13:21:12 +00:00