Dev:Appointment statistics
Overview
The Overview Reports Page is designed to provide users with a concise and visually appealing view of available reports. Each report will be represented by a card containing essential information, such as an icon representing the report type, the report's name, and a brief summary. Users can easily navigate through the reports by clicking on a specific card, which will open the chosen report along with its detailed contents.
A consistent header at the top of the page with application name
Report Cards:
- A grid layout of report cards, each presenting a report's essential details.
- Each card consists of:
- An icon representing the report type (e.g., a graph icon for statistical reports, a document icon for textual reports).
- The name of the report (e.g., "Monthly Appointment Statistics Report").
- A brief summary (1-2 sentences) highlighting the report's key findings.
- A clickable area covering the entire card, making it easy for users to select a report.
Functionality:
- Each report card is interactive, responding to user's click.
- When a user clicks on a report card, the system will navigate to the detailed view of the chosen report

Appointment statistics report - details
The Report Page is designed to display the selected report's details and offer users the ability to interact with report inputs, download the report, save it as a template, and manage saved templates. The page includes a left sidebar featuring the report name and two tabs: "Report Inputs" and "Saved Templates."
Page Layout
Left Sidebar:
- Positioned on the left side of the page.
- Contains the header displaying the name of the current report.
- Includes two tabs:
- "Report Inputs": For configuring the report parameters.
- "Saved Templates": For managing saved report templates.
- Download Report Button:
- Located at the bottom of the "Report Inputs" section.
- Clicking this button generates the report based on the configured inputs and initiates a download of the report file (always Excel).
Save as a Template Button:
- Positioned below the "Download Report" button.
- Allows users to save the current input configuration as a template for future use.
Report inputs
- Name, mandatory, free text -Allows users to enter the name to be included in the report.
- Date Picker (Years Only, From-To):
- Enables users to select a range of years.
- Checkbox, current year, if selected To field is disabled
- Appointment Types Search Bar- include deactivated appointment types
- Users can search and select appointment types from a predefined list.
- Added Appointment Types Display:
- The selected appointment types are displayed as cards in a draggable list.
- Each card should clearly display the selected appointment type along with the "X" button for removal.
- Checkboxes, if any of the following are selected it will show in the report, user can choose multiple inputs
- Show Statistics per Appointment Variant, If the "Show Statistics per Appointment Variant" checkbox is selected, a new sheet is added to the XLS report.
- Include Cancelled Appointments, depending on the checkbox selections, new rows are added to the XLS report.
- Include No-show Appointments, depending on the checkbox selections, new rows are added to the XLS report.
- Include Deactivated appointment variations depending on the checkbox selections, new rows are added to the XLS report.
Saved templates
Saved templates list:
- Displays a list of saved report templates.
- Each entry includes the template name and potentially a preview of the configured inputs.
- Users can click on an entry to load and edit the template.
- Update template button allows user to update any changes made to chosen report
- Delete template button deletes selected template
Report Data Inputs Section
- Contains input controls for configuring report parameters, similar to the Report Inputs Page.
- Allows users to customize the report by adjusting input values.
Scheduling and sending section
Includes options for scheduling the report sending and adding recipients.
- Enables users to toggle scheduling for report sending.
- When enabled, additional options for scheduling become available.
- Each added email is displayed as a tag with an "X" button for removal.
- Users can select from various recurrency options: weekly, monthly, yearly, or none with specific time for the scheduled report to be sent.
Functionality
Input Validation
- Implement validation to ensure mandatory fields are filled
- Implement validation to ensure that date ranges are logical
- Implement validation that entered emails are in a proper email format before adding them.
- If user enters any input and tries to exit the page add a popup "You have unsaved work on this page. Leaving now will result in the loss of your changes. Are you sure you want to leave without saving? Yes/No"


| KEY | EN | DE |
|---|---|---|
| Report name | Bericht Name | |
| Appointment statistics | Statistik der Termin | |
| The appointment statistics report highlights monthly appointment figures for a chosen time frame and offers year-on-year percentage comparisons. | Der Bericht über die Berufungsstatistik zeigt die monatlichen Berufungszahlen für einen ausgewählten Zeitraum und bietet einen prozentualen Vergleich mit dem Vorjahr. | |
| Report Inputs | Bericht Eingaben | |
| Saved templates | Gespeicherte Vorlagen | |
| Download report | Bericht herunterladen | |
| Save as template | Als Vorlage speichern | |
| General information | Allgemeine Informationen | |
| Name | Name | |
| From year | Vom Jahr | |
| To year | Zum Jahr | |
| Appointment types | Terminarten | |
| Search and add | Suchen und auswählen | |
| Note: This order will be applied in the report | Hinweis: Diese Reihenfolge wird in den Bericht übernommen | |
| show statistics per appointment variant | Statistik pro Terminvariante anzeigen | |
| include cancelled appointments | abgesagte Termine einbeziehen | |
| include no show appointments | nicht wahrgenommene Termine einbeziehen | |
| include deactivated appointment variations | deaktivierte Terminvarianten einbeziehen | |
| Update template | Vorlage aktualisieren | |
| Delete template | Vorlage löschen | |
| Report data inputs | Dateneingaben melden | |
| current year | laufendes Jahr | |
| Schedule report | Zeitplan Bericht | |
| Recipients | Empfänger | |
| Send now | Jetzt abschicken | |
| Reccurency | Rekultivierung | |
| Weekly | Wöchentlich | |
| Mo, Tu, We, Th, Fr, Sa, Su | Mo, Di, Mi, Do, Fr, Sa, So | |
| at | auf | |
| hrs | Std | |
| Monthly | Monatlich | |
| of the month | des Monats | |
| Yearly | Jährlich | |
| None | Keine | |
| You have unsaved work on this page. Leaving now will result in the loss of your changes. Are you sure you want to leave without saving? Yes/No | Sie haben ungespeicherte Arbeit auf dieser Seite. Wenn Sie die Seite jetzt verlassen, gehen Ihre Änderungen verloren. Sind Sie sicher, dass Sie die Seite ohne zu speichern verlassen wollen? Ja/Nein |