Fix for Bug 5804 - duplicate warning when ordering needs design work
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
02d15007df
commit
07cef41c73
1 changed files with 46 additions and 16 deletions
|
@ -1,11 +1,6 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
||||
<title>Koha › Acquisitions › Basket <!-- TMPL_VAR NAME="basketno" --> › Duplicate warning</title>
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/additem.js"></script>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -20,19 +15,54 @@
|
|||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
|
||||
<h2>Duplicate warning</h2>
|
||||
<div class="dialog alert">
|
||||
<h4>Duplicate warning</h4>
|
||||
<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" -->">
|
||||
<!-- 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" -->">
|
||||
<!-- 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" -->">
|
||||
<!-- 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>
|
||||
</div>
|
||||
|
||||
<p>You selected a record from an external source that matches an existing record in your catalog!</p>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<form action="/cgi-bin/koha/acqui/addorder.pl" method="post" id="Aform">
|
||||
<fieldset class="action">
|
||||
<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" -->'" />
|
||||
<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'" />
|
||||
<input type="button" value="Cancel" onclick="window.location='/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->'" />
|
||||
</fieldset>
|
||||
<div class="yui-gb">
|
||||
<div class="yui-u first">
|
||||
<div style="border: 1px solid #DDD; padding:1em;">
|
||||
<form action="/cgi-bin/koha/acqui/neworderempty.pl">
|
||||
<h4>Use existing record</h4>
|
||||
<p>Do not create a duplicate record. Add an order from the existing record in your catalog.</p>
|
||||
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
|
||||
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
||||
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
||||
<input type="submit" value="Use Existing" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="yui-u">
|
||||
<div style="border: 1px solid #DDD; padding:1em;">
|
||||
<form action="/cgi-bin/koha/acqui/basket.pl">
|
||||
<h4>Cancel and return to order</h4>
|
||||
<p>Return to the basket without making a new order.</p>
|
||||
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
||||
<input type="submit" value="Cancel" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="yui-u">
|
||||
<div style="border: 1px solid #DDD; padding:1em;">
|
||||
<form action="/cgi-bin/koha/acqui/neworderempty.pl">
|
||||
<h4>Crete new record</h4>
|
||||
<p>Create a new record by importing the external (duplicate) record.</p>
|
||||
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
|
||||
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
||||
<input type="hidden" name="breedingid" value="<!-- TMPL_VAR NAME="breedingid" -->" />
|
||||
<input type="hidden" name="use_external_source" value="1" />
|
||||
<input type="submit" value="Create New" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue