[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/bull cl... [rel_2_2]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/bull cl... [rel_2_2] |
Date: |
Mon, 07 May 2007 08:52:09 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Antoine Farnault <toins> 07/05/07 08:52:09
Added files:
koha-tmpl/intranet-tmpl/default/en/bull: claims.tmpl
member-search.tmpl
routing-preview-slip.tmpl
routing-preview.tmpl
routing.tmpl
Log message:
new templates from npl.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/claims.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/member-search.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/routing-preview-slip.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/routing-preview.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bull/routing.tmpl?cvsroot=koha&only_with_tag=rel_2_2&rev=1.1.2.1
Patches:
Index: claims.tmpl
===================================================================
RCS file: claims.tmpl
diff -N claims.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ claims.tmpl 7 May 2007 08:52:09 -0000 1.1.2.1
@@ -0,0 +1,153 @@
+<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="mainbloc">
+
+<!-- TMPL_UNLESS NAME="preview" -->
+ <h1>Claims</h1>
+
+ <p>
+ <form action="claims.pl" method="post">
+ <input type="hidden" name="claimletter" value="<!-- TMPL_VAR
NAME="claimletter"-->">
+ <!-- TMPL_VAR name="CGIsupplier" -->
+ <input type="submit" value="Filter by Supplier" class="button bull">
+ </form>
+ </p>
+<!--
+ <p>
+ <form action="claims.pl" method="post">
+ <input type="hidden" name="supplierid" value="<!-- TMPL_VAR
NAME="supplierid"-->">
+ <!-- TMPL_VAR name="CGIletter" -->
+ <input type="submit" value="Choose Claim Form" class="button bull">
+ </form>
+ </p> -->
+
+<form method="post" action="lateissues-excel.pl">
+<input type="hidden" name="op" value="claims" />
+
+ <!-- TMPL_IF NAME="missingissues" -->
+ <h3>Missing Issues</h3>
+ <table cellpadding="0" cellspacing="0" border="0"
class="collapse">
+ <tr>
+ <th class="cell-header"> </th>
+ <th class="cell-header">Supplier</th>
+ <th class="cell-header">Title</th>
+ <th class="cell-header">Issue number</th>
+ <th class="cell-header">Missing since</th>
+ <th class="cell-header">Began Claim</th>
+ <th class="cell-header"> </th>
+ </tr>
+ <!-- TMPL_LOOP name="missingissues" -->
+ <tr>
+ <td class="cell">
+ <input type="checkbox" name="serialid"
value="<!-- TMPL_VAR NAME="serialid"-->">
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="claimdate" -->
+ </td>
+ <td class="cell">
+ <a
href="lateissues-excel.pl?supplierid=<!--TMPL_VAR
NAME="supplierid"-->&serialid=<!-- TMPL_VAR name="serialid"
-->&op=claims" class="button bull">Export Item Data</a>
+ <!--
+ <a href="claims.pl?serialid=<!--
TMPL_VAR name="serialid" -->&supplierid=<!-- TMPL_VAR name="supplierid"
-->&op=preview" onclick="popup(<!-- TMPL_VAR name="supplierid" -->,<!--
TMPL_VAR name="serialid" -->); return false">Claim Letter</a> -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <p>There are no missing issues to claim</p>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF Name="singlesupplier"-->
+<input type="hidden" name="supplierid" value="<!--TMPL_VAR
NAME="supplierid"-->" />
+
+ <!--
+ <a href="claims.pl?supplierid=<!-- TMPL_VAR name="supplierid"
-->&op=preview" onclick="popup(<!-- TMPL_VAR name="supplierid" -->,'');
return false" class="bull button">Supplier Group Claim Letter</a></p> -->
+ <!-- /TMPL_IF -->
+<p><br/>
+ <input type="submit" name="submit" class="button bull"
value="Export Selected Data" />
+
+</form>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF Name="supplierloop"-->
+ <!-- TMPL_LOOP Name="supplierloop"-->
+ <!-- TMPL_IF NAME="name" -->
+ <p><b><!-- TMPL_VAR NAME="name" --></b><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="postal" -->
+ <!-- TMPL_VAR NAME="postal" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contphone" -->
+ Ph: <!-- TMPL_VAR NAME="contphone" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contfax" -->
+ Fax: <!-- TMPL_VAR NAME="contfax" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contemail" -->
+ Email: <!-- TMPL_VAR NAME="contemail" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="accountnumber" -->
+ A/C: <!-- TMPL_VAR NAME="accountnumber"></p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contact" -->
+ <p>Dear <!-- TMPL_VAR NAME="contact" --></p>
+ <!-- TMPL_ELSE -->
+ <p>To whom it may concern</p>
+ <!-- /TMPL_IF -->
+ <p>The following items have not been received from you and are
now considered missing:</p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="missingissues" -->
+ <h3 class="bull">Missing Issues</h3>
+ <table cellpadding="0" cellspacing="4" border="0" width="550"
class="collapse">
+ <tr>
+ <td class="cell"><b>Supplier<b></td>
+ <td class="cell"><b>Title</b></td>
+ <td class="cell"><b>Issue number</b></td>
+ <td class="cell"><b>Missing since</b></td>
+ </tr>
+ <!-- TMPL_LOOP name="missingissues" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- /TMPL_IF -->
+<br />
+<p class="noprint"><a href="javascript:window.print()"
class="button">Print</a> <a href="javascript:window.close()"
class="button">Close</a></p>
+<!-- /TMPL_UNLESS -->
+
+</div>
+<script type="text/javascript">
+<!--
+
+function popup(supplierid,serialid){
+ window.open('claims.pl?supplierid='+ supplierid +'&serialid='+
serialid +'&op=preview' ,'popup',
'width=600,height=400,toolbar=no,scrollbars=yes');
+}
+//-->
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
+
+
+
Index: member-search.tmpl
===================================================================
RCS file: member-search.tmpl
diff -N member-search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ member-search.tmpl 7 May 2007 08:52:09 -0000 1.1.2.1
@@ -0,0 +1,44 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<script type="text/javascript">
+<!--
+
+function add_member(subscriptionid,bornum){
+ var myurl =
"routing.pl?subscriptionid="+subscriptionid+"&bornum="+bornum+"&op=add";
+ window.opener.location.href = myurl;
+}
+
+//-->
+</script>
+
+<div class="popup-block">
+<h1 class="bull">Member Search</h1>
+
+<p>
+<form name="search" action="/cgi-bin/koha/bull/member-search.pl" method="post">
+<input type="text" name="member" size="30" />
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->">
+<input type="submit" class="button" value="Search" />
+</form>
+</p>
+<!-- TMPL_IF NAME="memberloop" -->
+<table cellspacing="0" cellpadding="0" border="0" width="480" class="collapse">
+<tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td>
+ <td class="cell-header">Add</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+<tr><td class="cell"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR
NAME="surname" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="streetaddress" --></td>
+ <td class="cell"><a onclick="add_member(<!-- TMPL_VAR
NAME="subscriptionid" -->,<!-- TMPL_VAR NAME="borrowernumber" -->); return
false" href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber"
-->&op=add">Add</a></td></tr>
+<!-- /TMPL_LOOP -->
+ </table></td></tr>
+</table>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF NAME="member" -->
+ <p>No results found</p>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+<br />
+<p><a href="javascript:self.close()" class="button">Close</a></p>
+</div>
+
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: routing-preview-slip.tmpl
===================================================================
RCS file: routing-preview-slip.tmpl
diff -N routing-preview-slip.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing-preview-slip.tmpl 7 May 2007 08:52:09 -0000 1.1.2.1
@@ -0,0 +1,21 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+
+<div id="slip-block">
+<table cellspacing="0" cellpadding="0" border="0" class="collapse routingslip">
+<tr><td class="cell" colspan="3"><h3>Opus International Consultants -
Information Centre</h3></td></tr>
+<tr><td class="cell" colspan="3"><b>Title:</b> <!-- TMPL_VAR NAME="title"
--><br />
+<!-- TMPL_VAR NAME="issue" --></td></tr>
+<tr><td class="cell"><b>Name/Location</b></td>
+ <td class="cell"><b>Date Due</b></td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="name"><b><!-- TMPL_VAR NAME="name" --></b> <!--
TMPL_VAR NAME="location" --></td>
+ <td class="date"> </td></tr>
+<!-- /TMPL_LOOP -->
+</table>
+<p><b>Notes:</b> <!-- TMPL_VAR NAME="routingnotes" --></p>
+ <div id="slip-block-links">
+ <a class="button" href="javascript:window.print();self.close()">Print</a>
<a class="button" href="javascript:self.close()">Close</a>
+ </div>
+</div>
+
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: routing-preview.tmpl
===================================================================
RCS file: routing-preview.tmpl
diff -N routing-preview.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing-preview.tmpl 7 May 2007 08:52:09 -0000 1.1.2.1
@@ -0,0 +1,42 @@
+<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
+
+<div id="mainbloc">
+<h1 class="bull">Preview Routing List</h1>
+
+<form method="post" action="routing-preview.pl">
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->" />
+<p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
+<p><b>Issue:</b> <!-- TMPL_VAR NAME="issue" --></p>
+
+<table border="0" cellspacing="0" cellpadding="0">
+<tr valign="top"><td style="padding-top: 5px;"><b>List Member:</b> </td>
+ <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="location" --></td></tr>
+<!-- /TMPL_LOOP -->
+ </table></td></tr>
+<tr valign="top"><td colspan="2"> </td></tr>
+<tr valign="top"><td><b>Notes:</b></td>
+ <td><!-- TMPL_VAR NAME="routingnotes" --></td></tr>
+</table>
+<p>
+<input type="submit" name="ok" class="button" value="OK, Preview Routing Slip"
onclick="print_slip(<!-- TMPL_VAR NAME="subscriptionid" -->,'<!-- TMPL_VAR
NAME="issue" -->'); return false" />
+<input type="submit" name="edit" class="button" value="Edit" />
+<input type="submit" name="delete" class="button" value="Delete" /></p>
+</form>
+</div>
+
+<script type="text/javascript">
+<!--
+
+function print_slip(subscriptionid,issue){
+ var myurl =
'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue;
+window.open(myurl,'PrintSlip','width=400,height=500,toolbar=no,scrollbars=yes');
+ window.location.href='../bull-home.pl';
+}
+//-->
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: routing.tmpl
===================================================================
RCS file: routing.tmpl
diff -N routing.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing.tmpl 7 May 2007 08:52:09 -0000 1.1.2.1
@@ -0,0 +1,73 @@
+<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
+
+<script language="javascript" type="text/javascript">
+<!--
+
+function reorder_item(sid,rid,rank){
+ var mylocation =
'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank;
+ window.location.href=mylocation;
+}
+//-->
+</script>
+
+<div id="mainbloc">
+<!-- TMPL_IF NAME="op" -->
+<h1 class="bull">Create Routing List</h1>
+<!-- TMPL_ELSE -->
+<h1 class="bull">Edit Routing List</h1>
+<!-- /TMPL_IF -->
+
+<form method="post" action="routing.pl">
+<input type="hidden" name="op" value="save" />
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->" />
+<p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
+<p><b>Issue:</b>
+
+<select name="date_selected">
+<!-- TMPL_LOOP NAME="dates" -->
+<option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR
NAME="planneddate" -->)" <!-- TMPL_IF NAME="selected" --> selected="SELECTED"
<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR
NAME="planneddate" -->)</option>
+<!-- /TMPL_LOOP -->
+</select>
+
+
+<!-- TMPL_VAR NAME="issue" --></p>
+
+<!-- TMPL_IF NAME="memberloop" -->
+<table border="0" cellspacing="0" cellpadding="0">
+<tr valign="top"><td style="padding-top:5px;"><b>List Member:</b> </td>
+ <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td>
+ <td class="cell-header">Rank</td>
+ <td class="cell-header">Delete</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="location" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="routingbox" --></td>
+ <td class="cell"><a
href="/cgi-bin/koha/bull/routing.pl?routingid=<!-- TMPL_VAR NAME="routingid"
-->&subscriptionid=<!-- TMPL_VAR NAME="subscriptionid"
-->&op=delete">Delete</a></td></tr>
+<!-- /TMPL_LOOP -->
+ <tr><td colspan="4"><br /><a onclick="search_member(<!-- TMPL_VAR
NAME="subscriptionid" -->); return false"
href="/cgi-bin/koha/bull/member-search.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->" class="button bull">Add List Member</a> <a
href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->&op=delete" class="button bull">Delete
All</a></td></tr>
+ </table></td></tr>
+
+<!-- TMPL_ELSE -->
+<table border="0" cellspacing="0" cellpadding="0">
+<tr><td><b>List Member: </b></td>
+ <td><p><a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid" -->);
return false" href="/cgi-bin/koha/bull/member-search.pl?subscriptionid=<!--
TMPL_VAR NAME="subscriptionid" -->" class="button bull">Add List
Member</a></p></td></tr>
+<!-- /TMPL_IF -->
+<tr><td valign="top" colspan="2"> </td></tr>
+<tr><td valign="top"><b>Notes:</b></td>
+ <td><textarea name="notes" rows="3" cols="50"><!-- TMPL_VAR
NAME="routingnotes" --></textarea></td></tr>
+<tr><td></td>
+ <td><input type="submit" name="submit" class="button" value="Save"
/></td></tr>
+</table>
+</form>
+</div>
+<script type="text/javascript">
+<!--
+
+function search_member(subscriptionid){
+ var myurl = 'member-search.pl?subscriptionid='+subscriptionid;
window.open(myurl,'FindAMember','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+//-->
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/bull cl... [rel_2_2],
Antoine Farnault <=