HomePhabricator

Support basic ad-hoc invoices in Phortune

Tags
None
Referenced Files
F377002: Screen_Shot_2015-04-20_at_8.35.30_AM.png
Apr 20 2015, 5:05 PM
F377003: Screen_Shot_2015-04-20_at_8.35.51_AM.png
Apr 20 2015, 5:05 PM
F376999: Screen_Shot_2015-04-20_at_8.34.29_AM.png
Apr 20 2015, 5:05 PM
F377001: Screen_Shot_2015-04-20_at_8.35.24_AM.png
Apr 20 2015, 5:05 PM
Subscribers
None

Description

Support basic ad-hoc invoices in Phortune

Summary:
This allows a merchant to send a user an invoice for something arbitrary, like services rendered.

Two major missing parts:

  • These don't actually get marked as invoices. I'll fix that in the next diff, but it's not entirely trivial because subscriptionPHID is currently overloaded to also mean "is invoice".
  • We don't send email automatically. I don't plan to fix that for now, since all our invoicing needs are covered by personal email.

Test Plan:
Merchants have a new "new invoice" option:

Screen_Shot_2015-04-20_at_8.34.29_AM.png (600×988 px, 37 KB)

This leads to selecting a user and account, and then you can generate the invoice (only one actual "purchase" / line item for the moment). You can add a longer-form remarkup description to contextualize the billable items:

Screen_Shot_2015-04-20_at_8.35.24_AM.png (1×2 px, 414 KB)

This sends the invoice and takes you to the merchant order overview screen:

Screen_Shot_2015-04-20_at_8.35.30_AM.png (1×2 px, 453 KB)

For now, you copy/paste that link into a nice personal enterprisey business-to-business email; the recipient sees this:

Screen_Shot_2015-04-20_at_8.35.51_AM.png (1×2 px, 484 KB)

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Apr 20 2015, 5:05 PM
Reviewer
btrahan
Differential Revision
D12478: Support basic ad-hoc invoices in Phortune
Parents
rPe0c95bca8631: Add a "Batch Edit Tasks..." action to workboard columns
Branches
Unknown
Tags
Unknown