Removes the Undo button and Undo menu item from savings, current, fixed deposit, recurring deposit and loan transactions, the account-transfer Undo, and the Revert Transaction button on the journal entry transaction detail, to prevent accidental reversal of posted entries. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
82 lines
2.4 KiB
HTML
82 lines
2.4 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 align-end-center gap-2percent"></div>
|
|
<div class="container">
|
|
<mat-card>
|
|
<mat-card-content>
|
|
<div class="layout-row-wrap">
|
|
<div class="flex-100" [ngClass]="transactionColor()"></div>
|
|
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Transaction Id' | translate }}
|
|
</div>
|
|
|
|
<div class="flex-50">
|
|
{{ transactionData.id }}
|
|
</div>
|
|
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Type' | translate }}
|
|
</div>
|
|
|
|
<div class="flex-50">
|
|
{{ transactionData.transactionType.value }}
|
|
</div>
|
|
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Transaction Date' | translate }}
|
|
</div>
|
|
|
|
<div class="flex-50">
|
|
{{ transactionData.date | dateFormat }}
|
|
</div>
|
|
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Currency' | translate }}
|
|
</div>
|
|
|
|
<div class="flex-50">
|
|
{{ transactionData.currency.displayLabel }}
|
|
</div>
|
|
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Amount' | translate }}
|
|
</div>
|
|
|
|
<div class="flex-50">
|
|
{{ transactionData.amount | currency: transactionData.currency.code : 'symbol-narrow' : '1.2-2' }}
|
|
</div>
|
|
|
|
@if (transactionData.note) {
|
|
<div class="flex-50 mat-body-strong">
|
|
{{ 'labels.inputs.Note' | translate }}
|
|
</div>
|
|
}
|
|
|
|
@if (transactionData.note) {
|
|
<div class="flex-50">
|
|
{{ transactionData.note }}
|
|
</div>
|
|
}
|
|
|
|
@if (transactionData.paymentDetailData) {
|
|
<mifosx-transaction-payment-detail [paymentDetailData]="transactionData.paymentDetailData">
|
|
</mifosx-transaction-payment-detail>
|
|
}
|
|
</div>
|
|
|
|
<div class="layout-row layout-align-center gap-2percent column-on-mobile">
|
|
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">
|
|
{{ 'labels.buttons.Back' | translate }}
|
|
</button>
|
|
</div>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|