Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Jacek Ablewicz 0519c428ef Bug 11665: An ability to place orders directly from hold ratios list
This enhancement introduces a possibility to place orders
from hold ratios list:

- new option "Add order to basket" -> "From titles w/ highest hold ratios";
(user gets redirected from acqusition to "hold ratios" list in circulation)

- "N to order" in "Items needed" column now becomes a link - when clicked,
user gets redirected back to acquisition, directly to order form for
a choosen title (suggested quantity "N to order" is being preserved)

- in the "Items needed" column, there is an additional indication if
there are any pending (not yet received) orders for a given title

This solution is not exactly ideal.. most important drawback: to use
it librarian needs both acquisition & circulation priviledges; if not
having both - new options will not show / wouldn't be active. But it
requires relatively small amount of changes in the code.

To test:
- apply patch,
- test new functions (try to place some orders using an newly added
option, examine resulting order records etc.)
- check modified hold ratios list for possible problems (for user
with only circulation priviledges, additional information regarding
pending orders should be still visible, but not the link
to order form)
- ensure the two following existing options for adding orders to basket
("From an existing record", "From a new (empty) record") a still working
properly.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Minor edit in signoff: Changed "w/" to "with"

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This works nicely in my tests, neat new addition.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-04 19:13:39 +00:00
..
csv_headers/acqui Bug 9416: (follow-up) fix neworderempty and templates 2014-04-19 15:55:37 +00:00
virtualshelves/merge
acquisitions-add-to-basket.inc Bug 11665: An ability to place orders directly from hold ratios list 2014-05-04 19:13:39 +00:00
acquisitions-menu.inc
acquisitions-search.inc Bug 10115 - Hiding advanced search in Orders search tab removes plus button 2013-04-26 07:53:49 -04:00
acquisitions-toolbar.inc
additem.js.inc Bug 10576: make strings in additem.js accessible to translation 2013-07-22 15:40:21 +00:00
admin-menu.inc Bug 7372: Move road types from the roadtype table to the ROADTYPE AV 2014-02-21 16:00:53 +00:00
auth-finder-search.inc Bug 10808: make authority search form retain drop-down selections 2013-12-10 04:25:12 +00:00
authorities-search-results.inc Bug 10987: (follow-up) fix display of authorities containing only one see from or see also lnik 2014-01-16 23:07:09 +00:00
authorities-search.inc Bug 7484: keep selected values when changing search type on authority search form 2013-11-27 18:30:35 +00:00
authorities-toolbar.inc Bug 10096: (follow-up) rename button on authorities toolbar 2013-10-04 15:06:15 +00:00
authorities.inc
authorities_js.inc Bug 11227: remove some JavaScript from staff PO files 2014-04-27 21:35:34 +00:00
biblio-default-view.inc
biblio-view-menu.inc
borrower_debarments.inc Bug 11182: remove spurious logged warnings in circulation 2014-04-29 17:49:48 +00:00
browser-strings.inc Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
budgets-active-currency.inc
budgets-admin-search.inc
budgets-admin-toolbar.inc
calendar.inc Bug 10694: (follow-up) fix various issues 2014-05-02 21:44:46 +00:00
cat-menu.inc
cat-search.inc Bug 12094: fix default tab selection broken by jQueryUI upgrade 2014-04-22 14:51:18 +00:00
cat-toolbar.inc Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
cataloging-search.inc
checkin-search.inc
checkouts-table-footer.inc
circ-menu.inc Bug 11087: Make the Pay Fines tab the default tab 2014-02-20 19:31:13 +00:00
circ-menu.tt Bug 11087: Make the Pay Fines tab the default tab 2014-02-20 19:31:13 +00:00
circ-search.inc
cities-admin-search.inc
contracts-admin-search.inc
currencies-admin-search.inc
datatables-strings.inc Bug 11555: Make "All" one of the default options for datatables 2014-03-10 18:49:33 +00:00
datatables.inc Bug 11555: Make "All" one of the default options for datatables 2014-03-10 18:49:33 +00:00
date-format.inc Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
doc-head-close-receipt.inc Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
doc-head-close.inc Bug 11753 - Replace jQuery qTip plugin with Bootstrap tooltip on patron search form 2014-02-18 21:08:43 +00:00
doc-head-open.inc
facets.inc Bug 11334: (follow-up) add spans for new facets 2014-04-29 16:07:00 +00:00
file-upload.inc Bug 12103 - Move ajaxfileupload jQuery plugin outside of language-specific directory 2014-04-25 15:09:16 +00:00
form-blocks.inc
greybox.inc Bug 12101 - Move Greybox library outside of language-specific directory 2014-04-25 15:14:03 +00:00
guided-reports-view.inc
header.inc Bug 12060: remove extraneous tags from header.inc 2014-04-09 22:01:26 +00:00
help-bottom.inc
help-top.inc Bug 11035: (follow-up) move shortcut.js 2013-12-03 15:35:15 +00:00
home-search.inc
installer-doc-head-close.inc Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
intranet-bottom.inc Bug 5052: make it possible to pick a language if all choices are sublanguage 2014-04-15 14:36:29 +00:00
intranetstylesheet.inc Bug 10052 Followup for edithelp.tt and help-top.inc 2013-05-23 08:55:11 -07:00
labels-menu.inc
labels-toolbar.inc
letters-search.inc
members-menu.inc
members-toolbar.inc Bug 2310: display tooltips explaining why patron menu items are disabled 2013-12-05 16:36:43 +00:00
merge-record-strings.inc Bug 10650 - export merge-record.inc javascript into a file 2013-09-16 16:17:34 +00:00
merge-record.inc Bug 10650 - export merge-record.inc javascript into a file 2013-09-16 16:17:34 +00:00
messaging-preference-form.inc Bug 10511: (follow-up) jQuery .removeAttr() has only one parameter 2013-08-12 14:12:38 +00:00
page-numbers.inc
patron-search-box.inc Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
patron-search.inc Bug 11753 - Replace jQuery qTip plugin with Bootstrap tooltip on patron search form 2014-02-18 21:08:43 +00:00
patron-title.inc
patron-toolbar.inc
patroncards-errors.inc Bug 9924: (follow-up) ensure that correct error message is displayed 2013-09-08 19:19:50 +00:00
patroncards-menu.inc
patroncards-toolbar.inc
patrons-admin-search.inc
popup-bottom.inc
prefs-admin-search.inc
prefs-menu.inc Bug 11343: The max number of items to process in a batch is hardcoded 2014-03-10 19:10:27 +00:00
printers-admin-search.inc
quotes-toolbar.inc
quotes-upload-toolbar.inc
reports-menu.inc
reports-toolbar.inc
resort_form.inc
search_indexes.inc Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes 2013-09-04 14:25:47 +00:00
serials-menu.inc Bug 7688: Change subscription numbering pattern and frequencies 2013-10-30 00:29:38 +00:00
serials-search.inc
serials-toolbar.inc
stopwords-admin-search.inc
subscriptions-search.inc Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
subtypes_unimarc.inc Bug 11503: fix several typos 2014-01-13 20:47:03 +00:00
suggestions-add-search.inc
timepicker.inc Bug 11618: ensure jQuery timepicker is picked up by the i18n toolchain 2014-02-18 21:19:16 +00:00
tools-item-action.inc Bug 7131: teach MARC import how to overlay items 2013-10-30 04:31:07 +00:00
tools-menu.inc Bug 8015: (follow-up) fix various issues (squashed patch) 2013-10-31 22:49:45 +00:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc Bug 6209 follow-up, make strings translatable 2013-03-23 00:12:59 -04:00
vendor-menu.inc
virtualshelves-toolbar.inc Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view (staff) 2014-02-20 16:53:32 +00:00
z3950-admin-search.inc Bug 10307 - z39.50 server search tab shows z390.50 2013-06-04 11:41:10 -07:00