#include "managedemand_tabs.html" />
<@tabs2 tab="notification" />
<@box>
<@boxHeader title='#i18n{grustoragedb.manage_notification.pageTitle}' />
<@boxBody>
<@tform class='form-horizontal' method="post" action="jsp/admin/plugins/grustoragedb/ManageNotification.jsp" name="manage_notification">
<@formGroup labelFor='demand_id' tabIndex='1' labelKey='#i18n{grustoragedb.manage_demand.demand_id.label}' >
<@input type='text' id="demand_id" name="demand_id" value=demand_id!'' />
@formGroup>
<@formGroup labelFor='demand_type_id' tabIndex='2' labelKey='#i18n{grustoragedb.manage_demand.demand_type_id.label}' >
<@select name="demand_type_id" id="demand_type_id" items=demand_type_id_list![] default_value=demand_type_id!'' />
@formGroup>
<@formGroup labelFor='start_date' tabIndex='3' labelKey='#i18n{grustoragedb.manage_demand.start_date.label}' >
<#if !start_date??><#assign start_date = .now />#if>
<#assign start_date_value = start_date?string["yyyy-MM-dd"] />
<@input type='date' id="start_date" name="start_date" language=.lang value=start_date_value />
@formGroup>
<@formGroup labelFor='end_date' tabIndex='4' labelKey='#i18n{grustoragedb.manage_demand.end_date.label}' >
<#if end_date??><#assign end_date_value = end_date?string["yyyy-MM-dd"] />#if>
<@input type='date' id="end_date" name="end_date" language=.lang value=end_date_value!'' />
@formGroup>
<@formGroup>
<@button type='submit' tabIndex='5' title='#i18n{portal.util.labelSearch}' />
@formGroup>
@tform>
<@messages infos=infos />
<@paginationAdmin paginator=paginator combo=1 />
|
${notification.demand.id!''}
|
${notification.demand.typeId!''}
|
${notification.date?number_to_datetime!''}
|
<#if notification.backofficeNotification ?? >
Status : ${notification.backofficeNotification.statusText!''}
message : ${notification.backofficeNotification.message!''}
<#else>
-
#if>
|
<#if notification.SMSNotification ?? >
Sender : ${notification.SMSNotification.sender!''}
Phone number : ${notification.SMSNotification.phoneNumber!''}
message : ${notification.SMSNotification.message!''}
<#else>
-
#if>
|
<#if notification.emailNotification ?? >
Sender name : ${notification.emailNotification.senderName!''}
Sernder mail : ${notification.emailNotification.senderEmail!''}
Recipient : ${notification.emailNotification.recipient!''}
Cc : ${notification.emailNotification.cc!''}
Bcc : ${notification.emailNotification.bcc!''}
Subject : ${notification.emailNotification.subject!''}
message : ${notification.emailNotification.message!''}
<#else>
-
#if>
|
<#if notification.myDashboardNotification ?? >
Status : ${notification.myDashboardNotification.statusText!''}
Subject : ${notification.myDashboardNotification.subject!''}
Sender name : ${notification.myDashboardNotification.senderName!''}
data : ${notification.myDashboardNotification.data!''}
message : ${notification.myDashboardNotification.message!''}
<#else>
-
#if>
|
<#if notification.broadcastEmail ?? >
<#list notification.broadcastEmail as broadcastEmailItem >
Sender name : ${broadcastEmailItem.senderName!''}
Sernder mail : ${broadcastEmailItem.senderEmail!''}
Recipient : <#list broadcastEmailItem.recipient as item>${item}#list>
Cc : <#list broadcastEmailItem.cc as item>${item}#list>
Bcc : <#list broadcastEmailItem.bcc as item>${item}#list>
Subject : ${broadcastEmailItem.subject!''}
message : ${broadcastEmailItem.message!''}
#list>
<#else>
-
#if>
|
<@tform type='in-line' method="post" action="jsp/admin/plugins/grustoragedb/ManageDemand.jsp" >
<@formGroup>
<@button type='submit' title='#i18n{grustoragedb.manage_demand.pageTitle}' buttonIcon='question' />
@formGroup>
@tform>
<@tform type='in-line' method="post" action="jsp/admin/plugins/grustoragedb/ManageNotificationEvent.jsp" >
<@formGroup>
<@button type='submit' title='#i18n{grustoragedb.manage_event.pageTitle}' buttonIcon='flag' />
@formGroup>
@tform>
|
#list>
@table>
<@paginationAdmin paginator=paginator />
@boxBody>
@box>