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

fix (integration-customers): adapt integration customer queries #2269

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

Improve integration customer queries

Description

Currently Accounting integrations, Netsuite and Xero, are supported in Lago but tax integration Anrok is currently being implemented.

This PR improves existing integration customers queries. Customer can have attached ONLY one accounting integration and ONLY one tax integration, but we want to avoid case that tax integration customer is returned in accounting context.

db/schema.rb Outdated Show resolved Hide resolved
db/schema.rb Outdated Show resolved Hide resolved
@ivannovosad ivannovosad self-requested a review July 10, 2024 11:06
@lovrocolic lovrocolic merged commit 44ccecb into main Jul 10, 2024
6 checks passed
@lovrocolic lovrocolic deleted the fix-int-customer-queries branch July 10, 2024 11:13
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
…ago#2269)

## Context

Improve integration customer queries

## Description

Currently Accounting integrations, Netsuite and Xero, are supported in
Lago but tax integration Anrok is currently being implemented.

This PR improves existing integration customers queries. Customer can
have attached ONLY one accounting integration and ONLY one tax
integration, but we want to avoid case that tax integration customer is
returned in accounting context.
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.

2 participants