Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 40267be085 Bug 21467: Allow several receipts for a given subscription
When a new order is created from a subscription the quantity is set to 1
and cannot be modified.
The idea was to order 1 subscription.
This behavior leads to a limitation: it is not possible to mark a
receipt as partially received. However it is how it works in real life,
the vendors send invoices throughout the year. The number of items can
also be changed.

The idea is be to rethink the "quantity" value for an order created
from a subscription and use it to track the number of invoices already
paid.

FIXME: This approach will not cohabit with standing orders.
This patch is a first draft to get feedback on the idea.

FIXME: What about cancelled orders?

Test plan:
- Create a new order from a subscription
- Enter the number of items you think you will receive for this
subscription (for instance 1 per month: 12)
- Close the basket
- Receive 3 items (a trimester) and create a specific invoice for this
receipt. Note that the price are per unit.
If you want to receive items with different prices you should make
split the receipt
- Receive more items. This time you will notice that the previous order
will be displayed on the "order receive" under a new block "Receipt
history for this subscription"
- Note that the "Quantity to receive" has been decrease by the number of
items you previously received
- Also you can notice that this "Quantity to receive" can be modified.
Indeed it can happen that the number of items to receive changed during
the year
- Go to the detail of the subscription and notice that the orders have
been grouped by "parent ordernumber"
- Continue to receive items until all have been received

Sponsored-by: BULAC - http://www.bulac.fr/

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-11-13 19:31:09 +00:00
..
acqui Bug 21467: Allow several receipts for a given subscription 2018-11-13 19:31:09 +00:00
admin Bug 15836: (follow-up) Fix display input in any situations 2018-11-13 15:18:24 +00:00
authorities Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
basket Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
batch Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
catalogue Bug 21526: Fix search result pages (url vs uri vs raw) 2018-11-12 16:35:44 -03:00
cataloguing Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
circ Bug 21526: (follow-up) Use the 'url' filter when needed 2018-11-12 16:35:44 -03:00
clubs Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
common Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
course_reserves Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
errors Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
ill Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
installer Bug 19833: Kill all the "bibilos" - final couple 2018-09-19 13:54:43 +00:00
labels Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
members Bug 21715: Ease translation of account and account offset type descriptions 2018-11-08 02:18:47 +00:00
offline_circ Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
onboarding Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
patron_lists Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
patroncards Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
plugins Bug 21570: Update two-column templates with Bootstrap grid: Various 2018-11-05 14:41:09 +00:00
reports Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
reserve Bug 20450: (follow-up) Add missing template filters 2018-10-27 14:20:58 +00:00
reviews Bug 21570: Update two-column templates with Bootstrap grid: Various 2018-11-05 14:41:09 +00:00
rotating_collections Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
serials Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
services Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
suggestion Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
tags Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
test
tools Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
virtualshelves Bug 21570: Update two-column templates with Bootstrap grid: Various 2018-11-05 14:41:09 +00:00
about.tt Bug 21782: Release team 18.11 in About 2018-11-13 16:35:47 +00:00
auth.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
intranet-main.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00