<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Basket grouping for Vendor <!-- TMPL_VAR name="booksellername" --></title>
+<title>Koha › Basket Grouping for <!-- TMPL_VAR name="booksellername" --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="yuipath" -->/fonts/fonts-min.css" />
YAHOO.util.Event.onDOMReady(DDApp.init, DDApp, true);
var tabView = new YAHOO.widget.TabView('bgtabs');
//]]>
+
+
+function submitForm(form) {
+ if (form.close.checked == true) {
+ var input = document.createElement("input");
+ input.setAttribute("type", "hidden");
+ input.setAttribute("name", "closed");
+ input.setAttribute("value", "1");
+ form.appendChild(input);
+ }
+}
+
</script>
</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> › Basket grouping for vendor: <!-- TMPL_VAR NAME="booksellername" --></div>
+<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> › Basket Grouping</div>
<div id="doc" class="yui-t7">
</script>
<a href="?op=add&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->" name="newbasketgroup" id="newbasketgroup">New Basket Group</a>
</div>
- <h1>Basket grouping for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR name="booksellername" --></a></h1>
+ <h1>Basket Grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR name="booksellername" --></a></h1>
</div>
<!-- TMPL_IF NAME="grouping" -->
<div id="bd">
- <div class="yui-gc">
- <div class="yui-u first">
+ <div class="yui-g">
+ <div class="yui-u grouping">
<form action="<!-- TMPL_VAR name="scriptname" -->" method="post" name="basketgroups" id="basketgroups">
<div id="groups">
</div>
- <div class="yui-u grouping">
- <form action="" method="post">
+ <div class="yui-u first">
+ <form action="" method="post" id="groupingform" onsubmit="return submitForm(this)">
<fieldset id="various" class='various' >
- <h3><label for="basketgroupname">Basketgroup Name:</label></h3>
+ <h3><label for="basketgroupname">Basket Group Name:</label></h3>
<input type="text" name="basketgroupname" id="basketgroupname" value="<!-- TMPL_VAR NAME="name" -->" />
<h3><label for="billingplace">Billing Place:</label></h3>
<select name="billingplace" id="billingplace">
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
+ <p>or</p>
+ <h3><label for="freedeliveryplace">Delivery Place:</label></h3>
+ <textarea cols="26" name="freedeliveryplace" id="freedeliveryplace"><!-- TMPL_VAR NAME="freedeliveryplace" --></textarea>
<h3><label for="deliverycomment">Delivery comment:</label></h3>
<textarea cols="26" name="deliverycomment" id="deliverycomment"><!-- TMPL_VAR NAME="deliverycomment" --></textarea>
<div class="workarea">
- <h3>Grouping</h3>
+ <h3>Grouping:</h3>
<ul class="draglist" id="bg">
<!-- TMPL_LOOP NAME="selectedbaskets" -->
<li class="grouped" id="b-<!-- TMPL_VAR NAME="basketno" -->" >
</ul>
</div>
- <div><input type="checkbox" name="close">Close</input></div>
+ <div><input type="checkbox" name="close"> Close</input></div>
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->" />
<!-- TMPL_IF NAME="basketgroupid" -->
<input type="hidden" name="basketgroupid" value="<!-- TMPL_VAR name="basketgroupid" -->" />
<div class="yui-g">
<div id="bgtabs" class="yui-navset">
<ul class="yui-nav">
- <li class="selected"><a href="#opened"><em>Opened</em></a></li>
- <li><a href="#closed"><em>Closed</em></a></li>
+ <li<!-- TMPL_UNLESS NAME="closed" --> class="selected"<!-- /TMPL_UNLESS -->><a href="#opened"><em>Opened</em></a></li>
+ <li<!-- TMPL_IF NAME="closed" --> class="selected"<!-- /TMPL_IF -->><a href="#closed"><em>Closed</em></a></li>
</ul>
<div class="yui-content">
<div id="opened">