- Hide Family Members tab/section for non-individual entities in client view, create flow, and preview - Hide Financial & Classification section for non-individual entities in personal data and preview - Fix legal form column in clients list — fetch legalForm from client API for correct display - Add person/business icon before client name in list rows - Remove unsupportedNpd filter — send authorizedSignatory, additionalInfo, dateOfRegistration to API - Add registration number format hint (mat-hint) based on constitution type - Add spacing between verification row and constitution type dropdowns - Reduce table cell padding and prevent action buttons from being clipped - Add missing MPL-2.0 license headers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
56 lines
2.2 KiB
HTML
56 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/.
|
|
-->
|
|
|
|
<div class="container m-b-20 layout-align-end">
|
|
<button mat-raised-button color="primary" [routerLink]="['../Take Survey']">
|
|
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
|
{{ 'labels.buttons.Take Survey' | translate }}
|
|
</button>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="layout-row">
|
|
<mat-form-field appearance="outline" class="flex-fill">
|
|
<mat-label>{{ 'labels.inputs.Filter' | translate }}</mat-label>
|
|
<i matPrefix class="fas fa-search"></i>
|
|
<input matInput (keyup)="applyFilter($event.target.value)" />
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="mat-elevation-z8">
|
|
<table mat-table [dataSource]="dataSource" matSort>
|
|
<ng-container matColumnDef="surveyName">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header="surveyName">{{ 'labels.inputs.Survey' | translate }}</th>
|
|
<td mat-cell *matCellDef="let survey">{{ survey.surveyName }}</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="createdBy">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header="createdBy">
|
|
{{ 'labels.inputs.Created By' | translate }}
|
|
</th>
|
|
<td mat-cell *matCellDef="let survey">{{ survey.createdBy }}</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="date">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.DateTime' | translate }}</th>
|
|
<td mat-cell *matCellDef="let survey">{{ survey.date | datetimeFormat }}</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="score">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.Score' | translate }}</th>
|
|
<td mat-cell *matCellDef="let survey">{{ survey.score | formatNumber }}</td>
|
|
</ng-container>
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
</table>
|
|
|
|
<mat-paginator [pageSizeOptions]="[10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
|
|
</div>
|
|
</div>
|