Revize cd149dd5
Přidáno uživatelem Ondřej Fibich před téměř 7 roky(ů)
application/views/transfers/show_by_account.php | ||
---|---|---|
<?php endforeach; ?>
|
||
</td>
|
||
</tr>
|
||
<?php if (isset($expiration_date)) { ?>
|
||
<?php if (isset($expiration_info)) { ?>
|
||
<tr>
|
||
<th><?php echo __('Payed to')?></th>
|
||
<td><?php echo $expiration_date ?></td>
|
||
<td><span style="color: <?php echo ($balance < 0) ? 'red' : 'green' ?>"><?php if ($expiration_info->shortened): ?>> <?php endif; ?><?php echo $expiration_info->expiration_date ?></span></td>
|
||
</tr>
|
||
<?php } ?>
|
||
<?php } ?>
|
Také k dispozici: Unified diff
Refs #1076: member expiration date calculation fix. The calc functionality was separate from Members controller to a new Expiration calc service. The new service comes with unit tests which tests the #1076. Additionally this patch comes with some fixes and improvements in already existing unit and integration tests.