Accounting translate module (#1799)
* feat:Accounting Translate Module * feat:Accounting Translate Module Updated Chart Account
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
<div *ngIf="!data.reverted; else reverted">
|
||||
|
||||
<h1 mat-dialog-title>Revert Transaction</h1>
|
||||
<h1 mat-dialog-title>{{ "labels.heading.Revert Transaction" |translate}}</h1>
|
||||
<div mat-dialog-content>
|
||||
<p>Are you sure you want to revert this transaction?</p>
|
||||
<p>{{"labels.text.Revert this transaction?" |translate}}</p>
|
||||
<mat-form-field fxFlexFill>
|
||||
<mat-label>Comments</mat-label>
|
||||
<mat-label>{{"labels.inputs.Comments" |translate}}</mat-label>
|
||||
<textarea matInput [formControl]="comments"></textarea>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-button mat-dialog-close>No</button>
|
||||
<button mat-button [mat-dialog-close]="{ revert: true, comments: comments.value }">Yes</button>
|
||||
<button mat-button mat-dialog-close>{{"labels.buttons.No" |translate}}</button>
|
||||
<button mat-button [mat-dialog-close]="{ revert: true, comments: comments.value }">{{"labels.buttons.Yes" |translate}}</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
</div>
|
||||
|
||||
<ng-template #reverted>
|
||||
|
||||
<h1 mat-dialog-title>Transaction Reverted</h1>
|
||||
<h1 mat-dialog-title>{{ "labels.heading.Transaction Reverted" |translate}}</h1>
|
||||
<div mat-dialog-content>
|
||||
<h4>Success!</h4>
|
||||
<p>A new journal entry has been created to reverse this transaction:</p>
|
||||
<p>Transaction ID: {{ data.transactionId }}</p>
|
||||
<h4>{{ "labels.heading.Success!" |translate}}</h4>
|
||||
<p>{{"labels.text.Journal entry reverse transaction" |translate}}</p>
|
||||
<p>{{"labels.text.Transaction ID" |translate}}: {{ data.transactionId }}</p>
|
||||
</div>
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-button mat-dialog-close>Close</button>
|
||||
<button mat-button [mat-dialog-close]="{ redirect: true }">Redirect to New Transaction</button>
|
||||
<button mat-button mat-dialog-close>{{"labels.buttons.Close" |translate}}</button>
|
||||
<button mat-button [mat-dialog-close]="{ redirect: true }">{{"labels.buttons.Redirect to New Transaction" |translate}}</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user