Files
monorepo/LCU.WebApps.Internal.DispatcherManager/LCU.WebApps.Internal.DispatcherManager/Shared/Components/Actions/NoticeProcessorSummaryEmail.razor
T
2026-03-24 09:57:03 -05:00

37 lines
1.4 KiB
Plaintext

<ActionForm Request="Request" WorkItemComponent="WorkItemComponent" Title="@Title">
<div class="form-group form-row">
<div class="row">
<div class="col">
<label for="EffectiveDate" class="col-sm-10 col-form-label">Effective Date</label>
<label class="col-sm-10 col-form-label">(Leave Field at minimum for Todays processing unless specifying a date in the past)</label>
<InputDate HintLabel=" (Leave Field at minimum for Todays processing unless specifying a date in the past)" class="form-control" id="EffectiveDate" placeholder="Effective Date" @bind-Value="Request.ProcessedDate" />
</div>
</div>
</div>
<TextBoxListComponent Id="EmailRecipients"
Label="Email Recipients"
Placeholder="Recipient"
TextBoxInputList="Request.EmailAddresses" />
</ActionForm>
@code {
[Parameter]
public WorkItemComponent WorkItemComponent { get; set; }
public ProcessingEmailRequest Request { get; set; }
private string Title = "Notice Processor Summary Email";
protected override void OnParametersSet()
{
Request = (ProcessingEmailRequest)WorkItemComponent.Item;
if (Request.EmailAddresses == null)
{
Request.EmailAddresses = new List<string>();
}
if (Request.ProcessedDate == null)
{
Request.ProcessedDate = DateTime.MinValue;
}
}
}