Bug 41578: Tidy kohaTable - serials/subscription-numberpatterns.tt

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2026-01-08 14:51:04 +01:00 committed by Lucas Gass
parent cd80b1b57c
commit 97442056fd
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 10 additions and 7 deletions

View File

@ -330,12 +330,8 @@
[% END %]
[% INCLUDE 'calendar.inc' %]
[% INCLUDE 'datatables.inc' %]
<script>
function confirmDelete() {
return confirm(_("Are you sure you want to delete this numbering pattern?"));
}
[% IF (new or modify) %]
[% IF (new or modify) %]
<script>
function testPattern() {
var frequencyid = $("#frequency").val();
var firstacquidate = $("#firstacquidate").val();
@ -383,11 +379,18 @@
}
});
}
[% END %]
</script>
[% END %]
<script>
function show_blocking_subs() {
$("#blocking_subs").show();
}
function confirmDelete() {
return confirm(_("Are you sure you want to delete this numbering pattern?"));
}
$(document).ready(function(){
$("#numberpatternst").kohaTable({