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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-24 / +25 lines)
Lines 353-366 Link Here
353
                                        </td>
353
                                        </td>
354
                                        <td>
354
                                        <td>
355
                                            <p>[% order.branchcode | html %]</p>
355
                                            <p>[% order.branchcode | html %]</p>
356
                                            [% IF has_invoice_unitprice %]
357
                                                <td>
358
                                                    [% IF order.invoice_unitprice %]
359
                                                        [% order.invoice_unitprice | $Price %] [% order.invoice_currency | html %]
360
                                                    [% END %]
361
                                                </td>
362
                                            [% END %]
363
                                        </td>
356
                                        </td>
357
                                        [% IF has_invoice_unitprice %]
358
                                            <td>
359
                                                [% IF order.invoice_unitprice %]
360
                                                    [% order.invoice_unitprice | $Price %] [% order.invoice_currency | html %]
361
                                                [% END %]
362
                                            </td>
363
                                        [% END %]
364
                                        <td class="number tax_excluded">
364
                                        <td class="number tax_excluded">
365
                                            [% order.unitprice_tax_excluded | $Price %]
365
                                            [% order.unitprice_tax_excluded | $Price %]
366
                                        </td>
366
                                        </td>
Lines 389-395 Link Here
389
                                            [% order.tax_value | $Price %]
389
                                            [% order.tax_value | $Price %]
390
                                        </td>
390
                                        </td>
391
                                        <td>
391
                                        <td>
392
                                            <span class="order_name" data-order_id="[% order.ordernumber | html %]">[% order.budget_name | html %]</span></br>
392
                                            <div class="order_name" data-order_id="[% order.ordernumber | html %]">[% order.budget_name | html %]</div>
393
                                            <a href="#" class="modify_fund" data-order_id="[% order.ordernumber | html %]" data-budget_id="[% order.budget_id | html %]" data-sort1="[% order.sort1 | html %]" data-sort2="[% order.sort2 | html %]">Modify fund</a>
393
                                            <a href="#" class="modify_fund" data-order_id="[% order.ordernumber | html %]" data-budget_id="[% order.budget_id | html %]" data-sort1="[% order.sort1 | html %]" data-sort2="[% order.sort2 | html %]">Modify fund</a>
394
                                        </td>
394
                                        </td>
395
                                    </tr>
395
                                    </tr>
Lines 404-410 Link Here
404
                                        [% END %]
404
                                        [% END %]
405
                                        <th class="tax_excluded"></th>
405
                                        <th class="tax_excluded"></th>
406
                                        <th class="tax_included"></th>
406
                                        <th class="tax_included"></th>
407
                                        <th class="replacementprice"/>
407
                                        <th class="replacementprice"></th>
408
                                        <th>[% tf.quantity | html %]</th>
408
                                        <th>[% tf.quantity | html %]</th>
409
                                        <th class="tax_excluded">[% tf.total_tax_excluded | $Price %]</th>
409
                                        <th class="tax_excluded">[% tf.total_tax_excluded | $Price %]</th>
410
                                        <th class="tax_included">[% tf.total_tax_included | $Price %]</th>
410
                                        <th class="tax_included">[% tf.total_tax_included | $Price %]</th>
Lines 420-426 Link Here
420
                                    [% END %]
420
                                    [% END %]
421
                                    <th class="tax_excluded"></th>
421
                                    <th class="tax_excluded"></th>
422
                                    <th class="tax_included"></th>
422
                                    <th class="tax_included"></th>
423
                                    <th class="replacementprice"/>
423
                                    <th class="replacementprice"></th>
424
                                    <th>[% total_quantity | html %]</th>
424
                                    <th>[% total_quantity | html %]</th>
425
                                    <th class="tax_excluded">[% total_tax_excluded | $Price %]</th>
425
                                    <th class="tax_excluded">[% total_tax_excluded | $Price %]</th>
426
                                    <th class="tax_included">[% total_tax_included | $Price %]</th>
426
                                    <th class="tax_included">[% total_tax_included | $Price %]</th>
Lines 435-441 Link Here
435
                                    [% END %]
435
                                    [% END %]
436
                                    <th class="tax_excluded"></th>
436
                                    <th class="tax_excluded"></th>
437
                                    <th class="tax_included"></th>
437
                                    <th class="tax_included"></th>
438
                                    <th class="replacementprice"/>
438
                                    <th class="replacementprice"></th>
439
                                    <th>[% total_quantity | html %]</th>
439
                                    <th>[% total_quantity | html %]</th>
440
                                    <th class="tax_excluded">[% total_tax_excluded_shipment + total_adj | $Price %]</th>
440
                                    <th class="tax_excluded">[% total_tax_excluded_shipment + total_adj | $Price %]</th>
441
                                    <th class="tax_included">[% total_tax_included_shipment + total_adj | $Price %]</th>
441
                                    <th class="tax_included">[% total_tax_included_shipment + total_adj | $Price %]</th>
Lines 511-521 Link Here
511
                        </li>
511
                        </li>
512
                        <li>
512
                        <li>
513
                            <label for="sort1">Statistic 1: </label>
513
                            <label for="sort1">Statistic 1: </label>
514
                            <input type="text" name="sort1" />
514
                            <input type="text" id="sort1" name="sort1" />
515
                        </li>
515
                        </li>
516
                        <li>
516
                        <li>
517
                            <label for="sort2">Statistic 2: </label>
517
                            <label for="sort2">Statistic 2: </label>
518
                            <input type="text" name="sort2" />
518
                            <input type="text" id="sort2" name="sort2" />
519
                        </li>
519
                        </li>
520
                    </ol>
520
                    </ol>
521
                </fieldset>
521
                </fieldset>
Lines 528-543 Link Here
528
    </div> <!-- /.modal-dialog -->
528
    </div> <!-- /.modal-dialog -->
529
</div> <!-- /#updateFund.modal -->
529
</div> <!-- /#updateFund.modal -->
530
530
531
<span style="display:none;" id="all_fund_dropdown">
531
<div style="display:none;">
532
    <option value="">No fund</option>
532
    <select id="all_fund_dropdown">
533
    [% FOREACH budget IN budgets %]
533
        <option value="">No fund</option>
534
        [% IF ( budget.b_active ) %]
534
        [% FOREACH budget IN budgets %]
535
            <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
535
            [% IF ( budget.b_active ) %]
536
        [% ELSE %]
536
                <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
537
            <option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat |html %]">[% budget.b_txt | html %] (inactive)</option>
537
            [% ELSE %]
538
        [% END %]
538
                <option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat |html %]">[% budget.b_txt | html %] (inactive)</option>
539
    [% END # /FOREACH budget %]
539
            [% END %]
540
</span> <!-- /#all_fund_dropdown -->
540
        [% END # /FOREACH budget %]
541
    </select>
542
</div> <!-- /#all_fund_dropdown -->
541
543
542
[% MACRO jsinclude BLOCK %]
544
[% MACRO jsinclude BLOCK %]
543
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
545
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
544
- 

Return to bug 38701