Skip to content

Commit

Permalink
fix(condo): DOMA-9806 fixed generate reports of property. And fixed t…
Browse files Browse the repository at this point in the history
…ask launcher (#5022)

* fix(condo): DOMA-9806 fixed generate reports of property

* fix(condo): DOMA-9805 fixed task launcher
  • Loading branch information
Alllex202 authored Jul 26, 2024
1 parent 3751f42 commit 44605e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/condo/domains/banking/tasks/generateReports.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ const generateReports = async (taskId) => {
organization: { id: organization.id },
isLatest: true,
}, { sortBy: ['createdAt_ASC'] })
const amount = get(bankIntegrationAccountContext, 'meta.amount')
const payload = {
data,
version: 1,
Expand All @@ -262,7 +263,7 @@ const generateReports = async (taskId) => {
totalIncome: monthTurnovers[index].totalIncome,
totalOutcome: monthTurnovers[index].totalOutcome,
template: EXPENSES_GROUPED_BY_CATEGORY_AND_COST_ITEM,
amount: get(bankIntegrationAccountContext, 'meta.amount'),
amount: typeof amount === 'number' ? String(amount) : amount,
amountAt: get(bankIntegrationAccountContext, 'meta.amountAt'),
...DV_SENDER,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const TaskProgress = ({ task, translations, progress, removeTask, isDeskt
)}
</Space>
{
!isAllTasksFinished
!isAllTasksFinished || task.status === TASK_ERROR_STATUS
? (<TaskIconsHoverSwitcher
progress={progress}
taskStatus={task.status}
Expand Down

0 comments on commit 44605e1

Please sign in to comment.