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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-69 / +84 lines)
Lines 1-9 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Serials &rsaquo; Details for Subscription #[% subscriptionid %]</title>
2
<title>Koha &rsaquo; Serials &rsaquo; Details for Subscription #[% subscriptionid %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" language="javascript">
4
<script type="text/javascript">
5
<!--
5
//<![CDATA[
6
7
// the english words used in display purposes
6
// the english words used in display purposes
8
var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
7
var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
9
"Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall"),_("Season"),_("Year"));
8
"Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall"),_("Season"),_("Year"));
Lines 33-40 function confirm_deletion() { Link Here
33
function popup(subscriptionid) {
32
function popup(subscriptionid) {
34
    newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
33
    newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
35
}
34
}
36
35
$(document).ready(function() {
37
-->
36
    $("#subscription_description > ul").tabs();
37
});
38
//]]>
38
</script>
39
</script>
39
</head>
40
</head>
40
<body>
41
<body>
Lines 75-108 function popup(subscriptionid) { Link Here
75
	</div>
76
	</div>
76
	[% END %] <!-- NEEDSCONFIRMATION -->
77
	[% END %] <!-- NEEDSCONFIRMATION -->
77
78
78
 
79
<div id="subscription_description" class="toptabs">
79
    <div id="subscription_info">
80
<ul class="ui-tabs-nav">
80
        <h2>Subscription information</h2>
81
    <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_info">Information</a></li>
81
		<ul>
82
    <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_planning">Planning</a></li>
83
    <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_issues">Issues</a></li>
84
    <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_summary">Summary</a></li>
85
</ul>
86
87
<div id="subscription_info">
88
    <div class="yui-g">
89
    <div class="yui-u first">
90
    <div class="rows">
91
		<ol>
82
		<li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
92
		<li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
83
        <li><span class="label">Librarian identity:</span> [% librarian %]</li>
93
        <li><span class="label">Librarian identity:</span> [% librarian %]</li>
84
        <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% aqbooksellerid %]">[% aqbooksellername %]&nbsp;</a></li>
94
        <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li>
85
        <li><span class="label">Biblio:</span> <i>([% bibnum %])</i> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a></li>
95
        <li><span class="label">Biblio:</span>  <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li>
86
[% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %]&nbsp;</li>[% END %]
96
[% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %]</li>[% END %]
87
        [% IF ( serialsadditems ) %]
97
        [% IF ( serialsadditems ) %]
88
            <li>Serial receipt creates an item record.</li>
98
            <li><span class="label">Items:</span> Serial receipt creates an item record.</li>
89
        [% ELSE %]
99
        [% ELSE %]
90
            <li>Serial receipt does not create an item record.</li>
100
            <li><span class="label">Items:</span> Serial receipt does not create an item record.</li>
91
        [% END %]
101
        [% END %]
92
        <li><span class="label">Grace period:</span> [% graceperiod %]&nbsp;</li>
102
        <li><span class="label">Grace period:</span> [% graceperiod %]</li>
93
        [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]&nbsp;</li>[% END %]
103
        </ol>
94
        [% IF ( callnumber ) %]<li><span class="label">Call Number:</span> [% callnumber %]&nbsp;</li>[% END %]
104
    </div>
95
		[% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff</span>:&nbsp;[% staffdisplaycount %]&nbsp;</li>[% END %]
96
		[% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display to the public</span>:&nbsp;[% opacdisplaycount %]&nbsp;</li>[% END %]
97
        [% IF ( letter ) %]<li><span class="label">Patron alert with:</span> [% letter %]&nbsp;</li>[% END %]
98
        [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
99
     </ul>
100
    </div>
105
    </div>
106
    <div class="yui-u">
107
    <div class="rows">
108
        <ol>
109
        [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]</li>[% END %]
110
        [% IF ( callnumber ) %]<li><span class="label">Call Number:</span> [% callnumber %]</li>[% END %]
111
		[% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff:</span>[% staffdisplaycount %]</li>[% END %]
112
		[% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display to the public:</span>[% opacdisplaycount %]</li>[% END %]
113
        [% IF ( letter ) %]<li><span class="label">Patron alert with:</span> [% letter %]</li>[% END %]
114
        [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
115
     </ol>
116
     </div>
117
     </div>
118
</div>
119
</div>
101
    <div id="subscription_planning">
120
    <div id="subscription_planning">
102
        <h2>Planning</h2>
121
    <div class="yui-g">
103
            <p><label>Beginning date:</label> [% startdate %]
122
    <div class="rows">
104
            </p>
123
        <ol>
105
            <p><label>Frequency (*):</label>
124
            <li><span class="label">Beginning date:</span> [% startdate %]
125
            </li>
126
            <li><span class="label">Frequency (*):</span>
106
                [% IF ( periodicity16 ) %]
127
                [% IF ( periodicity16 ) %]
107
                        Without regularity
128
                        Without regularity
108
                [% END %]
129
                [% END %]
Lines 151-164 function popup(subscriptionid) { Link Here
151
                [% IF ( periodicity11 ) %]
172
                [% IF ( periodicity11 ) %]
152
                        1/2 years
173
                        1/2 years
153
                [% END %]
174
                [% END %]
154
              Manual history :
175
            </li>
176
            <li>
177
              <span class="label">Manual history: </span>
155
                [% IF ( manualhistory ) %]
178
                [% IF ( manualhistory ) %]
156
                    <input type="checkbox" checked="checked" disabled="disabled" />
179
                    Disabled
157
                [% ELSE %]
180
                [% ELSE %]
158
                    <input type="checkbox" disabled="disabled" />
181
                    Enabled
159
                [% END %]
182
                [% END %]
160
            </p>
183
            </li>
161
            <p><label>Number pattern:</label>
184
            <li><span class="label">Number pattern:</span>
162
                [% IF ( numberpattern1 ) %]
185
                [% IF ( numberpattern1 ) %]
163
                    Number only
186
                    Number only
164
                [% END %]
187
                [% END %]
Lines 183-191 function popup(subscriptionid) { Link Here
183
                [% IF ( numberpattern7 ) %]
206
                [% IF ( numberpattern7 ) %]
184
                    None of the above
207
                    None of the above
185
                [% END %]
208
                [% END %]
186
            </p>
209
            </li>
187
            <table>
210
            <li><table>
188
            <tr><td><p>Starting with:</p></td>
211
            <tr><td>Starting with:</td>
189
                <td align="center">[% lastvalue1 %]</td>
212
                <td align="center">[% lastvalue1 %]</td>
190
            [% IF ( lastvalue2 ) %]
213
            [% IF ( lastvalue2 ) %]
191
                <td align="center">&nbsp; 
214
                <td align="center">&nbsp; 
Lines 198-204 function popup(subscriptionid) { Link Here
198
                </td>
221
                </td>
199
            [% END %]
222
            [% END %]
200
            </tr>
223
            </tr>
201
            <tr><td><p>Rollover:</p></td>
224
            <tr><td>Rollover:</td>
202
                <td align="center">[% whenmorethan1 %]</td>
225
                <td align="center">[% whenmorethan1 %]</td>
203
            [% IF ( whenmorethan2 ) %]
226
            [% IF ( whenmorethan2 ) %]
204
                <td align="center">&nbsp; 
227
                <td align="center">&nbsp; 
Lines 211-226 function popup(subscriptionid) { Link Here
211
                </td>
234
                </td>
212
            [% END %]
235
            [% END %]
213
            </tr>
236
            </tr>
214
            </table>
237
            </table></li>
215
            [% IF ( irregular_issues ) %]
238
            [% IF ( irregular_issues ) %]
216
            <p><label>Irregularity:</label> [% irregular_issues %] issues
239
            <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
217
            </p>
240
            </li>
218
            [% END %]
241
            [% END %]
219
            <p><label>First arrival:</label> [% firstacquidate %]
242
            <li><span class="label">First arrival:</span> [% firstacquidate %]
220
            </p>
243
            </li>
221
        [% IF ( numberlength ) %]<p><label>Number of issues:</label> [% numberlength %]</p>[% END %]
244
        [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
222
        [% IF ( weeklength ) %]<p><label>Number of weeks:</label> [% weeklength %]</p>[% END %]
245
        [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
223
        [% IF ( monthlength ) %]<p><label>Number of months:</label> [% monthlength %]</p>[% END %]
246
        [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
247
        </ol>
248
    </div>
249
    </div>
224
    </div>
250
    </div>
225
    <div id="subscription_numbering" style="display:none;">
251
    <div id="subscription_numbering" style="display:none;">
226
        <h3>Numbering calculation</h3>
252
        <h3>Numbering calculation</h3>
Lines 284-290 function popup(subscriptionid) { Link Here
284
            </table>
310
            </table>
285
    </div>
311
    </div>
286
    <div id="subscription_issues">
312
    <div id="subscription_issues">
287
        <h2>Serial issues</h2>
288
        <table>
313
        <table>
289
        <tr>
314
        <tr>
290
            <th>Issue number</th>
315
            <th>Issue number</th>
Lines 331-361 function popup(subscriptionid) { Link Here
331
        </table>
356
        </table>
332
    </div>
357
    </div>
333
    <div id="subscription_summary">
358
    <div id="subscription_summary">
334
        <h2>Subscription summary</h2>
359
    <div class="yui-g">
335
        <table cellpadding="0" cellspacing="0">
360
    <div class="rows">
336
            <tr>
361
        <ol>
337
                <td><label>Start date</label></td>
362
            <li><span class="label">Start date:</span> [% startdate %] </li>
338
                <td> [% startdate %] </td>
363
            <li><span class="label">End date:</span> [% enddate %]</li>
339
            </tr>
364
            <li><span class="label">History start date:</span> [% histstartdate %] </li>
340
            <tr>
365
            <li><span class="label">History end date:</span> [% histenddate %]</li>
341
                <td><label>End date</label></td>
366
            <li><span class="label">Received issues:</span>[% recievedlist %]</li>
342
                <td> [% enddate %]</td>
367
            <li><span class="label">Missing issues:</span>[% missinglist %]</li>
343
            </tr>
368
            <li><span class="label">Nonpublic note:</span>[% internalnotes %]</li>
344
            <tr>
369
            <li><span class="label">Public note:</span>[% notes %]</li>
345
                <td><label>History start date</label></td>
370
        </ol>
346
                <td> [% histstartdate %] </td>
371
    </div>
347
            </tr>
372
    </div>
348
            <tr>
373
    </div>
349
                <td><label>History end date</label></td>
350
                <td> [% histenddate %]</td>
351
            </tr>
352
            <tr><td><label>Received issues</label></td><td>[% recievedlist %]</td></tr>
353
            <tr><td><label>Missing issues</label></td><td>[% missinglist %]</td></tr>
354
            <tr><td><label>Nonpublic note</label></td><td>[% internalnotes %]</td></tr>
355
            <tr><td><label>Public note</label></td><td>[% notes %]</td></tr>
356
        </table>
357
    </div>
374
    </div>
358
359
</div>
375
</div>
360
</div>
376
</div>
361
377
362
- 

Return to bug 4223