TT#71313 fix tz selector field for subscribers

Change-Id: Ie1632eb172db35b551865b0de868b39960c28a9f
changes/94/35594/3
Rene Krenn 6 years ago
parent 7a61d765d2
commit e3c87a160d

@ -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