Location: PHPKode > projects > PhpRechnung > phpRechnung/include/smarty/templates/config/edit_company.tpl
{*
	edit_company.tpl

	phpRechnung - is easy-to-use Web-based multilingual accounting software.
	Copyright (C) 2001 - 2008 Edy Corak < phprechnung at ecorak dot net >

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*}
{include file="header.tpl"}
{if $Mark}
	<body onload="document.Edit.{$Mark}.focus();">
{else}
	<body onload="document.Edit.CompanyDate.focus();">
{/if}
{include file="htable.tpl"}
<table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Tabelle 3">
<tr><td id="td1_20" width="20%" valign="top">
{* Menubar start *}
<table border="0" width="80%" cellspacing="0" cellpadding="0" summary="Tabelle 4">
{if $smarty.session.SuperUser and ( $smarty.session.SuperUser eq $Root )}
	<tr><td align="center" class="phprechnung_menu"><a accesskey="L" title="{$Logout}"
	href="../login/suend.php?{$Session}">{$Logout}</a></td></tr>
{else}
	<tr><td align="center" class="phprechnung_menu"><a accesskey="L" title="{$Logout}"
	href="../login/logout.php?{$Session}">{$Logout}</a></td></tr>
{/if}
<tr><td align="left" class="phprechnung_menu"><a accesskey="W" title="{$Startpage}"
href="../index.php?{$Session}">{$Startpage}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="A" title="{$Addressbook}"
href="../addressbook/list.php?{$Session}">{$Addressbook}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="P" title="{$Position}"
href="../position/list.php?{$Session}">{$Position}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="O" title="{$Offer}"
href="../offer/list.php?{$Session}">{$Offer}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="I" title="{$Invoice}"
href="../invoice/list.php?{$Session}">{$Invoice}</a></td></tr>
{* <tr><td align="left" class="phprechnung_menu"><a accesskey="N" title="{$Creditnote}"
href="../creditnote/list.php?{$Session}">{$Creditnote}</a></td></tr> *}
<tr><td align="left" class="phprechnung_menu"><a accesskey="M" title="{$Payment}"
href="../payment/list.php?{$Session}">{$Payment}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="C" title="{$Cashbook}"
href="../cashbook/list.php?{$Session}">{$Cashbook}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="R" title="{$Reports}"
href="../reports/index.php?{$Session}">{$Reports}</a></td></tr>
<tr><td align="left" class="phprechnung_menu"><a accesskey="S" title="{$Configuration}"
href="../configuration.php?{$Session}">{$Configuration}</a></td></tr>
<tr><td align="left" class="phprechnung_menu_sel"><a accesskey="1" title="{$Settings} - {$List}"
href="list.php?{$Session}">{$Settings}</a></td></tr>
<tr><td align="left" class="phprechnung_menu_sub"><a accesskey="2" title="{$Settings} - {$Help}"
href="help.php?{$Session}">{$Help}</a></td></tr>
{if $smarty.session.Username and ( $smarty.session.Username != $Root )}
	<tr><td align="left" class="phprechnung_menu"><a accesskey="U" title="{$Superuser}"
	href="../login/sustart.php?{$Session}">{$Superuser}</a></td></tr>
{/if}
</table></td>
{* Menubar end *}
<td id="td1_2" width="2%"></td><td width="78%" valign="top" align="center">
{* Display Company information *}
<form id="Edit" name="Edit" action="editf_company.php?{$Session}" method="post">
<table width="80%" border="0" class="phprechnung_tabelle" cellspacing="3" cellpadding="3" summary="Tabelle 2">
{* Display back button *}
<tr>
	<td valign="middle" align="left" colspan="2">
	[&nbsp;<a title="{$BackMsg} - {$Settings} - {$List}" class="ninfolink" href="list.php?page={$page}&amp;Order={$Order}&amp;Sort={$Sort}&amp;{$Session}">{$BackMsg}</a>&nbsp;]
	</td>
</tr>
<tr><td align="center" colspan="2"><h2>{$Settings} - {$Edit}</h2></td></tr>
<tr><td></td></tr>
<tr><td align="center" colspan="2">{$EntryNo} {$settingID}</td></tr>
<tr><td></td></tr>
<tr><td align="center" colspan="2">
<table width="80%" border="0" cellspacing="3" cellpadding="3" summary="Tabelle 2">
<tr><td align="center">
[&nbsp;<a title="{$Basic_Settings}" class="nmenulink" href="edit.php?settingID={$settingID}&amp;page={$page}&amp;Order={$Order}&amp;Sort={$Sort}&amp;{$Session}">{$Basic_Settings}</a>&nbsp;]
</td>
<td align="center">
[&nbsp;<a title="{$Company_Settings}" class="nmenulink" href="edit_company.php?settingID={$settingID}&amp;page={$page}&amp;Order={$Order}&amp;Sort={$Sort}&amp;{$Session}"><b>{$Company_Settings}</b></a>&nbsp;]
</td>
<td align="center">
[&nbsp;<a title="{$PDF_Settings}" class="nmenulink" href="edit_pdf.php?settingID={$settingID}&amp;page={$page}&amp;Order={$Order}&amp;Sort={$Sort}&amp;{$Session}">{$PDF_Settings}</a>&nbsp;]
</td></tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$DateMsg}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$DateMsg}" class="form_input" name="CompanyDate" size="39" value="{$CompanyDate}" /></td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_Name}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Name}" class="form_input" name="CompanyName" size="39" value="{$CompanyName}" /></td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_Address}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Address}" class="form_input" name="CompanyAddress" size="39" value="{$CompanyAddress}" /></td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_Postal}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Postal}" class="form_input" name="CompanyPostal" size="39" value="{$CompanyPostal}" /></td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_City}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_City}" class="form_input" name="CompanyCity" size="39" value="{$CompanyCity}" /></td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_Country}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Country}" class="form_input" name="CompanyCountry" size="39" value="{$CompanyCountry}" /></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_Phone}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Phone}" class="form_input" name="CompanyPhone" size="39" value="{$CompanyPhone}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_Fax}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Fax}" class="form_input" name="CompanyFax" size="39" value="{$CompanyFax}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_Email}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Email}" class="form_input" name="CompanyEmail" size="39" value="{$CompanyEmail}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_URL}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_URL}" class="form_input" name="CompanyURL" size="39" value="{$CompanyURL}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_WAP}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_WAP}" class="form_input" name="CompanyWAP" size="39" value="{$CompanyWAP}" /></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td valign="middle" align="right" width="40%"><b>{$Company_Currency}</b>:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Currency}" class="form_input" name="CompanyCurrency" size="39" value="{$CompanyCurrency}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Company_Tax_Free}:</td><td valign="middle" align="left" width="60%"><select title="{$Company_Tax_Free}" class="choice200" name="CompanyTaxFree">
<optgroup label="{$Company_Tax_Free}" title="{$Company_Tax_Free}">
{foreach item=yes_no from=$choice_yes_no}
	{foreach key=key item=item from=$yes_no}
		{if $CompanyTaxFree and ( $CompanyTaxFree == $key)}
			<option label="{$item}" title="{$item}" value="{$key}" selected="selected">{$item}</option>
		{else}
			<option label="{$item}" title="{$item}" value="{$key}">{$item}</option>
		{/if}
	{/foreach}
{/foreach}
</optgroup></select></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Sales_Prices}:</td>
{if $InvoiceAvailable and ($InvoiceAvailable eq 1)}
	<td class="dbTxt" valign="top" align="left" width="60%">{$DisplaySalesPrice}</td>
{else}
	<td valign="middle" align="left" width="60%"><select title="{$Sales_Prices}" name="SalesPrices" class="choice200">
	<optgroup label="{$Sales_Prices}" title="{$Sales_Prices}">
	{foreach item=sales_price from=$sales_price_values}
		{foreach key=key item=item from=$sales_price}
			{if $SalesPrices and ( $SalesPrices == $key)}
				<option label="{$item}" title="{$item}" value="{$key}" selected="selected">{$item}</option>
			{else}
				<option label="{$item}" title="{$item}" value="{$key}">{$item}</option>
			{/if}
		{/foreach}
	{/foreach}
	</optgroup></select></td>
{/if}
</tr>
<tr><td valign="middle" align="right" width="40%">{$Company_Taxnr}:</td><td valign="middle" align="left" width="60%"><input title="{$Company_Taxnr}" class="form_input" name="CompanyTaxnr" size="39" value="{$CompanyTaxnr}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Business_Taxnr}:</td><td valign="middle" align="left" width="60%"><input title="{$Business_Taxnr}" class="form_input" name="BusinessTaxnr" size="39" value="{$BusinessTaxnr}" /></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td valign="middle" align="right" width="40%">{$Bank_Name}:</td><td valign="middle" align="left" width="60%"><input title="{$Bank_Name}" class="form_input" name="BankName" size="39" value="{$BankName}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Bank_Account}:</td><td valign="middle" align="left" width="60%"><input title="{$Bank_Account}" class="form_input" name="BankAccount" size="39" value="{$BankAccount}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Bank_Number}:</td><td valign="middle" align="left" width="60%"><input title="{$Bank_Number}" class="form_input" name="BankNumber" size="39" value="{$BankNumber}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Bank_IBAN}:</td><td valign="middle" align="left" width="60%"><input title="{$Bank_IBAN}" class="form_input" name="BankIBAN" size="39" value="{$BankIBAN}" /></td></tr>
<tr><td valign="middle" align="right" width="40%">{$Bank_BIC}:</td><td valign="middle" align="left" width="60%"><input title="{$Bank_BIC}" class="form_input" name="BankBIC" size="39" value="{$BankBIC}" /></td></tr>
<tr><td></td></tr>
<tr><td valign="top" align="center" colspan="2">
<input type="hidden" name="settingID" value="{$settingID}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="Order" value="{$Order}" />
<input type="hidden" name="Sort" value="{$Sort}" />
<input type="submit" class="button" title="{$ChangeMsg}" value="{$ChangeMsg}" /></td>
</tr>
</table>
</form>
</td></tr>
<tr><td id="td2_20" width="20%"><br /></td><td id="td2_2" width="2%"></td>
<td width="78%" valign="top"><br /></td></tr></table>
{include file="footer.tpl"}
Return current item: PhpRechnung