@@ -, +, @@
- name => $values[0]->{name},
+ name => $letter->{name},
---
.../intranet-tmpl/prog/en/modules/tools/letter.tt | 63 +++++++++++-----------
tools/letter.pl | 6 +--
2 files changed, 33 insertions(+), 36 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
@@ -1,4 +1,5 @@
[% USE Koha %]
+[% USE Branches %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Tools › Notices[% IF ( add_form or copy_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate or copy_validate) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -424,40 +425,40 @@ $(document).ready(function() {
[% END %]
-
-[% IF ( delete_confirm ) %]
- Delete notice?
-
-
-
- Library |
- Module |
- Code |
- Name |
-
-
-
- [% branchname %] |
- [% module %] |
- [% code %] |
- [% name %] |
-
-
-
-
-
+[% IF ( delete_confirm ) %]
+
+
Delete notice?
+
+
+
+ Library |
+ Module |
+ Code |
+ Name |
+
+
+
+ [% Branches.GetName( letter.branchcode ) %] |
+ [% letter.module %] |
+ [% letter.code %] |
+ [% letter.name %] |
+
+
+
+
+
[% END %]
-
+
[% IF ( delete_confirmed ) %]
Data deleted