Koha/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
..
pdfformat Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
acqui-home.pl Bug 19792: Performance boost for GetBudgetHierarchy 2018-05-11 10:52:46 -03:00
add_user_search.pl
addorder.pl Bug 21587: don't drop patrons to notify in order creation 2018-10-26 16:43:15 +00:00
addorderiso2709.pl Bug 21365: Call BiblioAutoLink from AddBiblio and ModBiblio 2018-10-15 13:11:53 +00:00
ajax-getauthvaluedropbox.pl
basket.pl Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls 2018-11-08 20:47:16 +00:00
basketgroup.pl Bug 16739: Show note instead of 500 error for 'Generate EDIFACT' when no EDI account is configured 2018-09-28 19:24:49 +00:00
basketheader.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
booksellers.pl Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
cancelorder.pl Bug 13208: [FOLLOW-UP] Creating and implementing new Koha::Acquisition::Basket[s] modules 2017-10-09 14:00:58 -03:00
check_budget_total.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
check_uniqueness.pl
duplicate_orders.pl Bug 15184: Change permission (+x) on .pl 2018-11-08 15:52:59 +00:00
edi_ean.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
edifactmsgs.pl Bug 20861: Correct EDI permissions on EDI messsages 2018-06-04 13:40:36 -04:00
edimsg.pl Bug 20861: Correct EDI permissions on EDI messsages 2018-06-04 13:40:36 -04:00
finishreceive.pl Bug 21467: Allow several receipts for a given subscription 2018-11-13 19:31:09 +00:00
histsearch.pl Bug 15184: Fix bad merge conflict with created_by 2018-11-08 15:53:00 +00:00
invoice-files.pl
invoice.pl Bug 19166: (follow-up) Adjust table and files and QA issues 2018-07-19 17:28:41 +00:00
invoices.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
lateorders-export.pl
lateorders.pl Bug 14535: Update the supplier filter too 2017-03-31 12:38:44 +00:00
modordernotes.pl
neworderbiblio.pl Bug 20151: always use current language for stemming 2018-10-09 15:02:47 +00:00
neworderempty.pl Bug 21365: Call BiblioAutoLink from AddBiblio and ModBiblio 2018-10-15 13:11:53 +00:00
newordersubscription.pl
newordersuggestion.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
ordered.pl Bug 19271: Show vendor name on ordered/spent lists 2018-10-01 13:56:35 +00:00
orderreceive.pl Bug 21467: Allow several receipts for a given subscription 2018-11-13 19:31:09 +00:00
parcel.pl Bug 21205: (follow-up) Fix column name - itemnumbers -> itemnumber 2018-11-08 20:47:21 +00:00
parcels.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
showorder.pl Bug 12395: (QA follow-up) Change wording for consistency and fix use CGI; 2018-07-06 14:01:50 +00:00
spent.pl Bug 19271: Show vendor name on ordered/spent lists 2018-10-01 13:56:35 +00:00
supplier.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
transferorder.pl Bug 19130: (followup) Controller scripts should preserve behaviour 2017-08-25 11:53:44 -03:00
uncertainprice.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
updatesupplier.pl Bug 19993: use Modern::Perl in Acquisition perl scripts 2018-02-05 09:45:47 -03:00
z3950_search.pl Bug 19916: Add keyword and standard ID fields to acq external search 2018-03-28 16:03:37 -03:00