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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-2 / +12 lines)
Lines 115-120 Link Here
115
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
115
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
116
[% IF ( enter ) %]
116
[% IF ( enter ) %]
117
    <form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post">
117
    <form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post">
118
        <div id="toolbar" class="btn-toolbar">
119
            <button class="btn btn-default btn-sm" type="submit"><i class="fa fa-save"></i> Save</button>
120
            [% IF ( booksellerid ) %]
121
                <a class="btn btn-default btn-sm cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">
122
            [% ELSE %]
123
                <a class="btn btn-default btn-sm cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
124
            [% END %] <i class="fa fa-remove"></i> Cancel</a>
125
        </div>
126
    <div class="yui-g">
118
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
127
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
119
        <fieldset class="rows">
128
        <fieldset class="rows">
120
            <legend>Company details</legend>
129
            <legend>Company details</legend>
Lines 242-247 Link Here
242
        <fieldset class="action"><input type="submit" value="Save" /> [% IF ( booksellerid ) %]
251
        <fieldset class="action"><input type="submit" value="Save" /> [% IF ( booksellerid ) %]
243
        <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
252
        <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
244
        [% END %]Cancel</a></fieldset>
253
        [% END %]Cancel</a></fieldset>
254
        </div>
245
    </form>
255
    </form>
246
[% ELSE %]
256
[% ELSE %]
247
    <h1>[% name | html %]</h1>
257
    <h1>[% name | html %]</h1>
Lines 351-359 Link Here
351
    </aside>
361
    </aside>
352
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
362
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
353
</div> <!-- /.row -->
363
</div> <!-- /.row -->
354
355
[% MACRO jsinclude BLOCK %]
364
[% MACRO jsinclude BLOCK %]
356
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
365
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
366
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") | $raw %]
357
    [% INCLUDE 'datatables.inc' %]
367
    [% INCLUDE 'datatables.inc' %]
358
    <script>
368
    <script>
359
        function confirm_deletion() {
369
        function confirm_deletion() {
Lines 424-429 Link Here
424
            $('body').on('click', '.contact_claimissues', null, function () {
434
            $('body').on('click', '.contact_claimissues', null, function () {
425
                $(this).next('.contact_claimissues_hidden').val($(this).is(':checked') ? '1' : '0');
435
                $(this).next('.contact_claimissues_hidden').val($(this).is(':checked') ? '1' : '0');
426
            });
436
            });
437
            $('#toolbar').fixFloat();
427
        });
438
        });
428
    </script>
439
    </script>
429
[% END %]
440
[% END %]
430
- 

Return to bug 20534