Bug 34478: Add notes to pay.pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2024-02-16 12:29:11 +00:00 committed by Jonathan Druart
parent 20d22f17be
commit 1825c93fe4
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ our $branch = C4::Context->userenv->{'branch'};
my $op = $input->param('op') // q{};
# FIXME: paycollect, payselected, writeoff_selected, pay_individual and writeoff_individual
# are all stateless actions, but it does no harm to check the csrf here anyway and prevents
# the need for a complete re-write.
if ( $op eq 'cud-paycollect' ) {
print $input->redirect(
"/cgi-bin/koha/members/paycollect.pl?borrowernumber=$borrowernumber&change_given=$change_given");