[Koha-bugs] [Bug 6916] Selecting the acq date of an item should take you to the invoice page for it

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 14 14:53:14 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6916

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|PATCH-Sent                  |P5 - low
       Patch Status|Failed QA                   |---

--- Comment #17 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2011-12-14 13:53:14 UTC ---
Paul, Good catch. This situation with two items from different baskets will not
work now.
Currently, the functionality only works for AcqCreateItem==ordering. In that
case you have item numbers in aqorders_items. You do not have any items in that
table if AcqCreateItem!=ordering. So, in that case there will never be a
working URL. The followup resolves this in most cases (but not for your case).

The problem is that when you create the item later, you actually cannot say
where it came from. You could [pragmatically] say if it is the second item,
take the second order (could be wrong).
The routine GetOrderFromItemNumber should therefore use aqorder_items for
pref==ordering and do another trick otherwise.

Will leave this report open for fixing it later (no priority).

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list