Skip to content

Commit

Permalink
fix: netsuite > category mapping errors > dialogue > table header text (
Browse files Browse the repository at this point in the history
#1045)

* fix: netsuite dashboard > category mapping errors > dialogue > table header text

bugfix to show "Expense Category" instead of "Account" in the table header when ccc export type is Expense Report.

* fix: import path breaking compilation

* fix: missing qbd direct environment variable breaking compilation

* test: disable unwritten qbd direct integration tests
  • Loading branch information
1 parent 0186a44 commit c107ffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class NetsuiteDashboardComponent implements OnInit {
}
this.destinationFieldMap = {
EMPLOYEE: responses[4].configuration.employee_field_mapping,
CATEGORY: (responses[4].configuration.reimbursable_expenses_object === NetsuiteReimbursableExpensesObject.EXPENSE_REPORT || responses[3].corporate_credit_card_expenses_object === NetSuiteCorporateCreditCardExpensesObject.EXPENSE_REPORT) ? NetsuiteCategoryDestination.EXPENSE_CATEGORY : NetsuiteCategoryDestination.ACCOUNT
CATEGORY: (responses[4].configuration.reimbursable_expenses_object === NetsuiteReimbursableExpensesObject.EXPENSE_REPORT || responses[4].configuration.corporate_credit_card_expenses_object === NetSuiteCorporateCreditCardExpensesObject.EXPENSE_REPORT) ? NetsuiteCategoryDestination.EXPENSE_CATEGORY : NetsuiteCategoryDestination.ACCOUNT
};

this.isLoading = false;
Expand Down

0 comments on commit c107ffd

Please sign in to comment.