Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv Bug 21454: Remove html filter for Price filtered variables 2018-10-01 13:56:34 +00:00
tables Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
acqui-home.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
addorder.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
addorderiso2709.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
ajax.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
basket.tt Bug 20966: (follow-up) Add template variable filter; Fix table export 2018-11-13 16:29:45 +00:00
basketgroup.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
basketheader.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
booksellers.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
cancelorder.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
duplicate_orders.tt Bug 15184: Fix TT filter 2018-11-08 15:53:00 +00:00
edi_ean.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
edifactmsgs.tt Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
edimsg.tt Bug 20667: Update two-column templates with Bootstrap grid: Acquisitions part 1 2018-07-06 13:19:35 +00:00
histsearch.tt Bug 15184: Prepare the ground - Move order search filters 2018-11-08 15:52:56 +00:00
invoice-files.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
invoice.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
invoices.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
lateorders.tt Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
modordernotes.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
neworderbiblio.tt Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
neworderempty.tt Bug 21467: Allow several receipts for a given subscription 2018-11-13 19:31:09 +00:00
neworderempty_duplicate.tt Bug 20672: Update two-column templates with Bootstrap grid: Acquisitions part 3 2018-08-31 11:13:52 +00:00
newordersubscription.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
newordersuggestion.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
ordered.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
orderreceive.tt Bug 21467: Allow several receipts for a given subscription 2018-11-13 19:31:09 +00:00
parcel.tt Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
parcels.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
showorder.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
spent.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
supplier.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
transferorder.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
uncertainprice.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
z3950_search.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00