Bug 8179: (QA follow-up) Date received should default to today

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle M Hall 2023-05-12 15:11:46 +00:00 committed by Tomas Cohen Arazi
parent a8df9f0ba4
commit b0aab2aeef
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 3 additions and 0 deletions

View File

@ -426,6 +426,9 @@
tr.append('<td>'+display_string( 'item_type_id', item._strings, item.item_type_id )+'</td>');
tr.append('<td>'+display_string( 'materials_notes', item._strings, item.materials_notes )+'</td>');
tr.append('<td>'+(item.public_notes||'')+'</td>');
const fp = document.querySelector("#datereceived")._flatpickr;
fp.setDate(new Date());
};
var items_columns = [null, null, 'external_id', 'home_library_id',