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

Add capacity to auto-increase line item budgets #933

Open
leichter opened this issue Jun 9, 2016 · 0 comments
Open

Add capacity to auto-increase line item budgets #933

leichter opened this issue Jun 9, 2016 · 0 comments

Comments

@leichter
Copy link
Owner

leichter commented Jun 9, 2016

When a showcase user receives additional funds (promotion or payment), watchman will auto-increase their campaign budget + beeswax campaign budget appropriately. However, once the campaign has line items setup in beeswax, we need to increase their budgets as well. Rather than attempting to notify lauren to do this manually, we should look to build a solution to auto-increase line item budgets appropriately.

Not sure where it would make the most sense for this code to go, as this will likely be a more temporary solution until we actually build a service for creating line items in our database. The process should basically look like this though:

  • after editing beeswax external campaign + increasing budget by X
  • query beeswax for all line items tied to the beeswax campaign
  • edit each line item + increase the budget by X / lineItems.length

cc @minznerjosh @ScottBouloutian @howardengelhart

@leichter leichter self-assigned this Jun 9, 2016
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

No branches or pull requests

1 participant