Commit Graph

5 Commits

Author SHA1 Message Date
Fei Long Wang 3bcd260b27 Include free router and network credit into total cost
Two small fix including in this patch:

1. Including the free router and free network into the current month
quotation.
2. Fix small typo

Change-Id: I0e2e1ae321687211ee79c304e9a2ade709441a4c
2019-01-09 14:09:02 +13:00
Feilong Wang 00b8e4b19d Improve error catching
Currently the error catching for billing panel is not good, which
may lead user see the general error page. The UX is bad. This patch
is adding a try/except to cover all API calls to Distil to avoid
above issue.

Change-Id: I4abe065d41675933c6ee6be7b82111ce1c149a2c
2018-07-18 14:49:29 +12:00
Amelia Cordwell d7282f9d15 Refactor distil api for distil v2
* Support displaying balance of credits
* Fewer API calls
* Returns data across all regions instead of just the current one
* Support viewing details for previous invoices
* Highlight unpaid invoices

Change-Id: Ic0f950948c83e76d760123046e8ffbd12dd632dd
2017-09-26 06:28:02 +13:00
Fei Long Wang 2f5333889b Fix wrong host of resource URL
Change-Id: I43bbc8d066cd32789dc3e33c0e06d04d0ead3db6
2017-05-25 23:59:41 +00:00
Fei Long Wang 502b3eb286 Init commit for Distil UI
Some specific Catalyst Cloud stuff are here and there, they will be cleaned
up later after we migrated to Distil v2.

Change-Id: I81df0765cfc876faaa58a43469d87825d30c167e
2017-04-10 11:35:31 +12:00