diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
index 0ec4a48616..440a6b62f0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
@@ -494,6 +494,13 @@
id: "[% register.id | html %]",
description: "[% register.description | html %]",
};
+ const cashupModalData = {
+ bankableAmount: [% accountlines.total( payment_type => [ 'CASH', 'SIP00' ]) * -1 | html %],
+ registerFloat: [% register.starting_float | html %],
+ hasAuthorisedValues: [% reconciliation_note_avs ? 'true' : 'false' | html %],
+ noteRequired: [% reconciliation_note_required ? 'true' : 'false' | html %],
+ isInProgress: [% cashup_in_progress ? 'true' : 'false' | html %],
+ };
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
index 5c3332abe4..99ada08844 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
@@ -407,32 +407,36 @@
$("#income").text('[% ctotal | $Price %] ([% cctotal | $Price %])');
$("#outgoing").text('[% dtotal | $Price %] ([% cdtotal | $Price %])');
});
+ const cashupModalData = {
+ hasAuthorisedValues: [% reconciliation_note_avs ? 'true' : 'false' | html %],
+ noteRequired: [% reconciliation_note_required ? 'true' : 'false' | html %],
+ };