67 lines
2.9 KiB
HTML
67 lines
2.9 KiB
HTML
|
|
<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>
|