Homec4science

Support basic ad-hoc invoices in Phortune

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

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:

{F376999}

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:

{F377001}

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

{F377002}

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

{F377003}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

Details

Committed
epriestley <git@epriestley.com>Apr 20 2015, 19:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe0c95bca8631: Add a "Batch Edit Tasks..." action to workboard columns
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0195e751c64d: Support basic ad-hoc invoices in Phortune (authored by epriestley <git@epriestley.com>).Apr 20 2015, 19:05