{extends file="layout.html"}
{block name=title}LMS: {$layout.pagetitle|striphtml}{/block}
{block name=module_content}
<!--// $Id$ //-->
<H1>{$layout.pagetitle}</H1>
<FORM METHOD="POST" NAME="reglog" ACTION="?m=cashreglogedit&id={$reglog.id}">
<INPUT type="submit" class="hiddenbtn">
<TABLE class="lmsbox">
    <THEAD>
	<TR>
	    <TD width="1%">
		<IMG src="img/value.gif" ALT="">
	    </TD>
	    <TD width="1%" NOWRAP><B>{trans("Real state:")}</B></TD>
	    <TD width="98%">
		<INPUT TYPE="TEXT" NAME="reglog[value]" VALUE="{if $reglog.value!=''}{$reglog.value|string_format:"%.2f"}{/if}" SIZE="16" {tip text="Enter real cash state value" trigger="value"}>
	    </TD>
	</TR>
    </THEAD>
    <TBODY>
	<TR>
	    <TD width="1%">
		<IMG src="img/time.gif" ALT="">
	    </TD>
	    <TD width="1%"><B>{trans("Time:")}</B></TD>
	    <TD width="98%">
		<INPUT TYPE="TEXT" NAME="reglog[time]" VALUE="{if $reglog.time}{$reglog.time}{/if}" SIZE="16" {tip class="lms-ui-datetime" text="Enter date in 'yyyy/mm/dd' format (empty field means current date) or click to choose it from calendar" trigger="time"}>
	    </TD>
	</TR>
	<TR>
	    <TD width="1%">
		<IMG src="img/info1.gif" ALT="">
	    </TD>
	    <TD width="1%"><B>{trans("Description")}:</B></TD>
	    <TD width="98%">
		<TEXTAREA NAME="reglog[description]" COLS="50" ROWS="3" {tip text="Enter additional information (optional)"}>{$reglog.description}</TEXTAREA>
	    </TD>
	</TR>
	<TR>
	    <TD width="100%" COLSPAN="3" ALIGN="RIGHT"> 
	    	<A HREF="javascript:document.reglog.submit();" accesskey="s">{trans("Submit")} <IMG src="img/save.gif" alt=""></A>
		<A HREF="?m=cashreglogview">{trans("Cancel")} <IMG src="img/cancel.gif" alt=""></A>
	    </TD>
	</TR>
    </TBODY>
</TABLE>
</FORM>
<SCRIPT type="text/javascript">
<!--
document.forms['reglog'].elements['reglog[value]'].focus();
//-->
</SCRIPT>
{/block}
