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: Filter out orders without generated invoices #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taratatach
Copy link
Collaborator

Coopcycle does not generate invoices until explicitly requested by
the user.
They've recently changed their generation modal, asking if a given
address should be used for billing but we don't yet offer our users
this option in the connector configuration so we leave it to the user
to generate the invoices on the provider's website.

This means that some orders won't have a fileurl and should be
filtered out of the saveFiles and saveBills calls.

  Coopcycle does not generate invoices until explicitly requested by
  the user.
  They've recently changed their generation modal, asking if a given
  address should be used for billing but we don't yet offer our users
  this option in the connector configuration so we leave it to the user
  to generate the invoices on the provider's website.

  This means that some orders won't have a fileurl and should be
  filtered out of the `saveFiles` and `saveBills` calls.
@taratatach taratatach requested a review from LucsT January 2, 2021 15:13
@taratatach taratatach self-assigned this Jan 2, 2021
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.

None yet

2 participants