Commit Graph

41 Commits

Author SHA1 Message Date
hdl 0e1abc0b08 removing a warning 2005-09-15 15:15:29 +00:00
hdl a4e20874c9 Bug fixing. 2005-09-15 15:13:42 +00:00
tipaul 9c4b9a3578 fixing a bug in permission to change user flags 2005-09-09 16:03:50 +00:00
tipaul 67d5ebdedf * adding column branch to the result list when searching a borrower
* fixing a bug that prevented to add a borrower when IndependantBranches was ON
2005-09-09 09:09:25 +00:00
hdl 35e6303729 Commiting all that allows Branch Independancy management :
* in acquisition module, an order can be modified/recieved/closed only by a librarian from the same branch than the librarian that created the basket.
* in catalogue module, an item can be modified/deleted/created only by a librarian from the same branch as item owner branch
* in members module, a member can be created/modified only by a librarian from the branch of the member.
Modifying Context.pm :
Adding userenv context variable.
Is set during checkauth or get_template_and_user
Modifying Auth.pm function checkauth : setting userenv context variable
Modifying Acquisition.pm:
    * histsearch
    * branches
    * bookfunds
    * getsupplierlistwithlateorders
    * getlateorders
    * getallorders
    * getorders
Add a branch criterium if IndependantBranches is set.
Modifiying Suggestion.pm:
    * searchsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
    * countsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
File Modifiying :
    * admin/aqbudget.pl adding a branch selection for budget.
    * parameters/aqbudget.tmpl
    * admin/aqbookfund.pl adding a branch selection for bookfund
    * parameters/aqookfund.tmpl
And adding branch selection to members and items changes.
WARNING: bibid are still used in additem, unlike in HEAD... Shall be soon fixed.
2005-08-26 12:21:49 +00:00
oleonard b20a83a952 Formatting fine amount to two decimal places 2005-07-15 20:09:19 +00:00
hdl 3579baaa19 Adding choice lists for sort1/Sort2 For biblios and patrons management.
Commiting along Help Modifications
2005-06-28 11:51:57 +00:00
hdl 2d98967c08 Adding Result counts and line counters to
- histsearch (search order)
- members search
2005-06-28 10:21:29 +00:00
tipaul 459e1ff76b * better management of joining & expiry dates :
- dates can be manually typed when adding a borrower.
	- Empty fields are automatically calculated (joining = today & expiry date calculated from borrower category)
	- Expiry date can be modified
* checking expiry date when trying to issue a book & forbidding issuing when expiry date reached. ** IMPORTANT ** This check was not done before. Thus, you may be unable to issue books where you could before. You can update your database borrower by borrower or with the following SQL command on the server : "update borrowers set expiry='2005-31-12'". You can limit the update to a borrower category with "update borrowers set expiry='2005-31-12' where categorycode='A'" (all SQL commands must be typed without any ")
2005-05-19 21:52:45 +00:00
tipaul b2195f13b6 some bugfixes in physaddress and streetaddress. members table is really clumsy. Should be rewritten in 2.4...
NELSONVILLE : those are only bugfixes, but may have some consequences on NPL templates. Check twice please
2005-03-25 17:02:59 +00:00
tipaul 8edd9de553 dealing with default order for member search 2005-03-01 13:13:42 +00:00
tipaul 840137d4bc bugfix : the "modif" flag was not properly set, so modifs were considered as "add" 2005-03-01 13:13:03 +00:00
tipaul dc5e1fbca0 look (css) changes 2005-02-17 12:56:38 +00:00
oleonard 4629372265 Using destination parameter to return users to circulation if they clicked the 'edit' link from the circulation screen 2005-02-16 20:23:19 +00:00
oleonard e3a6290dd8 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:36:32 +00:00
oleonard eacfb111bb 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:17:37 +00:00
oleonard a7d49ff909 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:56:23 +00:00
oleonard bd5cf23b74 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:32:18 +00:00
oleonard 66bf5def5f Adding option to output using quicksearch template if the quicksearch parameter is present (uses member-quicksearch.tmpl and member-quicksearch-results.tmpl) 2005-01-18 22:11:43 +00:00
oleonard 43e785f0de Adding member quick search (already in HEAD) to rel_2_2 2005-01-18 21:55:17 +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