Commit graph

183 commits

Author SHA1 Message Date
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