Commit Graph

1199 Commits

Author SHA1 Message Date
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
shedges f3e5fcd15d Fix bug 789 (in HEAD) 2004-09-05 22:33:12 +00:00
tipaul 1edf59efe5 road to a better member management code.
Useful for LDAP integration
2004-09-02 16:27:09 +00:00
tipaul 56825e415f modularizing (with Members.pm) members management
(beginning of...)
2004-08-30 13:48:58 +00:00
tipaul fe850f8737 adding 2 free fields that can be used for sorting purposes 2004-07-06 08:24:17 +00:00
oleonard d933157894 Correcting path to template 2004-06-21 20:36:24 +00:00
oleonard 5b910dacb5 Correcting path to template 2004-06-21 20:03:41 +00:00
rangi ca6cf76ae1 Fix so that items on reserve dont show up as being renewable 2004-05-26 21:47:14 +00:00
tipaul 5065cfa25c removing Renewals (all circ related subs are moved to Circ2.pm) 2004-05-04 15:46:01 +00:00
rangi 144c7b4c09 Fix for bug 729 2004-04-28 09:39:19 +00:00
oleonard 8c526aef14 Fixing redirect to moremember.pl 2004-04-08 16:10:13 +00:00
oleonard 13dac7f1b2 Fixing redirect which points to old location of moremember.pl 2004-03-24 21:23:12 +00:00
tipaul 94b1054661 css'ing & merging members management.
memberentry merges
* memberentry, moremember & insertdata (form, validation & storing)
* and the I series (Institution management)
2004-03-24 15:08:19 +00:00
tipaul 2951d20c69 moving members related scripts to "members" directory 2004-03-10 15:10:45 +00:00