From 30efc33dba4739044971c94e9e7505afd1624f97 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 31 Jul 2008 08:43:11 -0500 Subject: [PATCH] Reorganizing this display for better usability and to fix bug 2290 ("Claims Should not Have Send Button if nothing to claim"). Adding jquery tablesorter. This also adds a message to ask the user to select a supplier if none is selected (see Bug 2338). Signed-off-by: Joshua Ferraro --- .../prog/en/modules/serials/claims.tmpl | 91 ++++++++++--------- serials/claims.pl | 4 +- 2 files changed, 48 insertions(+), 47 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl index ff0e68f6a2..5dffdc13dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl @@ -1,23 +1,25 @@ Koha › Serials › Claims - + + +//]]> + @@ -35,44 +37,40 @@
-
No claims notice defined. Please Define One

Claims

-
-

+ +

No missing issues found.
Please choose a supplier.
+ +
No claims notice defined. Please define one.
+ +
Phone: Fax:

"> -

-

- - Select notice: - - -

+
+
+ + +
" /> -

Missing Issues

- - +
+ - - - - - - + + + + + + - +
Claim Supplier Title Issue numberStatus sortSince sortBegan Claim
StatusSince Begin Claim
@@ -83,7 +81,7 @@ - + "> @@ -105,20 +103,23 @@ &serialid=&op=claims">Export item data
- -

Select a supplier

- - " /> &op=preview" onclick="popup(,''); return false" class="button">Supplier Group Claim Notice

--> - +
+
+ +
@@ -181,7 +182,7 @@ -

Print   Close

+

Print   Close

diff --git a/serials/claims.pl b/serials/claims.pl index ab53e50ef9..1f34a18919 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -47,12 +47,12 @@ my $letter=((scalar(@letters)>1) || ($letters[0]->{name}||$letters[0]->{code})); my ($count2, @missingissues) = GetLateOrMissingIssues($supplierid,$serialid,$order) if $supplierid; my $CGIsupplier=CGI::scrolling_list( -name => 'supplierid', + -id => 'supplierid', -values => \@select_supplier, -default => $supplierid, -labels => \%supplierlist, -size => 1, - -multiple => 0 - -onChange => 'onchange="submit();"'); + -multiple => 0 ); my ($singlesupplier,@supplierinfo); if($supplierid){ -- 2.39.5