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:
parent
a8df9f0ba4
commit
b0aab2aeef
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue