Tariff Transformation
Wholesale tariffs can be transformed to user retail tariffs. It can be done in main tariffs window pressing on Make user retail tariff (this link appears when tariff has at least one rate):
Enter values you want to add to values from wholesale tariff to retail tariff. 3 cases possible:
Let's say X is wholesale rate
1. You enter value Y into Add amount field then:
Retail rate will be X + Y
2. You enter value Z into Add percent field then:
Retail rate will be X + (X/100 * Z)
3. You enter value Y into Add amount field AND Z into Add percent field then:
Retail rate will be (X + Y) + ((X + Y) / 100 * Z)
NOTE: Largest value from wholesale tariff is taken for Destination group in retail tariff (by prefix) when doing this transformation. For more detailed explanation check here.
HINT: this function can be used when importing user retail tariff. At first you create fake provider, import rate for him and transform to user retail tariff with values 0/0.
See also: