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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-3 / +3 lines)
Lines 11-23 Link Here
11
	<p class="tip">Search orders:</p>
11
	<p class="tip">Search orders:</p>
12
	
12
	
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
14
		<label for="title">Title: </label><input type="text" id="title" name="title" size="15" value="[% title %]" /> <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name %]" />
14
		<label for="title">Title: </label><input type="text" id="title" name="title" size="15" value="[% title %]" /> <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
15
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" onclick="$('#filters').toggle();$('.filteraction').hide();">[-]</a></span>
15
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" onclick="$('#filters').toggle();$('.filteraction').hide();">[-]</a></span>
16
        <span class="filteraction" id="filteraction_on"> <a href="#" onclick="$('#filters').show();$('.filteraction').toggle();">[+]</a></span>
16
        <span class="filteraction" id="filteraction_on"> <a href="#" onclick="$('#filters').show();$('.filteraction').toggle();">[+]</a></span>
17
	<input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced Search</a>
17
	<input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced Search</a>
18
    <p id="filters" style="display:none">
18
    <p id="filters" style="display:none">
19
      <label for="basket">Basket: </label><input type="text" name="basket" id="basket">
19
      <label for="basket">Basket: </label><input type="text" name="basket" id="basket" />
20
      <label for="booksellerinvoicenumber">Invoice No.: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber">
20
      <label for="booksellerinvoicenumber">Invoice No.: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
21
    </p>
21
    </p>
22
	</form>
22
	</form>
23
	</div>	
23
	</div>	
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-13 / +5 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname %] ([% basketno %]) for [% name %]</title>
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% UNLESS ( closedate ) %]
4
[% UNLESS ( closedate ) %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
Lines 13-32 Link Here
13
            }
13
            }
14
        });
14
        });
15
    });
15
    });
16
//]]>
17
</script>
18
<script type="text/javascript">
19
//<![CDATA[
20
            function confirm_close() {
16
            function confirm_close() {
21
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
17
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
22
                if (is_confirmed) {
18
                if (is_confirmed) {
23
                    window.location = "[% script_name %]?op=close&basketno=[% basketno %]";
19
                    window.location = "[% script_name %]?op=close&basketno=[% basketno %]";
24
                }
20
                }
25
            }
21
            }
26
//]]>
22
27
        </script>
28
<script type="text/javascript">
29
//<![CDATA[
30
            function confirm_deletion() {
23
            function confirm_deletion() {
31
                var is_confirmed = confirm(_('Are you sure you want to delete this basket?'));
24
                var is_confirmed = confirm(_('Are you sure you want to delete this basket?'));
32
                if (is_confirmed) {
25
                if (is_confirmed) {
Lines 72-78 Link Here
72
[% INCLUDE 'acquisitions-search.inc' %]
65
[% INCLUDE 'acquisitions-search.inc' %]
73
66
74
67
75
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]">[% name %]</a> &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname %] ([% basketno %]) for [% name %]</div>
68
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]">[% name|html %]</a> &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</div>
76
69
77
<div id="doc3" class="yui-t2">
70
<div id="doc3" class="yui-t2">
78
71
Lines 148-154 Link Here
148
            <h3>Basket deleted</h3>
141
            <h3>Basket deleted</h3>
149
            <META HTTP-EQUIV=Refresh CONTENT="0; url=booksellers.pl">
142
            <META HTTP-EQUIV=Refresh CONTENT="0; url=booksellers.pl">
150
        [% ELSE %]
143
        [% ELSE %]
151
        <h1>[% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname %] ([% basketno %]) for <a href="supplier.pl?supplierid=[% booksellerid %]">[% name %]</a></h1>
144
        <h1>[% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for <a href="supplier.pl?supplierid=[% booksellerid %]">[% name|html %]</a></h1>
152
        [% IF ( delete_confirm ) %]
145
        [% IF ( delete_confirm ) %]
153
            <h2>
146
            <h2>
154
            <span class="yui-button yui-link-button">
147
            <span class="yui-button yui-link-button">
Lines 333-339 Link Here
333
        <div id="closebasket_needsconfirmation" class="dialog alert">
326
        <div id="closebasket_needsconfirmation" class="dialog alert">
334
327
335
        <form action="/cgi-bin/koha/acqui/basket.pl" class="confirm">
328
        <form action="/cgi-bin/koha/acqui/basket.pl" class="confirm">
336
            <h1>Are you sure you want to close basket [% basketname %]?</h1>
329
            <h1>Are you sure you want to close basket [% basketname|html %]?</h1>
337
            <p>
330
            <p>
338
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
331
            <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
339
            <input type="checkbox" id="createbasketgroup" name="createbasketgroup"/>
332
            <input type="checkbox" id="createbasketgroup" name="createbasketgroup"/>
340
- 

Return to bug 2847