Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.vscode
.DS_Store
6 changes: 5 additions & 1 deletion tap_quickbooks/quickbooks/reportstreams/BaseReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ def _get_column_metadata(self, resp, schema=None):
LOGGER.info(f"Metadata for col {column.get('ColTitle')} not found, skipping.")
continue
# append col to columns
columns.append(schema.get(col_type))
col_title = column.get("ColTitle")
if col_title in schema.values():
columns.append(col_title.replace(" ", ""))
else:
columns.append(schema.get(col_type))
else:
if column.get("ColTitle") == "Memo/Description":
columns.append("Memo")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"rate": "Rate",
"account_name": "Account",
"split_acc": "Split",
"inv_date": "Invoice Date",
"inv_date": "InvoiceDate",
"is_ar_paid": "A/RPaid",
"is_ap_paid": "A/PPaid",
"is_cleared": "Clr",
Expand Down