<#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 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 labelFor='start_date' tabIndex='3' labelKey='#i18n{grustoragedb.manage_demand.start_date.label}' > <#if !start_date??><#assign start_date = .now /> <#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 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"] /> <@input type='date' id="end_date" name="end_date" language=.lang value=end_date_value!'' /> <@formGroup> <@button type='submit' tabIndex='5' title='#i18n{portal.util.labelSearch}' /> <@messages infos=infos /> <@paginationAdmin paginator=paginator combo=1 />
<@table> #i18n{grustoragedb.manage_demand.columnDemandId} #i18n{grustoragedb.manage_demand.columnTypeId} #i18n{grustoragedb.manage_notifification.date} #i18n{grustoragedb.manage_notifification.has_backoffice} #i18n{grustoragedb.manage_notifification.has_sms} #i18n{grustoragedb.manage_notifification.has_customer_email} #i18n{grustoragedb.manage_notifification.has_mydashboard} #i18n{grustoragedb.manage_notifification.has_broadcast_email} #i18n{grustoragedb.manage_demand.action} <@tableHeadBodySeparator /> <#list notification_list as notification > ${notification.demand.id!''} ${notification.demand.typeId!''} ${notification.date?number_to_datetime!''} <#if notification.backofficeNotification ?? > Status : ${notification.backofficeNotification.statusText!''}
message : ${notification.backofficeNotification.message!''} <#else> - <#if notification.SMSNotification ?? > Sender : ${notification.SMSNotification.sender!''}
Phone number : ${notification.SMSNotification.phoneNumber!''}
message : ${notification.SMSNotification.message!''} <#else> - <#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 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 notification.broadcastEmail ?? > <#list notification.broadcastEmail as broadcastEmailItem > Sender name : ${broadcastEmailItem.senderName!''}
Sernder mail : ${broadcastEmailItem.senderEmail!''}
Recipient : <#list broadcastEmailItem.recipient as item>${item}
Cc : <#list broadcastEmailItem.cc as item>${item}
Bcc : <#list broadcastEmailItem.bcc as item>${item}
Subject : ${broadcastEmailItem.subject!''}
message : ${broadcastEmailItem.message!''}

<#else> - <@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' /> <@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' /> <@paginationAdmin paginator=paginator />