<form action='$SELF_URL' method='post' name='invoice_add'>
<input type=hidden name=index value=$index>
<input type=hidden name='UID' value='$FORM{UID}'>
<input type=hidden name='DOC_ID' value='%DOC_ID%'>
<input type=hidden name='sid' value='$FORM{sid}'>
<input type=hidden name='step' value='$FORM{step}'>
<input type=hidden name='OP_SID' value='%OP_SID%'>
<input type=hidden name='VAT' value='%VAT%'>
<input type=hidden name='SEND_EMAIL' value='1'>
<input type=hidden name='ALL_SERVICES' value='1'>
<Table width=600 class=form>
<tr><th align=right class='form_title' colspan=2>%CAPTION%</th></tr>
%FORM_ACCT_ID%
<tr><td>$_DATE:</td><td>%DATE%</td></tr>
<tr><td><b>$_CURENT_BILLING_PERIOD:</b></td><td><b>%CURENT_BILLING_PERIOD_START% - %CURENT_BILLING_PERIOD_STOP%</b></td></tr>
<tr><td>$_PERIOD:</td><td>$_FROM: %FROM_DATE% $_TO: %TO_DATE% </td></tr>
<tr><td>&nbsp;</td><td>
<input type=radio name=INCLUDE_CUR_BILLING_PERIOD value=0 checked> $_INCLUDE_CUR_BILLING_PERIOD <br>
<input type=radio name=INCLUDE_CUR_BILLING_PERIOD value=1> $_NOT_INCLUDE_CUR_BILLING_PERIOD
</td></tr>


<tr><td>$_NEXT_PERIODS:</td><td><input type=text name=NEXT_PERIOD value='%NEXT_PERIOD=0%' size=5> $_MONTH</td></tr>
<tr><td>$_SEND E-mail:</td><td><input type=checkbox name=SEND_EMAIL value=1 checked></td></tr>
<tr><td>$_INCLUDE_DEPOSIT:</td><td><input type=checkbox name=INCLUDE_DEPOSIT value=1 checked></td></tr>
<tr><td colspan=2>

%ORDERS%

</td></tr>
<!-- <tr><td>$_VAT:</td><td>%COMPANY_VAT%</td></tr> -->
<tr><td colspan=2>&nbsp;</td></tr>
<!-- <tr><td>$_PRE</td><td><input type=checkbox name=PREVIEW value='1'></td></tr> -->
<tr><th colspan=2 class='even'>
%BACK%
<input type=submit name=update value='$_REFRESH'>
<input type=submit name=create value='$_CREATE'>
%NEXT%


</th></tr>
</table>
<!-- <input type=submit name=pre value='$_PRE'>  -->
</form>
