Commit Graph

87 Commits

Author SHA1 Message Date
tipaul 93b01eb2a5 adding total (qty & price) in historysearch 2005-09-23 08:55:57 +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
tipaul eb4d4f8607 formating currency values 2005-08-02 08:59:28 +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 ed659d2c68 warn the user if no budget is defined (& prevent creating an order, as it would be buggy) 2005-06-07 13:17:38 +00:00
tipaul 2a822b1208 fix for #958 : showing notes in order list screen. The note can be used for whatever the library want, and should be seen here.
The table has been improved :
* title / isbn / author / note are on the same column, as in marc search
* alternate colors working
2005-06-07 12:56:36 +00:00
tipaul 55d7478d19 adding total to calculate rrp & est prices separately 2005-06-07 11:03:52 +00:00
tipaul 60065a759d The correct parameter is supplierid, not id. 2005-06-06 16:32:08 +00:00
hdl 7a18849881 Adding filter on placed on dates.
Modifying histsearch in C4/Acquisition.pm to take placedon_dates into account
And Acquistion-top to enable calendars
2005-05-26 09:21:29 +00:00
oleonard 015050cfb0 The link back to the supplier comes up with no supplier id in the URL, so I'm guessing $input->param('supplierid') needs to be changed to $input->param('id'). 2005-04-14 21:21:08 +00:00
oleonard 372279ae6f Fixing switch for alternating table row colors (using 'highlight' variable in the template) 2005-04-14 20:31:38 +00:00
tipaul 6f5ed3b821 bugfix : when a supplier is inactive, the librarian can't modify an order (just recieve books) 2005-04-05 09:38:08 +00:00
tipaul 8687db0241 needs acquisition flag, not borrow 2005-03-25 12:49:58 +00:00
tipaul 17a3e3e9e7 needs acquisition flag, not administration 2005-03-25 12:49:23 +00:00
tipaul 468df6c8e9 2 bugfixes in suggestions :
* major : a suggestion was not shown in acquisition except when ordered by the suggestor itself.
* minor : the name was not shown in accepted by column, in acquisition
2005-03-07 09:56:41 +00:00
tipaul f0646b6c1c fixing bug in acquisition : the title was also stored as subtitle. 2005-02-17 12:41:28 +00:00
tipaul 54987d977b CRITICAL bug in acquisition (another one...) : when MARC=ON, and an order line is created from an existing biblio (to buy another item), the MARC biblio is lost and replaced by the non marc one (that has a lot less informations...). To solve the problem, the biblio can no more be modified after the order has been placed. Less feature, but more reliable ! (not simple solution to solve this problem. Would imply to rewrite the MARC biblio from the non marc datas, and no API is provided for this yet) 2004-12-02 16:36:27 +00:00
tipaul 23881a317e * critical fix for acquisition (see RC3 release notes) 2004-11-24 15:59:15 +00:00
tipaul 2eda32b247 adding search orders history feature 2004-10-19 12:24:56 +00:00
tipaul 89dea6f3ec Adding possibility to order the basket by :
* publishercode
OR
* budget then publishercode
2004-10-05 09:22:16 +00:00
tipaul b9a7f33601 * removing the hard coded $
* adding bookfund to the order list
2004-10-04 20:03:23 +00:00
tipaul cbe2b2139c 1- don't loose bookseller id when closing a basket
2- add possibility to view a closed basket (but not modify it)
2004-09-17 12:32:29 +00:00
tipaul 92b914b394 fix to calculate item cost (the / was buggy : everywhere else there is the price is the unit price) 2004-09-14 12:32:13 +00:00
tipaul ca2717c968 bugfix in order modification 2004-09-14 12:09:51 +00:00
tipaul 9674400e46 some fixes for acquisition 2004-09-13 15:17:48 +00:00
tipaul cfa9223cd1 * updates to make acquisition compatible with suggestions & serials
* changes to use supplierid instead of id, that's easier to read.
2004-08-12 14:35:22 +00:00
doxulting bc27c4c211 Very beginning of late serial consulting in acquisitions 2004-07-30 14:08:53 +00:00
tipaul f29ce59691 Acquisition & Suggestion :
* acquisition rewritte : create a aqbasket table to deal with "bookseller order header".
* add "close basket" feature : a closed basket can't be modified
* suggestion feature : manage suggestions in acquisition (after suggestion filled in OPAC)
2004-07-15 09:41:03 +00:00
tipaul 6376aa4326 catalogue.pm deals only with acquisitions.
so, renaming it...
catalogue management is done in Biblio.pm package
2004-07-13 12:52:13 +00:00
tipaul 73de15b3ff Adding 2 new fields, called "sort1" and "sort2"
They can be used for sorting & statistics reasons by the library.
2004-07-02 15:55:06 +00:00
tipaul b0cf7df697 synch'ing with 2.0 branch 2004-03-16 13:39:50 +00:00
tipaul 3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +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 323642f5a1 all those fixes are related to translation improvement.
A few minor bugfixes too in perl code.

NOTE TO ENGLISH "TEMPLATORS" : you should look at this commits, as some ideas are really nice.  Thanks to Carole, Wesford School, new Koha user in France :-)
2003-09-18 10:19:28 +00:00
tipaul f0645e2953 include quantityrecieved in the code passed to template.
Template modified for fr only. english users, feel free to change the template too :)
2003-09-17 13:33:37 +00:00
tipaul 164581d877 fixing small bug : escaping twice the ' in title & author. (bugreport from Dombes Abbey) 2003-09-04 17:29:50 +00:00
cauchoip e9ae9ce9f4 invoice number problems fixed, "fast receive" now works 2003-07-08 16:20:15 +00:00
tipaul a8574a5b83 fixing bug #526 : gst rate is now calculated through systempref gist entry.
Before this fix :
* was harcoded to 12,5%
* some bugs in template parameters prevented the javascript to work.
* some bugs prevented some calculations to be done properly.
2003-07-07 14:11:16 +00:00
tipaul 09b6cc337a fix for #342 2003-06-24 09:02:15 +00:00
rangi 527902426b Fixing bug 450 2003-05-30 21:39:50 +00:00
tipaul 254bb419cf fix for #407 2003-05-14 14:33:07 +00:00
tipaul c0b30331e5 removing warn 2003-05-05 15:13:51 +00:00
tipaul 368d9107a2 moving loggedinuser => loggedinusername in includes and Auth.pm :
The $loggedinuser in Koha is the CODE of the logged user (result of get_user_and_template subroutine).
BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced by the NAME of the user.
This is troubleshooting.
so, I replace the name by the "loggedinusername" template variable.
If you want to add the username somewhere, just add <TMPL_VAR name="loggedinusername"> in the template.

Fixes bug #401
2003-05-05 15:00:53 +00:00
tipaul 670e361bad fix for #409 2003-05-02 13:04:00 +00:00
tipaul 392b94a262 fix for #343 2003-04-24 18:31:03 +00:00
wolfpac444 5ca3118f56 Added format_date() to the scripts. 2003-04-22 10:22:19 +00:00
tipaul 547c0daf6d *** empty log message *** 2003-03-19 21:02:24 +00:00
tipaul 05e5034932 bugfixes + adding buttons to switch between normal and MARC view of a record 2003-03-07 16:34:04 +00:00
tipaul 8dd5bb69de bugfixes. seems to work better.
NOTES to 1.2 managers : the 1.2 seems to have problems too :
* when finishrecieve is called, the booksellerid is lost, and you arrive to the "recieve.pl" again, it's with the 1st bookseller from the DB.
* under certain circunstances, the invoice # is lost, and ALL lines from the bookseller are shown. this strange behaviour is fixed too in this commit
2003-03-03 17:35:29 +00:00