TT#44806 Fix product info in subscribers preferences template

Change-Id: I0d0eb59595c7d23234256a3e57e2d746a973d72e
changes/78/24278/5
Irina Peshinskaya 7 years ago
parent 85c2292fd0
commit a98bdfccc2

@ -600,8 +600,7 @@ $( document ).ready(function() {
</div>
</div>
[% END -%]
[% IF c.config.features.cloudpbx && billing_mapping.product.class == 'pbxaccount' && (
[% IF c.config.features.cloudpbx && subscriber.contract.product.class == 'pbxaccount' && (
((c.user.roles == "subscriber" || c.user.roles == "subscriberadmin") && special_prefs.check && special_prefs.auto_attendant.active) ||
((c.user.roles == "subscriber" || c.user.roles == "subscriberadmin") && !special_prefs.check) ||
c.user.roles == "admin" || c.user.roles == "reseller"

Loading…
Cancel
Save