TT#71313 fix tz selector field for subscribers

Change-Id: Ie1632eb172db35b551865b0de868b39960c28a9f
(cherry picked from commit e3c87a160d)
changes/45/35645/1
Rene Krenn 6 years ago
parent 0bf7005b4a
commit 59a0beaba1

@ -93,7 +93,7 @@ sub get_parent_info {
if ($type eq 'subscriber') {
$tz_owner_parent_type = 'contract';
#billing subscriber
$tz_owner_parent_id = $owner_tz->contract->id;
$tz_owner_parent_id = $owner_tz->voip_subscriber->contract->id;
} elsif ($type eq 'contract') {
$tz_owner_parent_type = 'reseller';
#billing subscriber

Loading…
Cancel
Save