[Koha-bugs] [Bug 8382] New: It is not possible to cancel an order when receiving on a filtered page in parcel.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 8 16:31:45 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8382
          Assignee: koha-bugs at lists.koha-community.org
           Summary: It is not possible to cancel an order when receiving
                    on a filtered page in parcel.pl
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: christophe.croullebois at biblibre.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Acquisitions
           Product: Koha

Because in parcel.pl page the filter (on the left) makes a table using jscript
and a very different workflow, the "cancel" link does nothing just asking for
cancelling.
Principaly due to the use of the "filter" js function that call the parcel.pl
page and does all the job in a separate block with a separate perl function
(SearchOrder)
that sends all to js, that constructs html to finally append it to table.    
So I have decided to rebuild entirely the filter.
I have choosen to overload the function "GetPendingOrders" to enable it to
accept new arguments.
To test : when you are in "parcel.pl" ready to receive orders, simply select a
filter on the left and on the filtered page try to cancel a line, you'll have
the warning message but no more, the line will be not canceled.
Instead having "Delete order" and "Delete order and catalog record", you have
"cancel".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list