|
|
@ -24,7 +24,7 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</ng-template>
|
|
|
|
</ng-template>
|
|
|
|
<div class="pt-3">
|
|
|
|
<div class="pt-3">
|
|
|
|
<ng-container *ngIf="mode === 'DIVIDEND'; else selectFile">
|
|
|
|
@if (mode === 'DIVIDEND') {
|
|
|
|
<form
|
|
|
|
<form
|
|
|
|
[formGroup]="uniqueAssetForm"
|
|
|
|
[formGroup]="uniqueAssetForm"
|
|
|
|
(ngSubmit)="onLoadDividends(stepper)"
|
|
|
|
(ngSubmit)="onLoadDividends(stepper)"
|
|
|
@ -66,8 +66,7 @@
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</ng-container>
|
|
|
|
} @else {
|
|
|
|
<ng-template #selectFile>
|
|
|
|
|
|
|
|
<div class="d-flex flex-column justify-content-center">
|
|
|
|
<div class="d-flex flex-column justify-content-center">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
class="drop-area p-4 text-center text-muted"
|
|
|
|
class="drop-area p-4 text-center text-muted"
|
|
|
@ -101,7 +100,7 @@
|
|
|
|
</small>
|
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</mat-step>
|
|
|
|
</mat-step>
|
|
|
|
|
|
|
|
|
|
|
@ -115,7 +114,7 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</ng-template>
|
|
|
|
</ng-template>
|
|
|
|
<div class="pt-3">
|
|
|
|
<div class="pt-3">
|
|
|
|
<ng-container *ngIf="errorMessages?.length === 0; else errorMessage">
|
|
|
|
@if(errorMessages?.length === 0) {
|
|
|
|
<gf-activities-table
|
|
|
|
<gf-activities-table
|
|
|
|
*ngIf="importStep === 1"
|
|
|
|
*ngIf="importStep === 1"
|
|
|
|
[baseCurrency]="data?.user?.settings?.baseCurrency"
|
|
|
|
[baseCurrency]="data?.user?.settings?.baseCurrency"
|
|
|
@ -151,8 +150,7 @@
|
|
|
|
<ng-container i18n>Import</ng-container>
|
|
|
|
<ng-container i18n>Import</ng-container>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
} @else {
|
|
|
|
<ng-template #errorMessage>
|
|
|
|
|
|
|
|
<mat-accordion displayMode="flat">
|
|
|
|
<mat-accordion displayMode="flat">
|
|
|
|
<mat-expansion-panel
|
|
|
|
<mat-expansion-panel
|
|
|
|
*ngFor="let message of errorMessages; let i = index"
|
|
|
|
*ngFor="let message of errorMessages; let i = index"
|
|
|
@ -187,7 +185,7 @@
|
|
|
|
<ng-container i18n>Import</ng-container>
|
|
|
|
<ng-container i18n>Import</ng-container>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</mat-step>
|
|
|
|
</mat-step>
|
|
|
|
</mat-stepper>
|
|
|
|
</mat-stepper>
|
|
|
|