https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37344 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |roman.dolny@jezuici.pl --- Comment #17 from Roman Dolny <roman.dolny@jezuici.pl> --- There is 'BORROWER_MISTAKE' as 'Reason of cancellation' no matter which reason I choose in modal. It is hard-codded in Discharge.pm: + $discharge->update( + { + cancelled => dt_from_string, + cancellation_reason => 'BORROWER_MISTAKE' + } + ); There is a typo in discharge.tt ('cancel_dicharge_alert' => 'cancel_discharge_alert') + <form id="cancel_modal_form" method="post" action="discharge.pl"> + <div class="modal-body"> + [% INCLUDE 'csrf-token.inc' %] + <input name="op" type="hidden" value="cud-cancel-discharge" /> + <div id="cancel_dicharge_alert" class="alert alert-danger" style="display:none;"></div> -- You are receiving this mail because: You are watching all bug changes.