HomePhabricator

Give Phortune carts a proper `isInvoice` flag

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.

Screen_Shot_2015-04-20_at_9.05.49_AM.png (130×1 px, 25 KB)

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Apr 20 2015, 5:05 PM
Reviewer
btrahan
Differential Revision
D12480: Give Phortune carts a proper `isInvoice` flag
Parents
rP0195e751c64d: Support basic ad-hoc invoices in Phortune
Branches
Unknown
Tags
Unknown