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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-66 / +66 lines)
Lines 61-67 Link Here
61
                            <button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> No, don't delete (N)</button>
61
                            <button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> No, don't delete (N)</button>
62
                        </form>
62
                        </form>
63
                    </div>
63
                    </div>
64
                [% END %] <!-- NEEDSCONFIRMATION -->
64
                [% END # /IF NEEDSCONFIRMATION %]
65
65
66
                [% IF mana_code.defined %]
66
                [% IF mana_code.defined %]
67
                    <div id="alert-community" class="dialog message">
67
                    <div id="alert-community" class="dialog message">
Lines 117-124 Link Here
117
                                        </li>
117
                                        </li>
118
                                        <li><span class="label">Grace period:</span> [% graceperiod | html %]</li>
118
                                        <li><span class="label">Grace period:</span> [% graceperiod | html %]</li>
119
                                    </ol>
119
                                    </ol>
120
                                </div>
120
                                </div> <!-- /.rows -->
121
                            </div>
121
                            </div> <!-- /.col-sm-6 -->
122
                            <div class="col-sm-6">
122
                            <div class="col-sm-6">
123
                                <div class="rows">
123
                                <div class="rows">
124
                                    <ol>
124
                                    <ol>
Lines 134-142 Link Here
134
                                        [% END %]
134
                                        [% END %]
135
                                        [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
135
                                        [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
136
                                    </ol>
136
                                    </ol>
137
                                </div>
137
                                </div> <!-- /.rows -->
138
                            </div>
138
                            </div> <!-- /.col-sm-6 -->
139
                        </div>
139
                        </div> <!-- /.row -->
140
140
141
                        [% IF available_additional_fields %]
141
                        [% IF available_additional_fields %]
142
                            <hr>
142
                            <hr>
Lines 147-157 Link Here
147
                                        <ol>
147
                                        <ol>
148
                                            [% INCLUDE 'additional-fields-display.inc' available=available_additional_fields values=additional_field_values %]
148
                                            [% INCLUDE 'additional-fields-display.inc' available=available_additional_fields values=additional_field_values %]
149
                                        </ol>
149
                                        </ol>
150
                                    </div>
150
                                    </div> <!-- /.rows -->
151
                                </div>
151
                                </div> <!-- /.col-sm-6 -->
152
                            </div>
152
                            </div> <!-- /.row -->
153
                        [% END %]
153
                        [% END %]
154
                    </div>
154
                    </div> <!-- /#subscription_info -->
155
155
156
                    <div id="subscription_planning">
156
                    <div id="subscription_planning">
157
                        <div class="row">
157
                        <div class="row">
Lines 229-238 Link Here
229
                                            [% monthlength | html %]</li>
229
                                            [% monthlength | html %]</li>
230
                                        [% END %]
230
                                        [% END %]
231
                                    </ol>
231
                                    </ol>
232
                                </div>
232
                                </div> <!-- /.rows -->
233
                            </div>
233
                            </div> <!-- /.col-sd-12 -->
234
                        </div>
234
                        </div> <!-- /.row -->
235
                    </div>
235
                    </div> <!-- /#subscription_planning -->
236
236
237
                    <div id="subscription_numbering" style="display:none;">
237
                    <div id="subscription_numbering" style="display:none;">
238
                        <h3>Numbering calculation</h3>
238
                        <h3>Numbering calculation</h3>
Lines 294-300 Link Here
294
                                <td>[% lastvalue3 | html %]</td>
294
                                <td>[% lastvalue3 | html %]</td>
295
                            </tr>
295
                            </tr>
296
                        </table>
296
                        </table>
297
                    </div>
297
                    </div> <!-- /#subscription_numbering -->
298
298
                    <div id="subscription_issues">
299
                    <div id="subscription_issues">
299
                        <table>
300
                        <table>
300
                            <tr>
301
                            <tr>
Lines 346-354 Link Here
346
                                        [% IF ( serialslis.status8 ) %]Stopped[% END %]
347
                                        [% IF ( serialslis.status8 ) %]Stopped[% END %]
347
                                    </td>
348
                                    </td>
348
                                </tr>
349
                                </tr>
349
                            [% END %]
350
                            [% END # /FOREACH serialslist %]
350
                        </table>
351
                        </table>
351
                    </div>
352
                    </div> <!-- /#subscription_issues -->
352
353
353
                    <div id="subscription_summary">
354
                    <div id="subscription_summary">
354
                        <div class="row">
355
                        <div class="row">
Lines 366-375 Link Here
366
                                        <li><span class="label">History staff note:</span>[% librariannote | html | html_line_break %]</li>
367
                                        <li><span class="label">History staff note:</span>[% librariannote | html | html_line_break %]</li>
367
                                        <li><span class="label">History OPAC note:</span>[% opacnote | html | html_line_break %]</li>
368
                                        <li><span class="label">History OPAC note:</span>[% opacnote | html | html_line_break %]</li>
368
                                    </ol>
369
                                    </ol>
369
                                </div>
370
                                </div> <!-- /.rows -->
370
                            </div>
371
                            </div> <!-- /.col-sm-12 -->
371
                        </div>
372
                        </div> <!-- /.row -->
372
                    </div>
373
                    </div> <!-- /#subscription_summary -->
373
374
374
                    [% IF orders_grouped.size %]
375
                    [% IF orders_grouped.size %]
375
                        <div id="acquisition_details">
376
                        <div id="acquisition_details">
Lines 433-484 Link Here
433
                                        </tr>
434
                                        </tr>
434
                                        [% FOR order IN parent_order.orders %]
435
                                        [% FOR order IN parent_order.orders %]
435
                                            <tr data-tt-id="0" data-tt-parent-id="[% parent_tree_id | html %]">
436
                                            <tr data-tt-id="0" data-tt-parent-id="[% parent_tree_id | html %]">
436
                                            <td>
437
                                                <td>
437
                                            [% IF order.invoice %]
438
                                                [% IF order.invoice %]
438
                                                [% IF CAN_user_acquisition %]
439
                                                    [% IF CAN_user_acquisition %]
439
                                                    <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]" title="Invoice detail page">
440
                                                        <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]" title="Invoice detail page">
440
                                                       [% order.invoice.invoicenumber | html %]</a>
441
                                                           [% order.invoice.invoicenumber | html %]</a>
441
                                                [% ELSE %]
442
                                                    [% ELSE %]
442
                                                    [% order.invoice.invoicenumber | html %]
443
                                                        [% order.invoice.invoicenumber | html %]
443
                                                [% END %]
444
                                                    [% END %]
444
                                            [% END %]
445
                                            </td>
446
                                            <td></td> [%# basket %]
447
                                            <td>[% order.ordernumber | html %]</td>
448
                                            <td><span title="[% order.basket.creationdate | uri %]">[% order.basket.creationdate | $KohaDates%]</span></td>
449
                                            <td>[% IF order.datereceived %]<span title="[% order.datereceived | uri %]">[% order.datereceived | $KohaDates %]</span>[% END %]</td>
450
                                            <td>
451
                                                [% SWITCH order.orderstatus %]
452
                                                    [% CASE 'new' %]<span title="status_1">New</span>
453
                                                    [% CASE 'ordered' %]<span title="status_2">Ordered</span>
454
                                                    [% CASE 'partial' %]<span title="status_3">Partial</span>
455
                                                    [% CASE 'complete' %]<span title="status_4">Complete</span>
456
                                                    [% CASE 'cancelled' %]<span title="status_5">Cancelled</span>
457
                                                [% END %]
458
                                            </td>
459
                                            <td>[% order.order_internalnote | html %]</td>
460
                                            <td>[% order.order_vendornote | html %]</td>
461
                                            <td>[% order.fund.budget_name | html %]</td>
462
                                            <td>[% order.quantity | html %]</td>
463
                                            <td>
464
                                                [% UNLESS order.datereceived %]
465
                                                    [% order.ecost_tax_excluded * order.quantity | $Price %] / [% order.ecost_tax_included * order.quantity | $Price %]
466
                                                [% END %]
467
                                            </td>
468
                                            <td>
469
                                                [% IF order.datereceived %]
470
                                                    [%# FIXME What if unitprice has not been filled? %]
471
                                                    [% order.unitprice_tax_excluded * order.quantity | $Price %] / [% order.unitprice_tax_included * order.quantity | $Price %]
472
                                                [% END %]
445
                                                [% END %]
473
                                            </td>
446
                                                </td>
474
                                        </tr>
447
                                                <td></td> [%# basket %]
475
                                        [% END %]
448
                                                <td>[% order.ordernumber | html %]</td>
476
                                    [% END %]
449
                                                <td><span title="[% order.basket.creationdate | uri %]">[% order.basket.creationdate | $KohaDates%]</span></td>
450
                                                <td>[% IF order.datereceived %]<span title="[% order.datereceived | uri %]">[% order.datereceived | $KohaDates %]</span>[% END %]</td>
451
                                                <td>
452
                                                    [% SWITCH order.orderstatus %]
453
                                                        [% CASE 'new' %]<span title="status_1">New</span>
454
                                                        [% CASE 'ordered' %]<span title="status_2">Ordered</span>
455
                                                        [% CASE 'partial' %]<span title="status_3">Partial</span>
456
                                                        [% CASE 'complete' %]<span title="status_4">Complete</span>
457
                                                        [% CASE 'cancelled' %]<span title="status_5">Cancelled</span>
458
                                                    [% END %]
459
                                                </td>
460
                                                <td>[% order.order_internalnote | html %]</td>
461
                                                <td>[% order.order_vendornote | html %]</td>
462
                                                <td>[% order.fund.budget_name | html %]</td>
463
                                                <td>[% order.quantity | html %]</td>
464
                                                <td>
465
                                                    [% UNLESS order.datereceived %]
466
                                                        [% order.ecost_tax_excluded * order.quantity | $Price %] / [% order.ecost_tax_included * order.quantity | $Price %]
467
                                                    [% END %]
468
                                                </td>
469
                                                <td>
470
                                                    [% IF order.datereceived %]
471
                                                        [%# FIXME What if unitprice has not been filled? %]
472
                                                        [% order.unitprice_tax_excluded * order.quantity | $Price %] / [% order.unitprice_tax_included * order.quantity | $Price %]
473
                                                    [% END %]
474
                                                </td>
475
                                            </tr>
476
                                        [% END # /FOR order %]
477
                                    [% END # /FOR ordernumber %]
477
                                </tbody>
478
                                </tbody>
478
                            </table>
479
                            </table> <!-- /#orders -->
479
                        </div>
480
                        </div> <!-- /#acquisition_details -->
480
                    [% END %]
481
                    [% END # IF orders_grouped.size %]
481
                </div>
482
                </div> <!-- /#subscription_description -->
482
            </main>
483
            </main>
483
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
484
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
484
485
485
- 

Return to bug 23448