Homec4science

Give Phortune carts a proper `isInvoice` flag

Authored by epriestley <git@epriestley.com> on Apr 20 2015, 19:05.

Description

Give Phortune carts a proper isInvoice flag

Summary:
See some earlier discussion in D11593:

One thing I'm vaguely thinking about is the possibilty that users may be able to invoice one another directly, eventually. For example, we might invoice a contracting client.
We might need an isInvoice flag eventually, but subscriptionPHID is a reasonable stand-in for now.

This adds such a flag.

Test Plan:

  • Generated an ad-hoc invoice and verified it showed up in the right place.
  • Used bin/phortune invoice to invoice a subscription and verified it worked correctly.
  • Paid an invoice and saw it leave "pending invoices" status.

{F377029}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12480

Details

Committed
epriestley <git@epriestley.com>Apr 20 2015, 19:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0195e751c64d: Support basic ad-hoc invoices in Phortune
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH01c99335fdd7: Give Phortune carts a proper `isInvoice` flag (authored by epriestley <git@epriestley.com>).Apr 20 2015, 19:05