Skip to content

Commit

Permalink
Merge pull request #68 from guenbakku/show-account-name
Browse files Browse the repository at this point in the history
refactor: remove unnecessary hard code
  • Loading branch information
guenbakku authored Nov 2, 2024
2 parents 214f184 + 33d0e06 commit 48cb215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/views/default/search/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div class="small text-muted">
<span class="label label-default" style="margin-right:3px">
<span class="fa <?= $result[$i]['account_icon']; ?>"></span>
<?= $result[$i]['account_icon'] == 'fa-bank' ? $result[$i]['account'] : 'Tiền mặt'; ?>
<?= $result[$i]['account']; ?>
</span>
<?php if ($result[$i]['is_temp']) { ?>
<span class="label label-default">
Expand Down
2 changes: 1 addition & 1 deletion application/views/default/timeline/detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<div class="small text-muted">
<span class="label label-default" style="margin-right:3px">
<span class="fa <?= $result[$i]['account_icon']; ?>"></span>
<?= $result[$i]['account_icon'] == 'fa-bank' ? $result[$i]['account'] : 'Tiền mặt'; ?>
<?= $result[$i]['account']; ?>
</span>
<?php if ($result[$i]['is_temp']) { ?>
<span class="label label-default">
Expand Down

0 comments on commit 48cb215

Please # to comment.