Electronic Reception
Paper Reception
Configuration
Wizard step component for selecting document reception mode. Supports electronic reception via EVO web, MDelivery home delivery, and personal pickup at office. Handles strict record form restrictions and original documents requirements.
Configure the component options and interact with FodReceptionMode. Toggle document and paper reception options to see how the component adapts.
Configuration
Live state of the component based on user selection.
Request Data
Configuration State
FodReceptionMode stores selection in SharedData for conditional step visibility. Based on the selection, subsequent wizard steps (FodDelivery or FodAppointment) are shown or hidden.
| Selection | Next Step | SharedData Key |
|---|---|---|
| Electronic only | Skip to next general step | ReceptionMode_ElectronicEnabled = true |
| Home Delivery (MDelivery) | FodDelivery step | ReceptionMode_HasHomeDelivery = true |
| Personal Pickup | FodAppointment step | ReceptionMode_HasPersonalPickup = true |
Parameters for the FodReceptionMode component.
| Parameter | Type | Required | Description |
|---|---|---|---|
| Configuration | ReceptionModeConfiguration |
Yes | Configuration for available options and restrictions. |
| InitialRequest | ReceptionModeRequest? |
No | Pre-populated request data for edit scenarios. |
| OnReceptionModeChanged | EventCallback<ReceptionModeRequest> |
No | Invoked when selection changes. |
| OnValidationChanged | EventCallback<bool> |
No | Invoked when validation state changes. |
| CssClass | string? |
No | Additional CSS class to apply. |
Properties of the ReceptionModeConfiguration object.
| Property | Type | Default | Description |
|---|---|---|---|
| GeneratesElectronicDocument | bool |
true |
Shows/hides electronic option. |
| OnStrictRecordForm | bool |
false |
Forces paper-only mode. |
| MustShowOriginal | bool |
false |
Shows original documents warning. |
| AllowHomeDelivery | bool |
true |
Enables MDelivery option. |
| AllowPersonalPickup | bool |
true |
Enables personal pickup option. |
| EvoPortalUrl | string |
https://evo.gov.md/ |
EVO web portal URL. |
Common usage patterns for FodReceptionMode.
@using Fod.ServiceComponents.ReceptionMode
@using Fod.ServiceComponents.ReceptionMode.Models
<FodReceptionMode Configuration="@_configuration"
OnReceptionModeChanged="HandleSelectionChanged" />
@code {
private ReceptionModeConfiguration _configuration = new()
{
GeneratesElectronicDocument = true,
AllowHomeDelivery = true,
AllowPersonalPickup = true
};
private void HandleSelectionChanged(ReceptionModeRequest request)
{
Console.WriteLine($"Selected: {request.PaperReceptionType}");
}
}<FodReceptionMode Configuration="@_strictConfig" />
@code {
private ReceptionModeConfiguration _strictConfig = new()
{
GeneratesElectronicDocument = false,
OnStrictRecordForm = true,
AllowHomeDelivery = true,
AllowPersonalPickup = true
};
}