Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Tomas Cohen Arazi 31c86e13af Bug 33864: Set default date in all acqcreateitem scenarios
On b0aab2aeef the flatpickr default to
'today' was restored, but only for acqcreateitem='ordering'. This patch
moves the initialization to a different stop for broader reach.

To test:
1. Have 3 baskets on with each setting:
   - create_item = 'cateloguing'
   - create_item = 'ordering'
   - create_item = 'receiving'
2. Close those baskets
3. Go to 'Receive shipments'
4. Choose things from the 3 baskets and then 'Receive selected'
5. Navigate through the different orders
=> FAIL: Only the one that has items created on ordering has the date
filled by default
6. Apply this patch
7. Reload the page
8. Repeat 5
=> SUCCESS: Dates are pre-filled!
9. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Andrew Nugged <nugged@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2023-05-31 10:18:40 +02:00
..
csv
acqui-home.tt
addorder.tt
addorderiso2709.tt
ajax.tt
basket.tt
basketgroup.tt
basketheader.tt
booksellers.tt
cancelorder.tt
duplicate_orders.tt
edi_ean.tt
edifactmsgs.tt
edimsg.tt
histsearch.tt
invoice-files.tt
invoice.tt Bug 33721: Fix display of shipping cost/fund on invoice summary page 2023-05-18 11:03:27 -03:00
invoices.tt
lateorders.tt
moddeliverydate.tt
modordernotes.tt
neworderempty.tt Bug 11844: Only display 'Additional fields' section if they are defined 2023-05-17 14:35:22 -03:00
neworderempty_duplicate.tt
newordersubscription.tt
newordersuggestion.tt Bug 33541: Add document type to list of suggestions when ordering 2023-05-16 15:17:45 -03:00
ordered.tt
orderreceive.tt Bug 33864: Set default date in all acqcreateitem scenarios 2023-05-31 10:18:40 +02:00
parcel.tt Bug 8179: (follow-up) Fix currency change and remove datatables select 2023-05-15 08:53:52 -03:00
parcels.tt
showorder.tt
spent.tt
supplier.tt Bug 33797: Remove extra space 2023-05-23 16:54:00 -03:00
transferorder.tt
uncertainprice.tt
z3950_search.tt Bug 33655: z39.50 search no longer shows search in progress 2023-05-12 11:22:37 -03:00