<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- <!-- TMPL_IF NAME=id -->更新: <!-- TMPL_VAR name="name" --><!-- TMPL_ELSE -->新增供應商<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main"><form action="updatesupplier.pl" method="post">

<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />

<!-- TMPL_IF NAME="id" -->
	<h1>更新: <!-- TMPL_VAR name="name" --></h1>
<!-- TMPL_ELSE -->
	<h1>新增供應商</h1>
<!-- /TMPL_IF -->

<div class="details"><table>
	<caption>公司詳細資料</caption>
	<tr>
		<th><label for="company">公司名稱</label></td>
		<td><input type="text" size="20" id="company"  name="company" value="<!-- TMPL_VAR name="name" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="company_postal">郵寄地址</label></th>
		<td>
			<textarea name="company_postal" id="company_postal" cols="20" rows="3"><!-- TMPL_VAR name="postal" --></textarea>
		</td>
	</tr>
	<tr>
		<th><label for="physical">地址</label></th>
		<td><textarea id="physical" name="physical" cols="20" rows="4"><!-- TMPL_VAR name="address1" --><!-- TMPL_VAR name="address2" --><!-- TMPL_VAR name="address3" --><!-- TMPL_VAR name="address4" --></textarea>
		</td>
	</tr>
	<tr>
		<th><label for="company_phone">電話</label></th>
		<td><input type="text" size="20" id="company_phone" name="company_phone" value="<!-- TMPL_VAR name="phone" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="company_fax">傳真機</label></th>
		<td><input type="text" size="20" id="company_fax" name="company_fax" value="<!-- TMPL_VAR name="fax" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="website">網站</label></th>
		<td><input type="text" size="20" name="website" id="website" value="<!-- TMPL_VAR name="url" -->" />
		</td>
	</tr>
</table></div>
<div class="details"><table>
<caption>聯絡詳細資料</caption>
	<tr>
		<th><label for="company_contact_name">聯絡名稱</label></th>
		<td><input type="text" size="20" id="company_contact_name" name="company_contact_name" value="<!-- TMPL_VAR name="contact" -->" /></td>
	</tr>
	<tr>
		<th><label for="company_contact_position">職稱</label></th>
		<td><input type="text" size="20" id="company_contact_position" name="company_contact_position" value="<!-- TMPL_VAR name="contpos" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="contact_phone">電話</label></th>
		<td><input type="text" size="20" id="contact_phone" name="contact_phone" value="<!-- TMPL_VAR name="contphone" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="contact_phone_2">其他電話</label></th>
		<td><input type="text" size="20" id="conatct_phone_2" name="contact_phone_2" value="<!-- TMPL_VAR name="contaltphone" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="contact_fax">傳真機</label></th>
		<td><input type="text" size="20" id="contact_fax"  name="contact_fax" value="<!-- TMPL_VAR name="contfax" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="company_email">E-mail</label></th>
		<td><input type="text" size="20" id="company_email" name="company_email" value="<!-- TMPL_VAR name="contemail" -->" />
		</td>
	</tr>
	<tr>
		<th><label for="notes">附註</label></th>
		<td><textarea id="notes" name="notes" cols="20" rows="4"><!-- TMPL_VAR name="contnotes" --></textarea>
		</td>
	</tr>
</table></div>

<div class="details"><table>
	<caption>流通狀況</caption>
	<tr>
		<th><label for="status">供應商是</label></th>
		<td><input type="radio" id="status" name="status" value="1"<!-- TMPL_IF name="active" --> checked="checked"<!-- /TMPL_IF --> />借閱
			<input type="radio" name="status" value="0"<!-- TMPL_UNLESS name="active" --> checked="checked"<!-- /TMPL_UNLESS --> />沒有借閱</td>
	</tr>
</table></div>

<div class="details">
<table>
	<caption>訂購資訊</caption>
	<tr>
		<th><label for="publishers_imprints">出版者和印刷者</label></th>
		<td><textarea name="publishers_imprints" id="publishers_imprints" cols="20" rows="4"><!-- TMPL_VAR name="specialty" --></textarea>
		</td>
	</tr>
	<tr>
		<th><label for="list_currency">價格清單</label></th>
		<td>
			<select name="list_currency" id="list_currency" size="1">
			<!-- TMPL_LOOP name="loop_pricescurrency" -->
				<!-- TMPL_VAR name="currency" -->
			<!-- /TMPL_LOOP -->
			</select>
		</td>
	</tr>
	<tr>
		<th><label for="invoice_currency">發票價錢</label></th>
		<td>
			<select name="invoice_currency" id="invoice_currency" size="1">
			<!-- TMPL_LOOP name="loop_invoicecurrency" -->
				<!-- TMPL_VAR name="currency" -->
			<!-- /TMPL_LOOP -->
			</select>
		</td>
	</tr>
	<tr>
		<th><label for="gst">GST 註冊</label></th>
		<td>
			<input type="radio" id="gst" name="gst" value="1"<!-- TMPL_IF name="gstreg" --> checked="checked"<!-- /TMPL_IF --> />Yes
			<input type="radio" name="gst" value="0"<!-- TMPL_UNLESS name="gstreg" --> checked="checked"<!-- /TMPL_UNLESS --> />No
		</td>
	</tr>
	<tr>
		<th><label for="list_gst">館藏價格清單包括 GST</label></th>
		<td>
			<input type="radio" id="list_gst" name="list_gst"<!-- TMPL_IF name="listincgst" --> checked="checked"<!-- /TMPL_IF --> />Yes
			<input type="radio" name="list_gst" value="0"<!-- TMPL_UNLESS name="listincgst" --> checked="checked"<!-- /TMPL_UNLESS --> />No
		</td>
	</tr>
	<tr>
		<th><label for="invoice_gst">館藏價格發票包括 GST</label></th>
		<td>
			<input type="radio" id="invoice_gst" name="invoice_gst" value="1"<!-- TMPL_IF name= "invoiceincgst" --> checked="checked"<!-- /TMPL_IF --> />Yes
			<input type="radio" name="invoice_gst" value="0"<!-- TMPL_UNLESS name="invoiceincgst" --> checked="checked"<!-- /TMPL_UNLESS --> />No
		</td>
	</tr>
	<tr>
		<th><label for="discount">折扣</label></th>
		<td><input type="text" size="3" id="discount" name="discount" value="<!-- TMPL_VAR name="discount" -->" /> %
	</tr>
</table>
</div>
<input type="submit" value="儲存改變" class="submit" />
</form>
</div>

<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
