-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2203 from softlayer/issues2201
Sums up child items in invoices-detail
- Loading branch information
Showing
5 changed files
with
123 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,49 @@ | ||
getInvoiceTopLevelItems = [ | ||
{ | ||
'categoryCode': 'sov_sec_ip_addresses_priv', | ||
'createDate': '2018-04-04T23:15:20-06:00', | ||
'description': '64 Portable Private IP Addresses', | ||
'id': 724951323, | ||
'oneTimeAfterTaxAmount': '0', | ||
'recurringAfterTaxAmount': '0', | ||
'hostName': 'bleg', | ||
'domainName': 'beh.com', | ||
'category': {'name': 'Private (only) Secondary VLAN IP Addresses'}, | ||
'children': [ | ||
"categoryCode": "sov_sec_ip_addresses_priv", | ||
"createDate": "2018-04-04T23:15:20-06:00", | ||
"description": "64 Portable Private IP Addresses", | ||
"id": 724951323, | ||
"oneTimeAfterTaxAmount": "0", | ||
"recurringAfterTaxAmount": "0", | ||
"hostName": "bleg", | ||
"domainName": "beh.com", | ||
"category": {"name": "Private (only) Secondary VLAN IP Addresses"}, | ||
"children": [ | ||
{ | ||
'id': 12345, | ||
'category': {'name': 'Fake Child Category'}, | ||
'description': 'Blah', | ||
'oneTimeAfterTaxAmount': 55.50, | ||
'recurringAfterTaxAmount': 0.10 | ||
"id": 12345, | ||
"category": {"name": "Fake Child Category"}, | ||
"description": "Blah", | ||
"oneTimeAfterTaxAmount": 55.50, | ||
"recurringAfterTaxAmount": 0.10 | ||
} | ||
], | ||
'location': {'name': 'fra02'} | ||
"location": {"name": "fra02"} | ||
}, | ||
{ | ||
"categoryCode": "reserved_capacity", | ||
"createDate": "2024-07-03T22:08:36-07:00", | ||
"description": "B1.1x2 (1 Year Term) (721hrs * .025)", | ||
"id": 1111222, | ||
"oneTimeAfterTaxAmount": "0", | ||
"recurringAfterTaxAmount": "18.03", | ||
"category": {"name": "Reserved Capacity"}, | ||
"children": [ | ||
{ | ||
"description": "1 x 2.0 GHz or higher Core", | ||
"id": 29819, | ||
"oneTimeAfterTaxAmount": "0", | ||
"recurringAfterTaxAmount": "10.00", | ||
"category": {"name": "Computing Instance"} | ||
}, | ||
{ | ||
"description": "2 GB", | ||
"id": 123456, | ||
"oneTimeAfterTaxAmount": "0", | ||
"recurringAfterTaxAmount": "2.33", | ||
"category": {"name": "RAM"} | ||
} | ||
], | ||
"location": {"name": "dal10"} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters