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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Jun 2022 14:44:03 +0000 (11:44 -0300)
commitc3fd42b5507af58d0f12a2bb36f3fb62df54865d
tree883af8082bfb68d725b8fd3e31f1382fc17129bb
parent8b460db131f83e361788d53b3a101565eab302db
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/paycollect.pl