76 lines
2.2 KiB
HTML
76 lines
2.2 KiB
HTML
<!--
|
|
Copyright since 2025 Mifos Initiative
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<h2 mat-dialog-title class="saecd-title">
|
|
<mat-icon class="saecd-title__icon">difference</mat-icon>
|
|
<span>
|
|
Proposed changes — <strong>{{ accountNo }}</strong>
|
|
</span>
|
|
</h2>
|
|
|
|
<div mat-dialog-content class="saecd-content">
|
|
@if (facilityRows.length === 0 && nomineeRows.length === 0) {
|
|
<div class="saecd-empty">
|
|
<mat-icon class="saecd-empty__icon">check_circle</mat-icon>
|
|
<p class="saecd-empty__title">No changes to review</p>
|
|
<p class="saecd-empty__text">This edit was submitted without changing any feature or nominee value.</p>
|
|
</div>
|
|
}
|
|
|
|
@if (facilityRows.length > 0) {
|
|
<h3 class="saecd-section">Digital & Account Features</h3>
|
|
<table class="saecd-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Feature</th>
|
|
<th>Current</th>
|
|
<th>Proposed</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@for (row of facilityRows; track row.label) {
|
|
<tr>
|
|
<td class="saecd-table__label">{{ row.label }}</td>
|
|
<td class="saecd-table__old">{{ row.current }}</td>
|
|
<td class="saecd-table__new">{{ row.proposed }}</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
|
|
@if (nomineeRows.length > 0) {
|
|
<h3 class="saecd-section">Nominee Change</h3>
|
|
<table class="saecd-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Field</th>
|
|
<th>Current</th>
|
|
<th>Proposed</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@for (row of nomineeRows; track row.label) {
|
|
<tr>
|
|
<td class="saecd-table__label">{{ row.label }}</td>
|
|
<td class="saecd-table__old">{{ row.current }}</td>
|
|
<td class="saecd-table__new">{{ row.proposed }}</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
|
|
@if (rejectReason) {
|
|
<p class="saecd-reject-reason"><strong>Reject Reason:</strong> {{ rejectReason }}</p>
|
|
}
|
|
</div>
|
|
|
|
<mat-dialog-actions align="end">
|
|
<button mat-button mat-dialog-close>{{ 'labels.buttons.Close' | translate }}</button>
|
|
</mat-dialog-actions>
|