Skip to content

Commit

Permalink
Merge pull request #398 from ZIMkaRU/feature/add-source-field-to-csv-…
Browse files Browse the repository at this point in the history
…pdf-of-tax-report

Add source field to csv/pdf of tax report
  • Loading branch information
ezewer authored Jul 30, 2024
2 parents 42a6a5d + 10f2357 commit 3780a60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workers/loc.api/generate-report-file/report.file.job.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ class ReportFileJobData extends BaseReportFileJobData {
args: reportFileArgs,
propNameForPagination: null,
columnsCsv: {
asset: 'DESCRIPTION OF PROPERTY',
asset: 'CURRENCY',
type: 'SOURCE',
amount: 'AMOUNT',
mtsAcquired: 'DATE ACQUIRED',
mtsSold: 'DATE SOLD',
Expand All @@ -564,6 +565,7 @@ class ReportFileJobData extends BaseReportFileJobData {
},
formatSettings: {
asset: 'symbol',
type: 'lowerCaseWithUpperFirst',
mtsAcquired: 'date',
mtsSold: 'date'
}
Expand Down

0 comments on commit 3780a60

Please sign in to comment.