]> git.koha-community.org Git - koha.git/commit
Bug 30807: Migrate to patron-title in pay and paycollect
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 19 May 2022 11:53:18 +0000 (12:53 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Jul 2022 19:16:23 +0000 (19:16 +0000)
commitf99bad2f360ca54ae991874519cf4a0fd7eba3dd
treedd1317cf939b5932a3bcb3056b009cfda64f9f2d
parentbc143d2b87e6d5e6a8930215e457d0b685dd49e3
Bug 30807: Migrate to patron-title in pay and paycollect

This patch updates the member-flags template to use the patron-title.inc
include wherever patron names are referenced.

Test plan
1) Navigate to a patron and click through to their accounts tab
2) Note how the patron name displays in the title, breadcrumb and
   headings
3) Click through to make a payment
4) Note how the patron name displays in the title, breadcrumb and
   headings
5) Apply the patch and reload the page
6) Confirm the patron name still appears in each location and is
   consistently formatted and linked as you would expect

Note: This patch also removes a superflous hidden title form element
that was simply passed to and from the controller but not actually used
in any way.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c3fd42b5507af58d0f12a2bb36f3fb62df54865d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/paycollect.pl