| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <%@ include file="../common/header.jsp" %>
- <script type="text/javascript" language="javascript">
- <!--
- function doCreate(){
- var x = window.confirm("<bean:message key="confirm.create" />");
- if (x) {
- document.forms.report.action.value="create_ok";
- document.forms.report.post.value = "true";
- document.forms.report.submit();
- doDisable(document.forms.report, "button");
- }
- }
- function doBack(){
- document.forms.report.action.value="list";
- document.forms.report.clear.value="true";
- document.forms.report.submit();
- }
- -->
- </script>
- <!-- CONTENT -->
- <FORM name="report" method="post" action="report.do" enctype="multipart/form-data">
- <input type="hidden" name="action">
- <input type="hidden" name="post">
- <input type="hidden" name="clear">
- <input type="hidden" name="itemFocus">
- <!-- <td width="640" valign="top"> -->
- <!-- td width="80%" valign="top" -->
- <!-- <td valign="top">
- -->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td class="titleHeader" align="left"><bean:message key="project.report.key"/> - CREATE</td>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr><td colspan="7"><html:errors/></td></tr>
- <tr>
- <td width="15%"><b><bean:message key="report.code.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="34%">
- <html:text name="report" property="code"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="report.name.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="34%">
- <html:text name="report" property="report"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="report.jrxml.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="34%">
- <input type="file" name="uploadFile" value="<logic:notEmpty name="uploadFile_report"><bean:write name="uploadFile_report" /></logic:notEmpty>">
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="report.filter.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="34%" valign="top">
- <select name="filter" style="width:300">
- <option value="">-- Select Filter --</option>
- <logic:notEmpty name="filters">
- <logic:iterate id="element_filter" name="filters" >
- <option value="<bean:write name="element_filter" property="code"/>"
- <logic:notEmpty name="report" property="filter">
- <logic:equal name="report" property="filter.code" value="${element_filter.code}">
- selected
- </logic:equal>
- </logic:notEmpty>
- ><bean:write name="element_filter" property="name" /></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="10"> </td>
- <td width="30%"> </td>
- </tr>
- <tr align = "left">
- <td width="15%"><b><bean:message key="report.category.key" /></b></td>
- <td width="1%">:</td>
- <td width="34%" valign="top">
- <select name="billerCode" style="width:300">
- <option value="">-- Select Biller Category --</option>
- <logic:notEmpty name="billerCategoryList">
- <logic:iterate id="element_billerCategory" name="billerCategoryList" >
- <option value="<bean:write name="element_billerCategory" property="code" />"
- <logic:notEmpty name="billerCategory" property="code">
- <logic:equal name="billerCategory" property="code" value="${element_billerCategory.code}">
- selected
- </logic:equal>
- </logic:notEmpty>
- ><bean:write name="element_billerCategory" property="name" /></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();"/>
- <input type="button" value="Submit" onclick="javascript:doCreate();"/></td>
- <td colspan="4"> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
|