[Koha-bugs] [Bug 12732] Sort late orders by basket creation or closing date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 7 20:23:11 CEST 2014


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

--- Comment #1 from simith.doliveira at inlibro.com ---
Created attachment 30592
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30592&action=edit
Bug 12732 - Sort late orders by basket creation or closing date

This fix permits to sort late orders by basket creation or closing date

Modified:

installer/data/mysql/sysprefs.sql                                            
-AcqLateOrderUseCreationDate preference added
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref  
-AcqLateOrderUseCreationDate preference added
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt                  
-Change "Order date" column
acqui/lateorders.pl                                                           -
C4/Acquisition.pm                                                            
-Change sql

Testing:

I Apply the patch
II Run updatedatabase.pl

0) Create 2 orders each one with different baskets;
1) Change the first basket date (table aqbasket, column creationdate and
closedate) to 2014-07-13;
2) Change the second basket creationdate to 2014-07-12 and closedate to
2014-07-14;
3) Set AcqLateOrderUseCreationDate to Don't use the creation date of the basket
to sort late order;
4) Validate sort by "close date" (second basket came first) and "Order close
date" column;
5) Set AcqLateOrderUseCreationDate to Do use the creation date of the basket to
sort late order;
6) Validate sort by "creation date" (first basket came first) and "Order
creation date" column;

sponsored by the CCSR ( http://www.ccsr.qc.ca )

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


More information about the Koha-bugs mailing list