Actions
Bug #23535
closedSubscription quantity available should not show less than -1
Description
-1 signifies an unlimited subscription. Lower than that is meaningless and confusing!
from /organizations/:id/subscriptions
{
"id": 8,
"cp_id": "4028f92462e434240162e4388ed20001",
"subscription_id": 6,
"name": "ZooProduct",
"start_date": "2018-04-20 14:02:12 -0400",
"end_date": "2048-04-12 13:02:12 -0500",
"available": -2,
"quantity": -1,
"consumed": 1,
"account_number": null,
"contract_number": null,
"support_level": null,
"product_id": "405389364906",
"sockets": null,
"cores": null,
"ram": null,
"instance_multiplier": 1,
"stacking_id": null,
"multi_entitlement": null,
"type": "NORMAL",
"product_name": "ZooProduct",
"unmapped_guest": false,
"virt_only": false,
"virt_who": false,
"upstream": false
}
Actions