Commit Graph

17 Commits

Author SHA1 Message Date
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
tipaul f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul e363ddc14b fixes for bookfunds & budget. Should work now. I fix #223, #424 2003-06-13 13:46:01 +00:00
tipaul d8ed149e5f 1st draft for budget reordering
DOES NOT WORK.
But it's time for week end for me, so bugfix will wait until tuesday :-)
2003-06-06 14:50:35 +00:00
wolfpac444 e4d7a39bab Fixed the dates in aqbudget.pl 2003-04-05 03:19:33 +00:00
tipaul 98d746e42e small bugfix (execute with ?) 2003-02-05 15:52:24 +00:00
acli 52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
acli d16a9737d6 Handle non-latin1 charsets 2003-02-02 04:57:47 +00:00
tipaul 0333765bed bugfix for bugzilla #160 2003-01-28 13:04:08 +00:00
tipaul 5f3749d437 adding authentification with Auth.pm
(note : i want to stay the 1st commiter in december as in november :-) )
2002-12-10 17:35:27 +00:00
lavide a628f878e5 templating this file and modify it so that all the budgets are on the screen
but for this moment only on budget by bookfund because there is primary key for bookfundid in aqbookfund and in aqbudget tables
2002-11-16 21:40:53 +00:00
arensb dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
tonnesen 1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
dragon28 504d1c22e0 fixed a typo 2002-06-25 11:05:45 +00:00
tonnesen d5fbd761f5 Switched button-add-member to button-add-new in /admin/ scripts. 2002-06-24 18:40:56 +00:00
rangi 9715feaa03 Fixing up the query to pickup budget 2002-04-05 03:09:18 +00:00
tipaul 28c9f74a6c scripts to manage parameters tables 2002-03-05 20:48:42 +00:00