@@ -, +, @@
- Move this section into a
-
-
+
+
+ Add an adjustment
+
+
+
+ Add an adjustment
+
+
+ -
+
+
+
+ [% reasons = AuthorisedValues.Get("ADJ_REASON") %]
+ [% IF reasons.0 %]
+ -
+
+
+
+ [% ELSE %]
+ -
+ Reason:
+ None
+
Define values in authorised value category ADJ_REASON to enable
+
+ [% END %]
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+ -
+
+ Cancel
+
+
+
+
+
+
+
+
+
Go to receipt page
[% IF Koha.Preference('AcqEnableFiles') %]| Manage invoice files[% END %]
Invoice details
+
[% IF orders_loop.size %]
@@ -374,6 +411,13 @@
$("#show_all_details").prop('checked', false);
updateColumnsVisibility(false);
+ $(".toggle_invoice_adjustment").on("click", function(e){
+ e.preventDefault();
+ $("#show_invoice_adjustment, #cancel_invoice_adjustment, #add_invoice_adjustment").toggle();
+ });
+ $("a.delete_adjustment").click(function(){
+ return ( confirm( _("Are you sure you want to delete this file ?") ) );
+ });
});
[% END %]
--