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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tmpl (-16 / +45 lines)
Lines 1-11 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<title>Koha &rsaquo; Acquisitions &rsaquo; Basket <!-- TMPL_VAR NAME="basketno" --> &rsaquo; Duplicate warning</title>
2
<title>Koha &rsaquo; Acquisitions &rsaquo; Basket <!-- TMPL_VAR NAME="basketno" --> &rsaquo; Duplicate warning</title>
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
6
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/additem.js"></script>
7
<script type="text/javascript">
8
</script>
9
</head>
4
</head>
10
<body>
5
<body>
11
6
Lines 20-38 Link Here
20
    <div id="yui-main">
15
    <div id="yui-main">
21
    <div class="yui-b">
16
    <div class="yui-b">
22
17
23
<h2>Duplicate warning</h2>
18
<div class="dialog alert">
19
<h4>Duplicate warning</h4>
20
<p>You selected a record from an external source that matches an existing record in your catalog: <!-- TMPL_IF name="BiblioDefaultViewmarc" --><a class="popup" target="_blank" title="Open in new window" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
21
<!-- TMPL_ELSIF NAME="BiblioDefaultViewlabeled_marc" --><a class="popup" target="_blank" title="Open in new window" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
22
<!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" --><a class="popup" target="_blank" title="Open in new window" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
23
<!-- TMPL_ELSE --><a class="popup" target="_blank" title="Open in new window" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="duplicatetitle" --></a></p>
24
</div>
24
25
25
<p>You selected a record from an external source that matches an existing record in your catalog!</p>
26
<div class="yui-gb">
26
<p>Click Use Existing if you do not want to create a duplicate record, but you want to add an order from the existing record in your catalog. Click Create New if you still want to create a new record by importing the external (duplicate) record. Click Cancel to return to the basket without making a new order.</p>
27
<div class="yui-u first">
27
<p>The existing catalog record can be viewed in a new window by clicking <a target="_blank" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="duplicatetitle" --></a>
28
<div style="border: 1px solid #DDD; padding:1em;">
29
<form action="/cgi-bin/koha/acqui/neworderempty.pl">
30
<h4>Use existing record</h4>
31
<p>Do not create a duplicate record. Add an order from the existing record in your catalog.</p>
32
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
33
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
34
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
35
<input type="submit" value="Use Existing" />
36
</form>
37
</div>
38
</div>
28
39
29
<form action="/cgi-bin/koha/acqui/addorder.pl" method="post" id="Aform">
40
<div class="yui-u">
30
    <fieldset class="action">
41
<div style="border: 1px solid #DDD; padding:1em;">
31
        <input type="button" value="Use Existing" onclick="window.location='/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'" />
42
<form action="/cgi-bin/koha/acqui/basket.pl">
32
        <input type="button" value="Create New" onclick="window.location='/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&breedingid=<!-- TMPL_VAR NAME="breedingid" -->&use_external_source=1'" />
43
<h4>Cancel and return to order</h4>
33
        <input type="button" value="Cancel" onclick="window.location='/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->'" />
44
<p>Return to the basket without making a new order.</p>
34
    </fieldset>
45
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
46
<input type="submit" value="Cancel" />
35
</form>
47
</form>
48
</div>
49
</div>
50
51
<div class="yui-u">
52
<div style="border: 1px solid #DDD; padding:1em;">
53
<form action="/cgi-bin/koha/acqui/neworderempty.pl">
54
<h4>Crete new record</h4>
55
<p>Create a new record by importing the external (duplicate) record.</p>
56
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
57
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
58
<input type="hidden" name="breedingid" value="<!-- TMPL_VAR NAME="breedingid" -->" />
59
<input type="hidden" name="use_external_source" value="1" />
60
<input type="submit" value="Create New" />
61
</form>
62
</div>
63
</div>
64
65
</div>
36
66
37
</div>
67
</div>
38
</div>
68
</div>
39
- 

Return to bug 5804