]> git.koha-community.org Git - koha.git/commit
Commiting all that allows Branch Independancy management :
authorhdl <hdl>
Fri, 26 Aug 2005 12:21:49 +0000 (12:21 +0000)
committerhdl <hdl>
Fri, 26 Aug 2005 12:21:49 +0000 (12:21 +0000)
commit35e630372952eefad1f7af803a9cce71cde24fdf
treed96d6c077c6436bce0fe9699042160d208e2b609
parent4375e7bd01d2f0281e22ba101e1ecf83c37063b2
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.
19 files changed:
C4/Acquisition.pm
C4/Auth.pm
C4/Context.pm
C4/Suggestions.pm
acqui.simple/additem.pl
acqui/basket.pl
acqui/newbiblio.pl
admin/aqbookfund.pl
admin/aqbudget.pl
koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl
koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl
koha-tmpl/intranet-tmpl/default/en/members/memberentry.tmpl
koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl
koha-tmpl/intranet-tmpl/default/en/members/readingrec.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/aqbookfund.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/aqbudget.tmpl
members/deletemem.pl
members/memberentry.pl
members/moremember.pl