Revize 8d0578dc
Přidáno uživatelem Filip Miškařík před téměř 5 roky(ů)
application/views/members/show.php | ||
---|---|---|
<?php endif ?>
|
||
<?php } ?>
|
||
<?php } ?>
|
||
<?php if (Settings::get('voip_enabled') && $billing_has_driver && ($billing_account != null))
|
||
{ ?>
|
||
<tr>
|
||
<th colspan="2"><?php echo __('VoIP information') ?></th>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('State') ?></th>
|
||
<td><?php echo ($billing_account->state == 'active') ? '<b style="color:green">'.__('Active').'</b>' : '<b style="color:red">'.__('Inactive').'</b>' ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('Current credit') ?></th>
|
||
<td><?php echo $billing_account->ballance.' '.$billing_account->currency.((!$is_association)? ' - '.html::anchor(url_lang::base().'transfers/add_voip/'.$account->id, __('Recharge')):''); ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('Limit') ?></th>
|
||
<td><?php echo $billing_account->limit.' '.$billing_account->currency.' - '.html::anchor(url_lang::base().'voip/change_member_limit/'.$member->id, __('Change')); ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('Type') ?></th>
|
||
<td><?php echo ($billing_account->type == 'prepaid') ? __('Prepaid') : __('Postpaid') ?></td>
|
||
</tr>
|
||
<?php }
|
||
elseif ($count_voip != 0)
|
||
{ ?>
|
||
<tr>
|
||
<th colspan="2"><?php echo __('VoIP information') ?></th>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo __('State') ?></th>
|
||
<td><?php echo '<b style="color:darkorange" title="'.__('Registration will be activated after midnight.').'">'.__('Waiting for registration').'</b>' ?></td>
|
||
</tr>
|
||
<?php } ?>
|
||
<?php if ($this->acl_check_view('Members_Controller', 'qos_ceil', $member->id) &&
|
||
$this->acl_check_view('Members_Controller', 'qos_rate', $member->id) &&
|
||
$member->speed_class_id
|
||
... | ... | |
<br />
|
||
<?php endif ?>
|
||
|
||
<?php if (Settings::get('voip_enabled') && !empty($voip_grid)): ?>
|
||
<h3><?php echo __('VoIP')?></h3>
|
||
<?php echo $voip_grid ?>
|
||
<br />
|
||
<?php endif ?>
|
||
|
||
<?php if ($member->type != Member_Model::TYPE_APPLICANT && !empty($membership_interrupts_grid)): ?>
|
||
<h3><?php echo __('Membership interrupts')?></h3>
|
||
<?php echo $membership_interrupts_grid ?>
|
Také k dispozici: Unified diff
refs #1135: lBilling, voip, voip sip deleted. All relations for this controllers and models deleted.