Commit graph

187 commits

Author SHA1 Message Date
toins
c74eb3afcc Add a call to Acquisition.pm 2006-07-31 16:03:46 +00:00
toins
1d11938205 fix minor bug in POD. 2006-07-31 15:59:03 +00:00
toins
6b4c17318f FIXME added. 2006-07-31 14:49:56 +00:00
toins
7407dd09df POD added, Call to Bookseller.pm added. Some functions has been renamed/changed/rewrited... 2006-07-31 14:45:37 +00:00
toins
5fa061f247 POD added. Call to Bookfund.pm & Bookseller.pm added. Some sub renamed/API changed. 2006-07-31 14:40:54 +00:00
toins
a30329db0b GPL & POD added, 2006-07-31 14:30:45 +00:00
toins
7fdf61bffb Call to Bookfund.pm & Bokkseller.pm added. POD added. 2006-07-31 14:11:57 +00:00
toins
6e5b99c397 Subs renamed 2006-07-31 14:10:59 +00:00
toins
1b7b90cd0d Code cleaned. POD added. Subs renamed/rewrited/added.... 2006-07-31 09:31:58 +00:00
toins
f29cf68086 Code cleaned. POD added & some subs renamed/rewrited/added... 2006-07-31 09:29:45 +00:00
toins
f3bba2c2b3 Code cleaned. POD added & somes sub renamed/rewrited. 2006-07-27 15:08:32 +00:00
toins
228f92e857 Code cleaned. POD added. Some sub renamed & API changed. 2006-07-27 14:20:39 +00:00
toins
fa9ecea842 add a call to Bookseller.pm 2006-07-27 13:32:41 +00:00
toins
6e0de1a68e syntax error fixed. 2006-07-27 13:29:51 +00:00
toins
3fd0bb0ed9 Code cleaned. GPL & POD added. Sub renamed. 2006-07-26 10:27:47 +00:00
toins
bd85aad550 Code cleaned. POD added. Sub renamed. 2006-07-26 09:57:33 +00:00
toins
02e37f2ee6 Call to Bookfund Added. 2006-07-25 12:41:55 +00:00
toins
3eca757a27 Code cleaning : POD added & some functions has been changed. 2006-07-24 07:42:28 +00:00
toins
53b6b7f439 this file has been renamed by orderreceive.pl 2006-07-21 14:55:48 +00:00
toins
514964c751 Code cleaning : POD added, GPL header added, SQL queries moved on modules. 2006-07-21 14:43:37 +00:00
toins
6c9724209f this file has been changed by parcels.pl 2006-07-13 14:49:51 +00:00
toins
98f9060c4d this file has been changed by parcel.pl 2006-07-13 14:49:33 +00:00
toins
6ab4ebf38e this file replaces acquire.pl 2006-07-13 14:25:27 +00:00
toins
1b4addad16 this file replaces recieve.pl 2006-07-13 14:25:01 +00:00
toins
dee72643a8 this file replaces recieveorder.pl 2006-07-13 14:24:18 +00:00
toins
d8babfb6ea bad merge corrected. 2006-07-13 09:30:05 +00:00
sushi
c2822e30ed big change from Katipo.
------------------------------
- Results for 'mutli orders with matching titles attached to same bibitem'  now split into new .tmpl file, "acquire-multi-order.tmpl".
- this script/tmpl does 3 things!?!, pulled search results out of acquire.pl, now points to searchresults.tmpl.
- little fix to display correct supplier info in acquire.pl's 'detail' view.
- Little fix on previous commit, now doesnt break single order acquire view.
- Fix for RT:698 https://staff.katipo.co.nz/rt/Ticket/Display.html?id=698.
- now display correct supplier title when 0 results returned.
- Now pickes up basketno, to display as url to tmpl.
- Adding in fix for bibitems with more than one matching order.
- Rolled back to prod version, added 'create new bib-group' fix.
- Mason's ACQ fixes from HLT-DEV , work in progress
- Now does a lookup in aqorders, for all existing orders matching  biblioitems, then presents all matching orders in a table. this feature can be overridden by calling acquire.pl with multiorderseach=n in url, acquire.pl will instead go to specific order.
- Now catches, and returns to acquire.pl if newitems() fails.
- Now takes a barcodeerror value as arg.
- 'create new biblioitems' checkbox now only apears for bibitems with >= 1 items attached.
- adding stuff to let hlt have an accession date link from moredetail.tmpl
  that actually does something other than break biblioitems - not working yet
- Added output for volume as well as volumeddesc
- Added volume description to output loop
- Making change for bug #3676 displaying date unformatted
- More bugfixing this time a bug not saving volume info
- Fix for bug 3529, allow freight to be distributed among the items
- added a sprintf to get the number displaying in normal notation
- Altered the auto_barcode to actually get something other than 1
  but now got a problem with the result displaying in scientific notation
2006-07-12 14:56:52 +00:00
toins
989ca91339 Sub renamed & GPL Licence added. 2006-07-07 07:51:41 +00:00
toins
21a410129c Sub renamed according to the coding guidelines 2006-07-07 07:51:02 +00:00
toins
b4ce3dbfb7 Head & rel_2_2 merged 2006-07-04 13:35:29 +00:00
sushi
0dd1e735fe OOPS, adding back Joshua's changes.
Adds script support for IntranetNav ... see mail to koha-devel for
details.
Adds support for intranetstylesheet system pref in Koha scripts.
Adds support for intranetcolorstylesheet.
2006-06-07 19:49:11 +00:00
sushi
daa46804dc perltidy before commit. 2006-06-07 19:33:33 +00:00
sushi
4e8e426629 slight change in receiveorder() call, added bookfund arg. bookfund now updated during receive for HLT.
Mason's ACQ fixes from HLT-DEV , work in progress.

Adding code to check existing orders in basket to avoid duplication of rows.

Addorder() now allows the user to select whether: the bibitem for the order will be an existing bibitem, or a newly created  bibitem.

adding back in the part the saves the edit page's changes.

Fix for bug 3589, can now order and receive donations in one go.

Fixing a bug, acquisitions wasnt making a new biblioitem when needed.
2006-06-07 19:25:59 +00:00
sushi
4d97bc7dbc perltidy before next commit. 2006-06-07 19:14:06 +00:00
plg
59ffd549c7 Improve SQL formatting (following coding guidelines) 2006-06-07 11:03:17 +00:00
sushi
16954a80eb Merging Katipo changes.
Fix for bug 3589, can now order and receive donations in one go.
Also a fix to allow user to create a new item, attached to an exisiting bibitem.
2006-06-07 04:29:10 +00:00
sushi
64e9fde761 perltidy before commit. 2006-06-07 04:01:00 +00:00
sushi
48b5cebb0b *** empty log message *** 2006-06-07 03:55:54 +00:00
sushi
7bd1980eca Merging Katipo changes.
call to receiveorder() now takes $bookfund as arg.
Mason's ACQ fixes from HLT-DEV , work in progress
Added regex to convert & to %26 before redirect to receive.pl.
Now has error alert for blank barcode field, and little tidyup.
finishreceive.pl now updates aqorder table's order record with lastest added biblioitem for that order, so ordersearch() now returns the acq-orders most recently created bibitem info, instead of the initally created biblitem info.
Now redirects back to acquire.pl if barcode exists or newitems() fails.
Now allows user to create a new biblioitem/item using a checkbox.
Adding option so magazines make new biblioitems as well as items - in testing stage
adding in the update for the replacement cost on the item table when editing a received order via
adding a bit to allow hlt to edit received order bit and not fail on duplicate barcode
added elsif to handle dup barcode error.
Fix to handle dup barcodes for newitem(), displays error the goes back to acquire.pl.
Now checks to see if newly created item is currently reserved.
Fix for the receive periodicals bit
Catching any errors when making items
More bugfixing this time a bug not saving volume info
Fix for bug 3529, allow freight to be distributed among the items
Now saves modified fields.
2006-06-07 03:47:50 +00:00
sushi
ad249c82d8 Merging Katipo changes. 2006-06-07 03:30:44 +00:00
sushi
14fa887bbe perltidy before commit. 2006-06-07 03:25:01 +00:00
sushi
8b927e8593 perltidy before commit. 2006-06-07 02:59:10 +00:00
sushi
2ee33de5ef Merging Katipo changes.
Got acqui homepage actually displaying suggestions - only displayed count before - need to get the suggestedby diplaying borrowers name rather than id number.
Showing budget breakdowns.
Slight alteration - let $status be an input parameter.
2006-06-07 02:45:26 +00:00
sushi
9d1c8fa9d2 perltidy before next commit. 2006-06-07 02:36:24 +00:00
sushi
1574910cb7 Merging Katipo changes.
adding html highlight toggling.
2006-06-07 02:22:12 +00:00
rangi
90ffdc7dfd Merging Katipo changes
Script to breakdown the amount committed (ordered but not received) of a particular budget
2006-06-07 02:17:54 +00:00
rangi
62053c1686 Merging from Katipo work
Script to show the breakdown of the amount spent in a budget
2006-06-07 01:53:15 +00:00
tipaul
e81b8d5bae prog templates : completed, fixed & xhtml valid 2006-01-18 15:38:17 +00:00
tipaul
86a9c7fb9f bugfixes xhtml & prog templates 2006-01-18 14:52:07 +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
hdl
3a48682514 Adding lateorders page.
It provides the user with the list of items that have been ordered for a delay and are NOT yet received.
The user may filter by supplier or branch or delay.
This page is still under developpement.
Goal is to make it ready to print to reorder the books.

2 new functions have been written in Acquisition module :
getsupplierlistwithlateorders
getlateorders

branches has been modified to manage branch independancy.
Request for comment.
STILL UNDER developpment
2005-08-09 14:13:27 +00:00
hdl
3d78e15b31 BUG Fixing a user with acquisition rights and no superlibrarian rights couldn't create a new basket with IndependantBranches management on. 2005-08-08 13:58:07 +00:00
hdl
a5b0a37a8a Managing branch independancy when creating a new biblio.
A librarian of one branch cannot create a biblio on a branch different form his own, unless superlibrarian.
2005-08-08 13:55:52 +00:00
tipaul
ed9616f474 synch'ing 2.2 and head 2005-08-04 09:52:32 +00:00
hdl
1b11e86c9e Some Bug Fixes 2005-07-28 15:40:52 +00:00
hdl
5d22c28ea2 Implementing Independancy Branches management :
- Trying to get a basket not owned by so of his own branch leads to mainpage.
- Lists onlys ths baskets owned by someon of user's brach.

Auth.pm now sends a cookie with userenv informations.
2005-07-28 07:52:02 +00:00
hdl
2950574dd6 Adding branch specific display to budgets and selection.
Be warned that to be able to select a budget which is not from patron's Branch, you should have a '' Branch information.
2005-07-14 09:13:24 +00:00
rangi
70f8682559 Formatting the creation date correctly 2005-06-29 01:16:37 +00:00
rangi
8371ad66f1 Removing a line that was adding a \ in front of every ' in a suppliers name 2005-06-29 01:03:06 +00:00
rangi
d1768a67fb Some of the values from the bookseller table werent being passed through to the templates 2005-06-29 01:00:49 +00:00
hdl
12389845c9 Online Help on Scrolling_list building for sort1 and sort2.
Minor Bug Fix for newbiblio.pl : Bsort becomes Asort
2005-06-22 13:14:12 +00:00
hdl
02c6eacdb7 Adding scrolling list for sort1 and sort2 2005-06-22 09:36:24 +00:00
tipaul
5e44e797eb synch'ing 2.2 and head 2005-06-20 13:15:46 +00:00
hdl
5c1241034b Displaying search results count 2005-06-20 10:14:12 +00:00
tipaul
7aad473042 synch'ing 2.2 and head 2005-05-04 08:45:03 +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
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