Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show bank account details on invoices #1908

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

apoorv1316
Copy link
Contributor

Fixes #1890

TODO

  • Minor refactoring
  • Specs
  • UI Integration @Shruti-Apte will work on

Comment on lines 180 to 182
def bank_account_details
company.bank_account
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is not needed.

Comment on lines 3 to 10
if bank_account.present?
json.bank_name bank_account.bank_name
json.account_type bank_account.account_type.capitalize
json.routing_number bank_account.routing_number
json.account_number bank_account.account_number
else
json.null!
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this condition is needed here.

@apoorv1316 apoorv1316 force-pushed the show-bank-account-details-on-invoices branch from d100b4f to fa40a0f Compare October 24, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoices improvements: Add wire/bank details section
2 participants