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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-17 / +16 lines)
Lines 173-179 Link Here
173
                                        <input type="checkbox" name="close" id="close" />
173
                                        <input type="checkbox" name="close" id="close" />
174
                                    </li>
174
                                    </li>
175
                                [% END %]
175
                                [% END %]
176
                            [% END %]
176
                            [% END # /IF ( invoiceclosedate ) %]
177
                        </ol>
177
                        </ol>
178
178
179
                        <fieldset class="rows">
179
                        <fieldset class="rows">
Lines 246-253 Link Here
246
                                                [% ELSE %]
246
                                                [% ELSE %]
247
                                                    <p title="Define values in authorised value category ADJ_REASON to enable">None</p>
247
                                                    <p title="Define values in authorised value category ADJ_REASON to enable">None</p>
248
                                                    <input type="hidden" name="reason" id="reason_[% adjustment.adjustment_id | html %]" value="" />
248
                                                    <input type="hidden" name="reason" id="reason_[% adjustment.adjustment_id | html %]" value="" />
249
                                                [% END %]
249
                                                [% END # /IF reasons.0 %]
250
                                            [% END %]
250
                                            [% END # /IF readonly %]
251
                                        </td>
251
                                        </td>
252
                                        <td>
252
                                        <td>
253
                                            [% IF readonly %]
253
                                            [% IF readonly %]
Lines 275-290 Link Here
275
                                                    <input type="checkbox" name="encumber_open" id="encumber_[% adjustment.adjustment_id | html %]"  value="[% adjustment.adjustment_id | html %]" />
275
                                                    <input type="checkbox" name="encumber_open" id="encumber_[% adjustment.adjustment_id | html %]"  value="[% adjustment.adjustment_id | html %]" />
276
                                                [% END %]
276
                                                [% END %]
277
                                            </td>
277
                                            </td>
278
                                        [% END %]
278
                                        [% END # /IF adjustment.encumber_open  %]
279
                                        [% UNLESS readonly %]
279
                                        [% UNLESS readonly %]
280
                                            <td>
280
                                            <td>
281
                                                <a class="btn btn-default btn-xs delete_adjustment" href="/cgi-bin/koha/acqui/invoice.pl?op=del_adj&adjustment_id=[% adjustment.adjustment_id | html %]&invoiceid=[% invoiceid | html %]"><i class="fa fa-trash"></i> Delete</a>
281
                                                <a class="btn btn-default btn-xs delete_adjustment" href="/cgi-bin/koha/acqui/invoice.pl?op=del_adj&adjustment_id=[% adjustment.adjustment_id | html %]&invoiceid=[% invoiceid | html %]"><i class="fa fa-trash"></i> Delete</a>
282
                                            </td>
282
                                            </td>
283
                                        [% END %]
283
                                        [% END %]
284
                                    </tr>
284
                                    </tr>
285
                                [% END %]
285
                                [% END # /FOREACH adjustment %]
286
                            </table>
286
                            </table> <!-- /#invoice_adj_table -->
287
                        [% END %]
287
                        [% END # /IF adjustments %]
288
288
289
                        [% UNLESS readonly %]
289
                        [% UNLESS readonly %]
290
                            <p>
290
                            <p>
Lines 318-324 Link Here
318
                                            <span>None</span>
318
                                            <span>None</span>
319
                                            <div class="hint">Define values in authorised value category ADJ_REASON to enable</div>
319
                                            <div class="hint">Define values in authorised value category ADJ_REASON to enable</div>
320
                                        </li>
320
                                        </li>
321
                                    [% END %]
321
                                    [% END # /IF reasons.0 %]
322
                                    <li>
322
                                    <li>
323
                                        <label for="note_new">Note: </label>
323
                                        <label for="note_new">Note: </label>
324
                                        <input type="text" name="note" id="note_new" value=""/>
324
                                        <input type="text" name="note" id="note_new" value=""/>
Lines 336-347 Link Here
336
                                        <a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment" style="display:none"><i class="fa fa-remove"></i> Cancel</a>
336
                                        <a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment" style="display:none"><i class="fa fa-remove"></i> Cancel</a>
337
                                    </li>
337
                                    </li>
338
                                </ol>
338
                                </ol>
339
                            </fieldset>
339
                            </fieldset> <!-- /#add_invoice_adjustment -->
340
                            <fieldset class="action">
340
                            <fieldset class="action">
341
                                <input type="hidden" name="op" value="mod_adj" />
341
                                <input type="hidden" name="op" value="mod_adj" />
342
                                <input type="submit" class="btn btn-primary" value="Update adjustments" />
342
                                <input type="submit" class="btn btn-primary" value="Update adjustments" />
343
                            </fieldset>
343
                            </fieldset>
344
                        [% END %]
344
                        [% END #/UNLESS readonly %]
345
                    </fieldset>
345
                    </fieldset>
346
                </form>
346
                </form>
347
347
Lines 428-434 Link Here
428
                                            <a href="#" class="modify_fund" data-order_id="[% order.ordernumber | html %]" data-budget_id="[% order.budget_id | html %]" data-sort_1="[% order.sort1 | html %]" data-sort_2="[% order.sort2 | html %]" data-sort1="[% order.sort1 | html %]" data-sort2="[% order.sort2 | html %]">Modify fund</a>
428
                                            <a href="#" class="modify_fund" data-order_id="[% order.ordernumber | html %]" data-budget_id="[% order.budget_id | html %]" data-sort_1="[% order.sort1 | html %]" data-sort_2="[% order.sort2 | html %]" data-sort1="[% order.sort1 | html %]" data-sort2="[% order.sort2 | html %]">Modify fund</a>
429
                                        </td>
429
                                        </td>
430
                                    </tr>
430
                                    </tr>
431
                                [% END %]
431
                                [% END # /FOREACH order %]
432
                            </tbody>
432
                            </tbody>
433
                            <tfoot>
433
                            <tfoot>
434
                                [% FOR tf IN foot_loop %]
434
                                [% FOR tf IN foot_loop %]
Lines 444-450 Link Here
444
                                        <th>[% tf.tax_value | $Price %]</th>
444
                                        <th>[% tf.tax_value | $Price %]</th>
445
                                        <th>&nbsp;</th>
445
                                        <th>&nbsp;</th>
446
                                    </tr>
446
                                    </tr>
447
                                [% END %]
447
                                [% END # /FOR tf %]
448
                                <tr>
448
                                <tr>
449
                                    <th colspan="2">Total ([% currency.symbol | html %])</th>
449
                                    <th colspan="2">Total ([% currency.symbol | html %])</th>
450
                                    <th class="tax_excluded"></th>
450
                                    <th class="tax_excluded"></th>
Lines 470-476 Link Here
470
                                    <th>&nbsp;</th>
470
                                    <th>&nbsp;</th>
471
                                </tr>
471
                                </tr>
472
                            </tfoot>
472
                            </tfoot>
473
                        </table>
473
                        </table> <!-- /#orderst -->
474
                    [% ELSE %]
474
                    [% ELSE %]
475
                        <div class="dialog message">
475
                        <div class="dialog message">
476
                            <p>No orders yet</p>
476
                            <p>No orders yet</p>
Lines 478-484 Link Here
478
                                <p>Adjustments plus shipping: [% total_adj + shipmentcost | $Price %]</p>
478
                                <p>Adjustments plus shipping: [% total_adj + shipmentcost | $Price %]</p>
479
                            [% END %]
479
                            [% END %]
480
                        </div>
480
                        </div>
481
                    [% END %]
481
                    [% END # /IF orders_loop.size %]
482
                    [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
482
                    [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]
483
                        <br />
483
                        <br />
484
                        <h2>Files attached to invoice</h2>
484
                        <h2>Files attached to invoice</h2>
Lines 505-512 Link Here
505
                                    </tr>
505
                                    </tr>
506
                                [% END %]
506
                                [% END %]
507
                            </tbody>
507
                            </tbody>
508
                        </table>
508
                        </table> <!-- /#invoice_files_table -->
509
                    [% END %]
509
                    [% END # /IF AcqEnableFiles %]
510
                </fieldset>
510
                </fieldset>
511
            </main>
511
            </main>
512
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
512
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
513
- 

Return to bug 32743