View | Details | Raw Unified | Return to bug 28036
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-7 / +18 lines)
Lines 4-10 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
    <title>Koha &rsaquo; Serials &rsaquo; Claims</title>
7
    <title>Koha &rsaquo; Serials &rsaquo; Claims [% IF ( supplierid ) -%] &rsaquo; Claims for [% suppliername | html %] [% END %]</title>
8
    [% INCLUDE 'doc-head-close.inc' %]
8
    [% INCLUDE 'doc-head-close.inc' %]
9
</head>
9
</head>
10
10
Lines 20-30 Link Here
20
        <li>
20
        <li>
21
            <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
21
            <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
22
        </li>
22
        </li>
23
        <li>
23
        [% IF ( supplierid ) -%]
24
            <a href="#" aria-current="page">
24
            <li>
25
                Claims
25
                <a href="/cgi-bin/koha/serials/claims.pl">
26
            </a>
26
                    Claims
27
        </li>
27
                </a>
28
            </li>
29
            <li>
30
                <a href="#" aria-current="page">Claims for [% suppliername | html %]</a>
31
            </li>
32
        [% ELSE -%]
33
            <li>
34
                <a href="#" aria-current="page">
35
                    Claims
36
                </a>
37
            </li>
38
        [% END %]
28
    </ol>
39
    </ol>
29
</nav>
40
</nav>
30
41
Lines 33-39 Link Here
33
        <div class="col-sm-10 col-sm-push-2">
44
        <div class="col-sm-10 col-sm-push-2">
34
            <main>
45
            <main>
35
46
36
    <h1>Claims</h1>
47
    <h1>Claims [% IF ( suppliername ) %] for [% suppliername | html %] [% END %]</h1>
37
48
38
    [% IF error_claim %]
49
    [% IF error_claim %]
39
        [% IF error_claim == 'no_vendor_email' %]
50
        [% IF error_claim == 'no_vendor_email' %]
(-)a/serials/claims.pl (-1 / +2 lines)
Lines 84-94 my $letters = GetLetters({ module => 'claimissues' }); Link Here
84
84
85
my @missingissues;
85
my @missingissues;
86
if ($supplierid) {
86
if ($supplierid) {
87
    my $supplier = Koha::Acquisition::Booksellers->find( $supplierid );
87
    @missingissues = GetLateOrMissingIssues($supplierid);
88
    @missingissues = GetLateOrMissingIssues($supplierid);
88
    foreach my $issue (@missingissues) {
89
    foreach my $issue (@missingissues) {
89
        $issue->{cannot_claim} = 1
90
        $issue->{cannot_claim} = 1
90
          unless C4::Serials::can_claim_subscription($issue);
91
          unless C4::Serials::can_claim_subscription($issue);
91
    }
92
    }
93
    $template->param( suppliername => $supplier->name );
92
}
94
}
93
95
94
$template->param(
96
$template->param(
95
- 

Return to bug 28036