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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-4 / +4 lines)
Lines 7-13 Link Here
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
8
9
[% BLOCK fund_dropdown %]
9
[% BLOCK fund_dropdown %]
10
    <label for="[% form_name | html %]">Shipping fund: </label>
11
    <select id="[% form_id | html %]" name="[% form_name | html %]" class="fund_dropdown" data-selected="[% selected | html %]">
10
    <select id="[% form_id | html %]" name="[% form_name | html %]" class="fund_dropdown" data-selected="[% selected | html %]">
12
    </select>
11
    </select>
13
    <label for="showallfunds" style="float:none;width:auto;">&nbsp;Show inactive:</label>
12
    <label for="showallfunds" style="float:none;width:auto;">&nbsp;Show inactive:</label>
Lines 97-102 Link Here
97
                                [% END %]
96
                                [% END %]
98
                            </li>
97
                            </li>
99
                            <li>
98
                            <li>
99
                                <label for="shipment_budget_id">Shipping fund: </label>
100
                                [% PROCESS fund_dropdown form_id => 'shipment_budget_id' form_name => 'shipment_budget_id' selected => shipment_budget_id %]
100
                                [% PROCESS fund_dropdown form_id => 'shipment_budget_id' form_name => 'shipment_budget_id' selected => shipment_budget_id %]
101
                            </li>
101
                            </li>
102
102
Lines 272-277 Link Here
272
                                        <input type="text" name="note" id="note_new" value=""/>
272
                                        <input type="text" name="note" id="note_new" value=""/>
273
                                    </li>
273
                                    </li>
274
                                    <li>
274
                                    <li>
275
                                        <label for="budget_id_new">Fund: </label>
275
                                        [% PROCESS fund_dropdown form_id => "budget_id_new" form_name => 'budget_id' selected => "" %]
276
                                        [% PROCESS fund_dropdown form_id => "budget_id_new" form_name => 'budget_id' selected => "" %]
276
                                    </li>
277
                                    </li>
277
                                    <li>
278
                                    <li>
Lines 284-290 Link Here
284
                        [% END #/UNLESS readonly %]
285
                        [% END #/UNLESS readonly %]
285
                    </fieldset>
286
                    </fieldset>
286
                    [% UNLESS readonly %]
287
                    [% UNLESS readonly %]
287
                        <fieldset class="action" id="submit_invoice_adjustment" style="display:none">
288
                        <fieldset class="action" id="submit_invoice_adjustment">
288
                            <input type="hidden" name="op" value="mod_adj" />
289
                            <input type="hidden" name="op" value="mod_adj" />
289
                            <input type="submit" class="btn btn-primary" value="Update adjustments" />
290
                            <input type="submit" class="btn btn-primary" value="Update adjustments" />
290
                            <a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment cancel" style="display:none"><i class="fa fa-times"></i> Cancel</a>
291
                            <a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment cancel" style="display:none"><i class="fa fa-times"></i> Cancel</a>
Lines 576-582 Link Here
576
            updateColumnsVisibility(false);
577
            updateColumnsVisibility(false);
577
            $(".toggle_invoice_adjustment").on("click", function(e){
578
            $(".toggle_invoice_adjustment").on("click", function(e){
578
                e.preventDefault();
579
                e.preventDefault();
579
                $("#show_invoice_adjustment, #cancel_invoice_adjustment, #add_invoice_adjustment, #submit_invoice_adjustment").toggle();
580
                $("#show_invoice_adjustment, #cancel_invoice_adjustment, #add_invoice_adjustment").toggle();
580
            });
581
            });
581
            $("a.delete_adjustment").click(function(){
582
            $("a.delete_adjustment").click(function(){
582
                return ( confirm( _("Are you sure you want to delete this file ?") ) );
583
                return ( confirm( _("Are you sure you want to delete this file ?") ) );
583
- 

Return to bug 34452