Revize 08e5d0ad
Přidáno uživatelem Michal Kliment před asi 5 roky(ů)
application/controllers/members.php | ||
---|---|---|
}
|
||
|
||
// finds date of expiration of member fee
|
||
$expiration_info = '';
|
||
$expiration_info = NULL;
|
||
|
||
if (Settings::get('finance_enabled') &&
|
||
isset($account) && !$is_applicant && !$is_former)
|
application/views/members/show.php | ||
---|---|---|
</td>
|
||
</tr>
|
||
<?php if ($member->type != Member_Model::TYPE_APPLICANT) { ?>
|
||
<?php if (isset($expiration_info) && ($entrance_fee_paid == $member->entrance_fee)) { ?>
|
||
<?php if ($expiration_info && ($entrance_fee_paid == $member->entrance_fee)) { ?>
|
||
<tr>
|
||
<th><?php echo __('Payed to').' '.help::hint('payed_to') ?></th>
|
||
<td><span style="color: <?php echo ($account->balance < 0) ? 'red' : 'green' ?>"><?php if ($expiration_info->shortened): ?>> <?php endif; ?><?php echo $expiration_info->expiration_date ?></span></td>
|
||
<td><span style="color: <?php echo ($account->balance < 0) ? 'red' : 'green' ?>">
|
||
<?php
|
||
if ($expiration_info->shortened): ?>> <?php endif;
|
||
|
||
echo $expiration_info->expiration_date ?>
|
||
</span></td>
|
||
</tr>
|
||
<?php } ?>
|
||
<?php if (isset($fee)) { ?>
|
Také k dispozici: Unified diff
Fixes #1127: Repair of bug on showing former members [develop]