Skip to content

Commit

Permalink
lineitem
Browse files Browse the repository at this point in the history
  • Loading branch information
anishfyle committed Nov 19, 2024
1 parent 069713d commit 123a05b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/quickbooks_online/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def get_expense_purpose(workspace_id, lineitem, category, workspace_general_sett

details = {
'employee_email': lineitem.employee_email,
'employee_name': lineitem.employee_name,
'card_number': '{0}'.format(lineitem.masked_corporate_card_number) if lineitem.masked_corporate_card_number else '',
'merchant': '{0}'.format(lineitem.vendor) if lineitem.vendor else '',
'category': '{0}'.format(category) if lineitem.category else '',
'purpose': '{0}'.format(lineitem.purpose) if lineitem.purpose else '',
Expand Down

0 comments on commit 123a05b

Please sign in to comment.