Bug 28942 - Use Flatpickr on acquisitions pages
Summary: Use Flatpickr on acquisitions pages
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 28937
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-02 14:15 UTC by Owen Leonard
Modified: 2021-09-16 13:39 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 28942: Use Flatpickr on acquisitions pages (13.53 KB, patch)
2021-09-03 11:22 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 28942: Use Flatpickr on acquisitions pages (13.58 KB, patch)
2021-09-13 21:57 UTC, Lucas Gass
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2021-09-02 14:15:36 UTC
This bug will cover Flatpickr additions to these pages/files:

- includes/filter-orders.inc
- acqui/invoice.tt
- acqui/invoices.tt
- acqui/lateorders.tt
- acqui/orderreceive.tt
- acqui/parcels.tt
Comment 1 Owen Leonard 2021-09-03 11:22:15 UTC
Created attachment 124453 [details] [review]
Bug 28942: Use Flatpickr on acquisitions pages

This patch modifies several acquisitions pages replacing jQuery
datepickers with Flatpickr widgets.

To test, apply the patch and test datepickers on the following
Acquisitions pages:

 - Acquisitions -> Late orders (linked date fields in the sidebar)
 - Acquisitions -> Invoices (linked date fields in the sidebar)
 - Acquisitions -> Invoices -> Invoice details (shipment date and
   billing date)
 - Acquisitions -> Vendor -> Receive shipment (shipment date)
 - Acquisitions -> Vendor -> Receive shipment -> Receive (on order line)
   -> Date received field under "Accounting details
 - Acquisitions -> Orders search tab in the header -> Advanced search:
   Linked date fields in the search form."
Comment 2 Lucas Gass 2021-09-13 21:57:07 UTC
Created attachment 124848 [details] [review]
Bug 28942: Use Flatpickr on acquisitions pages

This patch modifies several acquisitions pages replacing jQuery
datepickers with Flatpickr widgets.

To test, apply the patch and test datepickers on the following
Acquisitions pages:

 - Acquisitions -> Late orders (linked date fields in the sidebar)
 - Acquisitions -> Invoices (linked date fields in the sidebar)
 - Acquisitions -> Invoices -> Invoice details (shipment date and
   billing date)
 - Acquisitions -> Vendor -> Receive shipment (shipment date)
 - Acquisitions -> Vendor -> Receive shipment -> Receive (on order line)
   -> Date received field under "Accounting details
 - Acquisitions -> Orders search tab in the header -> Advanced search:
   Linked date fields in the search form."

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>