Skip to content
Snippets Groups Projects
user avatar
Merge branch 'BRCD-405-BC' into 'version_52'
Ariel Halperin authored
Service price and cycle backward capability - set price and unlimited

@ofer.cohen , @killawatt 

this solution check if item has array of prices (new format).
if not it create the new structure with default Unlimited and old price.
In the UI its look good now but the problem is that it not display database snapshot.

Example : 
`
{
  "name": "SERVICE2",
  "description": "SERVICE2 edit",
  "price": NumberLong(33),
  "from": ISODate("2016-10-13T14:13:32.179Z"),
  "to": ISODate("2116-10-11T09:06:39.199Z"),
  "include": {
    "groups": {
      "PPP": {
        "call": NumberLong(123)
      }
    }
  }
}
`

and in UI : 
![image](/uploads/b8f7e35888aa75afe94db262adb3bd47/image.png)

See merge request !278
bcf00dc0
History