HRM-10/HRM.UI/ClientApp/src/app/fund-admin/month-end/month-end.component.html
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

67 lines
2.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<app-loading-panel></app-loading-panel>
<div class="month-end-card">
<header class="card-header">
<div class="header-left">
<h2 class="card-title">Month‑End Processing</h2>
<p class="card-subtitle">Select a fund and confirm the month before running the update.</p>
</div>
<div class="header-right">
<small class="status-pill">Safe · Changes are logged</small>
</div>
</header>
<form class="card-body" (ngSubmit)="onProcessAction(true)" role="form" novalidate>
<div class="controls-grid">
<label for="fundType" class="control-label">Fund Type</label>
<kendo-dropdownlist id="fundType"
name="fundType"
[data]="fundTypes"
[(ngModel)]="fundService.selectedFundTypeID"
[defaultItem]="{ name: 'Select a type', id: null }"
[textField]="'name'"
[valueField]="'id'"
[valuePrimitive]="true"
(selectionChange)="fundService.fundTypeChange($event)"
(valueChange)="fundTypeValueChange($event)"
style="width:100%;"
aria-label="Fund Type">
</kendo-dropdownlist>
<label for="currentMonth" class="control-label">Current Month</label>
<kendo-datepicker id="currentMonth"
name="currentMonth"
[(ngModel)]="currentDate"
[disabled]="true"
[format]="'MMM yyyy'"
style="width:100%;"
aria-label="Current Month">
</kendo-datepicker>
<label for="nextMonth" class="control-label">Next Month</label>
<kendo-datepicker id="nextMonth"
name="nextMonth"
[(ngModel)]="today"
[format]="'MMM yyyy'"
style="width:100%;"
aria-label="Next Month">
</kendo-datepicker>
<div class="help-text" aria-hidden="true">
<small>Tip: Verify the fund before updating month‑end.</small>
</div>
<div class="actions">
<button kendoButton
type="submit"
class="k-button k-primary update-btn"
[svgIcon]="apiService.KendoSVGIcon['save']"
[disabled]="!fundService.selectedFundTypeID"
title="Run month-end update">
Update
</button>
</div>
</div>
</form>
</div>