6247c38600
The "Data Recorded" page was useless, I removed it.
165 lines
5.6 KiB
Cheetah
165 lines
5.6 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha ›
|
|
<!-- TMPL_IF NAME="add_form" -->
|
|
<!-- TMPL_IF NAME="basketno" -->Edit basket '<!-- TMPL_VAR NAME="basketname" -->'
|
|
<!-- TMPL_ELSE -->add a basket to <!-- TMPL_VAR name="booksellername" -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</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">
|
|
//<![CDATA[
|
|
// to check if the data are correctly entered.
|
|
function Check(ff) {
|
|
var ok=0;
|
|
var _alertString="Form not submitted because of the following problem(s)\n";
|
|
_alertString +="-------------------------------------------------------------------\n\n";
|
|
if (!(isNotNull(ff.basketname,0))){
|
|
ok=1;
|
|
_alertString += "- name missing\n";
|
|
}
|
|
if (ok) { // if there is a problem
|
|
alert(_alertString);
|
|
return false;
|
|
}
|
|
// if all is good
|
|
ff.submit();
|
|
}
|
|
//]]>
|
|
</script>
|
|
<style type="text/css">
|
|
|
|
div.workarea { padding:10px; float:left }
|
|
|
|
ul.draglist {
|
|
position: relative;
|
|
width: 200px;
|
|
height:240px;
|
|
background: #f7f7f7;
|
|
border: 1px solid gray;
|
|
list-style: none;
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
ul.draglist li {
|
|
margin: 1px;
|
|
cursor: move;
|
|
zoom: 1;
|
|
}
|
|
|
|
ul.draglist_alt {
|
|
position: relative;
|
|
width: 200px;
|
|
list-style: none;
|
|
margin:0;
|
|
padding:0;
|
|
/*
|
|
The bottom padding provides the cushion that makes the empty
|
|
list targetable. Alternatively, we could leave the padding
|
|
off by default, adding it when we detect that the list is empty.
|
|
*/
|
|
padding-bottom:20px;
|
|
}
|
|
|
|
ul.draglist_alt li {
|
|
margin: 1px;
|
|
cursor: move;
|
|
}
|
|
|
|
|
|
li.list1 {
|
|
background-color: #D1E6EC;
|
|
border:1px solid #7EA6B2;
|
|
}
|
|
|
|
li.list2 {
|
|
background-color: #D8D4E2;
|
|
border:1px solid #6B4C86;
|
|
}
|
|
|
|
#user_actions { float: right; }
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
|
|
|
|
<div id="breadcrumbs">
|
|
<a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
|
|
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
|
|
<a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR name="booksellername" --></a> ›
|
|
<!-- TMPL_IF NAME="add_form" -->
|
|
<!-- TMPL_IF NAME="basketno" -->Edit basket '<!-- TMPL_VAR NAME="basketname" -->'
|
|
<!-- TMPL_ELSE -->add a basket to <!-- TMPL_VAR name="booksellername" -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
<div id="bd">
|
|
|
|
<div id="yui-main">
|
|
|
|
<div class="yui-b">
|
|
|
|
<!-- TMPL_IF NAME="add_form" -->
|
|
<!-- TMPL_IF name="basketno" -->
|
|
<h1>Edit basket <!-- TMPL_VAR NAME="basketname" --></h1>
|
|
<!-- TMPL_ELSE --><h1>Add a basket to <!-- TMPL_VAR name="booksellername" --></h1>
|
|
<!-- /TMPL_IF -->
|
|
<form name="Aform" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
|
|
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
|
|
<fieldset class="rows">
|
|
<ol>
|
|
<!-- TMPL_IF NAME="basketno" -->
|
|
<li>
|
|
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
|
<input type="hidden" name="is_an_edit" value="1" />
|
|
</li>
|
|
<!-- /TMPL_IF -->
|
|
<li>
|
|
<label for="basketname" class="required">Basket name</label>
|
|
<input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="<!-- TMPL_VAR NAME="basketname" -->" />
|
|
</li>
|
|
<li>
|
|
<label for="basketnote">Internal note</label>
|
|
<textarea name="basketnote" id="basketnote" rows="5" cols="40"><!-- TMPL_VAR NAME="basketnote" --></textarea>
|
|
</li>
|
|
<li>
|
|
<label for="basketbooksellernote">Vendor note</label>
|
|
<textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40"><!-- TMPL_VAR NAME="basketbooksellernote" --></textarea>
|
|
</li>
|
|
<!-- TMPL_IF NAME="contractloop" -->
|
|
<li><label for="basketcontractnumber">Contract</label>
|
|
<select id="basketcontractnumber" name="basketcontractnumber">
|
|
<option value=""></option>
|
|
<!-- TMPL_LOOP NAME="contractloop" -->
|
|
<!-- TMPL_IF NAME="selected" -->
|
|
<option value="<!-- TMPL_VAR NAME="contractnumber" -->" selected="selected"><!-- TMPL_VAR NAME="contractname" --></option>
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR NAME="contractnumber" -->"><!-- TMPL_VAR NAME="contractname" --></option>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</li>
|
|
<!-- /TMPL_IF -->
|
|
</ol>
|
|
</fieldset>
|
|
<fieldset class="action">
|
|
<input type="hidden" name="op" value="add_validate" />
|
|
<input type="button" value="Save" onclick="Check(this.form);" />
|
|
</fieldset>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|