https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37344

Roman Dolny <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |[email protected]

--- Comment #17 from Roman Dolny <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to