diff --git a/src/app/api/payments/lists/payment-lists.service.ts b/src/app/api/payments/lists/payment-lists.service.ts index 0a1f236..101ee34 100644 --- a/src/app/api/payments/lists/payment-lists.service.ts +++ b/src/app/api/payments/lists/payment-lists.service.ts @@ -61,6 +61,7 @@ export class PaymentListsService { saveListsRowsFromFile(listType: ListType, file: File): Observable { const formData: FormData = new FormData(); formData.append('file', file, file.name); + formData.append('listType', listType); return this.http.post(`${this.fbPaymentReferenceEndpoint}/csv`, formData, { reportProgress: true, observe: 'events', diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts index 4c58294..0185c42 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-data.component.ts @@ -28,7 +28,7 @@ export class HistoricalInspectResultsDataComponent { private initParams(event) { return { - paymentId: event.paymentId, + paymentId: event.id, cardToken: event.cardToken, shopId: event.shopId, partyId: event.partyId, diff --git a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html index 3f9d298..8b3b51d 100644 --- a/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html +++ b/src/app/sections/historical-data/components/inspect-results/historical-inspect-results-list/components/template-item/historical-data-inspect-results-item.component.html @@ -13,11 +13,11 @@
{{ inspectResult.payment.clientInfo.email }}
{{ inspectResult.ruleChecked }}
diff --git a/src/app/shared/components/wb-list/components/add-row-list/add-row-list.component.html b/src/app/shared/components/wb-list/components/add-row-list/add-row-list.component.html index 2bb8bf3..db900da 100644 --- a/src/app/shared/components/wb-list/components/add-row-list/add-row-list.component.html +++ b/src/app/shared/components/wb-list/components/add-row-list/add-row-list.component.html @@ -69,8 +69,7 @@ type="file" #fileDropRef id="fileDropRef" - multiple - (change)="prepareFilesList($event.target.files)" + (change)="saveFileWithList($event.target.files[0])" />