#include "managedemand_tabs.html" /> <#macro getStatusLabel id > <#switch id> <#case -1 >UNDEFINED<#break> <#case 10>CANCELED<#break> <#case 11>ONGOING<#break> <#case 12>TOPAY<#break> <#case 13>TOCOMPLETE<#break> <#case 14>PAID<#break> <#case 15>CLOSED<#break> #switch> #macro> <@tabs> <@notificationstore_tabList current_tab="demand" /> <@tabContent> <@tabPanel id='demand' active=true> <@tform class='form-horizontal' method="post" action="jsp/admin/plugins/notificationstore/ManageDemand.jsp" name="manage_demand" type='inline'> <@formGroup labelFor='demand_id' tabIndex='1' labelKey='#i18n{notificationstore.manage_demand.demand_id.label}' formStyle='inline' > <@input type='text' id="demand_id" name="demand_id" value=demand_id!'' /> @formGroup> <@formGroup labelFor='demand_type_id' tabIndex='2' labelKey='#i18n{notificationstore.manage_demand.demand_type_id.label}' formStyle='inline'> <@select name="demand_type_id" id="demand_type_id" items=demand_type_id_list![] default_value=demand_type_id!'' /> @formGroup> <@formGroup labelFor='customer_id' tabIndex='3' labelKey='#i18n{notificationstore.manage_demand.customer_id.label}' formStyle='inline'> <@input type='text' id="customer_id" name="customer_id" value=customer_id!'' /> @formGroup> <@formGroup labelFor='start_date' tabIndex='4' labelKey='#i18n{notificationstore.manage_demand.start_date.label}' formStyle='inline' > <#if !start_date??><#assign start_date = .now />#if> <#assign start_date_value = start_date?string["dd/MM/yyyy"] /> <@input type='date' id="start_date" name="start_date" language=.lang value=start_date_value /> @formGroup> <@formGroup labelFor='end_date' tabIndex='5' labelKey='#i18n{notificationstore.manage_demand.end_date.label}' formStyle='inline'> <#if end_date??><#assign end_date_value = end_date?string["dd/MM/yyyy"] />#if> <@input type='date' id="end_date" name="end_date" language=.lang value=end_date_value!'' /> @formGroup > <@formGroup formStyle='inline'> <@button type='submit' tabIndex='6' title='#i18n{portal.util.labelSearch}' /> @formGroup> @tform> <@messages infos=infos /> <@paginationAdmin paginator=paginator combo=1 />
<@table>