@@ -, +, @@
-Do some transactions on boraccount.tt. Payments, write-offs..
-Check the transaction tab at boraccount.tt
-No info about the librian who did this action
-Apply patch
-Try doing some more transactions
-You should now see the first and last name of the librarian who accepted the payments/did the transactions
---
admin/columns_settings.yml | 4 ++++
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 4 +++-
members/boraccount.pl | 2 ++
3 files changed, 9 insertions(+), 1 deletion(-)
--- a/admin/columns_settings.yml
+++ a/admin/columns_settings.yml
@@ -683,6 +683,10 @@ modules:
-
columnname: date
-
+ columnname: updated_on
+ -
+ columnname: manager
+ -
columnname: credit_number
is_hidden: 1
-
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
@@ -62,6 +62,7 @@
Created |
Updated |
+ Managed by |
Credit number |
Account type |
Description of charges |
@@ -84,6 +85,7 @@
[% account.date | $KohaDates %] |
[% account.timestamp | $KohaDates with_hours = 1 %] |
+ [% loggedinuser.surname | html %], [% loggedinuser.firstname | html %] |
[% account.credit_number | html %] |
[% PROCESS account_type_description account=account %] |
@@ -142,7 +144,7 @@
[% END %]
|
- Total due |
+ Total due |
[% IF ( totalcredit ) %]
[% total | $Price %] |
--- a/members/boraccount.pl
+++ a/members/boraccount.pl
@@ -205,6 +205,7 @@ my $csrf_token = Koha::Token->new->generate_csrf({
session_id => scalar $input->cookie('CGISESSID'),
});
+warn 'LUCASTEST' . Data::Dumper::Dumper( $logged_in_user );
$template->param(
patron => $patron,
finesview => 1,
@@ -215,6 +216,7 @@ $template->param(
change_given => $change_given,
renew_results => $renew_results_display,
csrf_token => $csrf_token,
+ loggedinuser => $logged_in_user->unblessed,
);
output_html_with_http_headers $input, $cookie, $template->output;
--
|