[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/acqui supp... [rel_3_0]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/acqui supp... [rel_3_0] |
Date: |
Mon, 30 Oct 2006 09:54:21 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: paul poulain <tipaul> 06/10/30 09:54:21
Modified files:
koha-tmpl/intranet-tmpl/prog/en/acqui: supplier.tmpl
Log message:
indenting with spaces
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/acqui/supplier.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2&r2=1.2.2.1
Patches:
Index: supplier.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/acqui/supplier.tmpl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -b -r1.2 -r1.2.2.1
--- supplier.tmpl 20 Jan 2006 16:04:42 -0000 1.2
+++ supplier.tmpl 30 Oct 2006 09:54:21 -0000 1.2.2.1
@@ -2,18 +2,21 @@
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
+<!--TMPL_IF Name="enter"-->
+ <form action=updatesupplier.pl method="post">
+
+ <input type="hidden" name="id" value=<!-- TMPL_VAR NAME="id" -->>
+
<!-- TMPL_IF name="id" -->
<h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
<!-- TMPL_ELSE -->
<h1>Add supplier</h1>
<!-- /TMPL_IF -->
- <form action="updatesupplier.pl" method="post">
- <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
- <div id="acqui_supplier_company">
- <h2>COMPANY DETAILS</h2>
+ <fieldset>
+ <legend>Company details</legend>
<p>
<label>Company Name</label>
- <input type="text" size="40" name="company" value="<!--
TMPL_VAR NAME="name" -->" />
+ <input type="text" size="40" name="company" value="<!--
TMPL_VAR NAME="name" -->">
</p>
<p>
<label>Postal Address</label>
@@ -25,61 +28,60 @@
</p>
<p>
<label>Phone</label>
- <input type="text" size="20" name="company_phone"
value="<!-- TMPL_VAR NAME="phone" -->" />
+ <input type="text" size="20" name="company_phone" value="<!--
TMPL_VAR NAME="phone" -->">
</p>
<p>
<label>Fax</label>
- <input type="text" size="20" name="company_fax"
value="<!-- TMPL_VAR NAME="fax" -->" />
+ <input type="text" size="20" name="company_fax" value="<!--
TMPL_VAR NAME="fax" -->">
</p>
<p>
<label>Website</label>
- <input type="text" size="40" name="website" value="<!--
TMPL_VAR NAME="url" -->" />
+ <input type="text" size="40" name="website" value="<!--
TMPL_VAR NAME="url" -->">
</p>
- <h2 class="acquisition">CONTACT DETAILS</h2>
+ </fieldset>
+ <fieldset>
+ <legend>CONTACT DETAILS</legend>
<p>
<label>Contact Name</label>
- <input type="text" size="40"
name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->" />
+ <input type="text" size="40" name="company_contact_name"
value="<!-- TMPL_VAR NAME="contact" -->">
</p>
<p>
<label>Position</label>
- <input type="text" size="40"
name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->" />
+ <input type="text" size="40" name="company_contact_position"
value="<!-- TMPL_VAR NAME="contpos" -->">
</p>
<p>
<label>Phone</label>
- <input type="text" size="20" name="contact_phone"
value="<!-- TMPL_VAR NAME="contphone" -->" />
+ <input type="text" size="20" name="contact_phone" value="<!--
TMPL_VAR NAME="contphone" -->">
</p>
<p>
<label>Alternative phone</label>
- <input type="text" size="20" name="contact_phone_2"
value="<!-- TMPL_VAR NAME="contaltphone" -->" />
+ <input type="text" size="20" name="contact_phone_2"
value="<!-- TMPL_VAR NAME="contaltphone" -->">
</p>
<p>
<label>Fax</label>
- <input type="text" size="20" name="contact_fax"
value="<!-- TMPL_VAR NAME="contfax" -->" />
+ <input type="text" size="20" name="contact_fax" value="<!--
TMPL_VAR NAME="contfax" -->">
</p>
<p>
<label>E-mail</label>
- <input type="text" size="40" name="company_email"
value="<!-- TMPL_VAR NAME="contemail" -->" />
+ <input type="text" size="40" name="company_email" value="<!--
TMPL_VAR NAME="contemail" -->">
</p>
<p>
<label>Notes</label>
- <textarea name="notes" cols="40" rows="4"><!-- TMPL_VAR
NAME="contnotes" --></textarea>
+ <textarea name="contact_notes" cols="40" rows="4"><!--
TMPL_VAR NAME="contnotes" --></textarea>
</p>
- </div>
- <div id="acqui_supplier_status">
- <h2>CURRENT STATUS</h2>
+ </fieldset>
+ <fieldset>
+ <legend>Ordering informations</legend>
<p>
<label>Supplier is</label>
<!-- TMPL_IF name="active" -->
- <input type="radio" name="status"
value="1" checked="checked" />Active
- <input type="radio" name="status"
value="0" />Inactive
+ <input type="radio" name="status" value="1"
checked>Active
+ <input type="radio" name="status"
value="0">Inactive</td>
<!-- TMPL_ELSE -->
- <input type="radio" name="status"
value="1" />Active
- <input type="radio" name="status"
value="0" checked="checked" />Inactive
+ <input type="radio" name="status" value="1">Active
+ <input type="radio" name="status" value="0"
checked>Inactive</td>
<!-- /TMPL_IF -->
</p>
- </div>
- <div id="acqui_supplier_ordering">
- <h2>ORDERING INFORMATION</h2>
<p>
<label>Publishers and Imprints</label>
<textarea name="publishers_imprints" cols="20"
rows="4"><!-- TMPL_VAR NAME="specialty" --></textarea>
@@ -100,42 +102,146 @@
<!-- /TMPL_LOOP -->
</select>
</p>
- <p>
+ <!-- TMPL_IF NAME="GST" --><p>
<label>GST Registered</label>
- <!-- TMPL_IF name="gstreg" -->
- <input type="radio" name="gst"
value="1" checked="checked" /> Yes
- <input type="radio" name="gst"
value="0" /> No
+ <input type="radio" name="gst" value="1" <!-- TMPL_IF
name="gstreg" -->checked<!-- /TMPL_IF -->>Yes
+ <input type="radio" name="gst" value="0" <!-- TMPL_UNLESS
name="gstreg" -->checked<!-- /TMPL_UNLESS -->>No
+ </p><!-- TMPL_ELSE --><input type="hidden" name="gst"
value="0"><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="GST" --><p>
+ <label>List Item Price Includes GST</label>
+ <input type="radio" name="list_gst" value="1" <!-- TMPL_IF
name="listincgst" -->checked<!-- /TMPL_IF -->>Yes
+ <input type="radio" name="list_gst" value="0" <!--
TMPL_UNLESS name="listincgst" -->checked<!-- /TMPL_UNLESS -->>No
+ </p><!-- TMPL_ELSE --><input type="hidden" name="list_gst"
value="0"><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="GST" --><p>
+ <label>Invoice Item Price Includes GST</label>
+ <input type="radio" name="invoice_gst" value="1" <!--
TMPL_IF name= "invoiceincgst" -->checked<!-- /TMPL_IF -->>Yes
+ <input type="radio" name="invoice_gst" value="0" <!--
TMPL_UNLESS name="invoiceincgst" -->checked<!-- /TMPL_UNLESS -->>No
+ </p><!-- TMPL_ELSE --><input type="hidden" name="invoice_gst"
value="0"><!-- /TMPL_IF -->
+ <p>
+ <label>Discount</label>
+ <input type="text" size="3" name="discount" value="<!--
TMPL_VAR NAME="discount" -->"> %
+ </p>
+ <p>
+ <label>Notes</label>
+ <textarea cols="40" rows="4" name="notes" ><!-- TMPL_VAR
NAME="notes" --></textarea>
+ </p>
+ </fieldset>
+ <input type="submit" value="Save" />
+ </form>
+<!--TMPL_ELSE-->
+ <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
+ <div id="action">
+ <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">
+ Edit Supplier
+ </a>
+ <a href="order.pl?supplier=<!--TMPL_VAR Name="name"-->">
+ Manage Orders
+ </a>
+ <a href="recieveorder.pl?supplierid=<!--TMPL_VAR Name="id"-->">
+ Receive Parcel
+ </a>
+ </div>
+ <fieldset>
+ <legend>Company details</legend>
+ <p>
+ <label>Company Name</label>
+ <!-- TMPL_VAR NAME="name" -->
+ </p>
+ <p>
+ <label>Postal Address</label>
+ <!-- TMPL_VAR NAME="postal" -->
+ </p>
+ <p>
+ <label>Physical Address</label>
+ <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2"
--><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" -->
+ </p>
+ <p>
+ <label>Phone</label>
+ <!-- TMPL_VAR NAME="phone" -->
+ </p>
+ <p>
+ <label>Fax</label>
+ <!-- TMPL_VAR NAME="fax" -->
+ </p>
+ <p>
+ <label>Website</label>
+ <!-- TMPL_VAR NAME="url" -->
+ </p>
+ </fieldset>
+ <fieldset>
+ <legend>Contact details</legend>
+ <p>
+ <label>Contact name</label>
+ <!-- TMPL_VAR NAME="contact" -->
+ </p>
+ <p>
+ <label>Position</label>
+ <!-- TMPL_VAR NAME="contpos" -->
+ </p>
+ <p>
+ <label>Phone</label>
+ <!-- TMPL_VAR NAME="contphone" -->
+ </p>
+ <p>
+ <label>Alternative phone</label>
+ <!-- TMPL_VAR NAME="contaltphone" -->
+ </p>
+ <p>
+ <label>Fax</label>
+ <!-- TMPL_VAR NAME="contfax" -->
+ </p>
+ <p>
+ <label>E-mail</label>
+ <!-- TMPL_VAR NAME="contemail" -->
+ </p>
+ <p>
+ <label>Notes</label>
+ <!-- TMPL_VAR NAME="contnotes" -->
+ </p>
+
+ </fieldset>
+ <fieldset>
+ <legend>Ordering informations</legend>
+ <p>
+ <label>Supplier is</label>
+ <!-- TMPL_IF name="active" -->
+ Active
<!-- TMPL_ELSE -->
- <input type="radio" name="gst"
value="1" /> Yes
- <input type="radio" name="gst"
value="0" checked="checked" /> No
+ Inactive
<!-- /TMPL_IF -->
</p>
<p>
+ <label>Publishers and Imprints</label>
+ <!-- TMPL_VAR NAME="specialty" -->
+ </p>
+ <p>
+ <label>List Prices are</label><!--TMPL_VAR Name="listprice"-->
+ </p>
+ <p>
+ <label>Invoice Prices are</label><!--TMPL_VAR
Name="invoiceprice"-->
+ </p>
+ <p>
+ <label>GST Registered</label>
+ <!-- TMPL_IF name="gstreg" -->Yes<!--TMPL_ELSE-->No<!--
/TMPL_IF -->
+ </p>
+ <p>
<label>List Item Price Includes GST</label>
- <!-- TMPL_IF name="listincgst" -->
- <input type="radio" name="list_gst"
value="1" checked="checked" /> Yes
- <input type="radio" name="list_gst"
value="0" /> No
- <!-- TMPL_ELSE -->
- <input type="radio" name="list_gst"
value="1" /> Yes
- <input type="radio" name="list_gst"
value="0" checked="checked" /> No
- <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="listincgst"
-->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
</p>
<p>
<label>Invoice Item Price Includes GST</label>
- <!-- TMPL_IF name="invoice_gst" -->
- <input type="radio"
name="invoiceincgst" value="1" checked="checked" /> Yes
- <input type="radio"
name="invoiceincgst" value="0" /> No
- <!-- TMPL_ELSE -->
- <input type="radio"
name="invoiceincgst" value="1" /> Yes
- <input type="radio"
name="invoiceincgst" value="0" checked="checked" /> No
- <!-- /TMPL_IF -->
+ <!-- TMPL_IF name= "invoiceincgst"
-->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
</p>
<p>
<label>Discount</label>
- <input type="text" size="3" name="discount" value="<!--
TMPL_VAR NAME="discount" -->" /> %
+ <!-- TMPL_VAR NAME="discount" --> %
</p>
- </div>
- <input type="submit" name="submit" title="save" />
- </form>
+ <p>
+ <label>Notes</label>
+ <!-- TMPL_VAR NAME="notes" -->
+ </p>
+ </fieldset>
+</div>
+<!--/TMPL_IF-->
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/acqui supp... [rel_3_0],
paul poulain <=