Files
cbsnexora/src/app/clients/clients-view/custom-dialogs/view-signature-dialog/view-signature-dialog.component.html
T

36 lines
1.0 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/.
-->
<h1 mat-dialog-title>{{ 'labels.heading.View Client Signature' | translate }}</h1>
@if (signatureId) {
<div mat-dialog-content>
<img [src]="signatureImage" alt="Signature" />
</div>
}
@if (!signatureId) {
<div mat-dialog-content>
<p>{{ 'labels.text.Client Signature is not provided.' | translate }}</p>
</div>
}
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>{{ 'labels.buttons.Close' | translate }}</button>
@if (signatureId) {
<button mat-raised-button color="warn" [mat-dialog-close]="{ delete: true }">
{{ 'labels.buttons.Delete' | translate }}
</button>
}
@if (!signatureId) {
<button mat-raised-button color="primary" [mat-dialog-close]="{ upload: true }">
{{ 'labels.buttons.Upload' | translate }}
</button>
}
</mat-dialog-actions>