+
+
+[% MACRO jsinclude BLOCK %]
+ [% INCLUDE 'datatables.inc' %]
+
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
@@ -129,6 +129,14 @@
+
+ [% IF ( error_registers ) %]
+
+
+
+ [% END %]
+
+
+
+
+ You must have at least one cash register associated with this branch before you can record payments.
+
+ [% ELSE %]
+
+
+ Branch transaction details for [% library.branchname | html %]
+ +Summary
+ + + ++ ID + | ++ Name + | ++ Description + | ++ Last cashup + | ++ Float + | ++ Bankable + | ++ Actions + | + + + [% FOREACH register IN registers %] +
---|---|---|---|---|---|---|
+ [% register.id | html %] + | ++ [% register.name | html %] + | ++ [% register.description | html %] + | ++ [%- IF register.last_cashup -%] + [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] ([% register.last_cashup.amount | $Price %]) + [%- ELSE -%] + No last cashup + [%- END -%] + | ++ [% register.starting_float | $Price %] + | ++ [% register.outstanding_accountlines.total * -1 | $Price %] + | ++ Record cashup + | +
Total bankable: | ++ | + |
+
+
+
+