Skip to content

Commit

Permalink
Show Paid
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnux committed Mar 15, 2024
1 parent 850581d commit 6f5d49c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion system/lan/english.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,5 +492,6 @@
"Cash": "Cash",
"Payment_not_found": "Payment not found",
"If_your_friend_have_Additional_Cost__you_will_pay_for_that_too": "If your friend have Additional Cost, you will pay for that too",
"Cache_cleared_successfully_": "Cache cleared successfully!"
"Cache_cleared_successfully_": "Cache cleared successfully!",
"Paid": "Paid"
}
8 changes: 7 additions & 1 deletion ui/ui/customers-view.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@
{if $customFields}
{foreach $customFields as $customField}
<li class="list-group-item">
<b>{$customField.field_name}</b> <span class="pull-right">{$customField.field_value}</span>
<b>{$customField.field_name}</b> <span class="pull-right">
{if strpos($customField.field_value, ':0') === false}
{$customField.field_value}
{else}
<b>{Lang::T('Paid')}</b>
{/if}
</span>
</li>
{/foreach}
{/if}
Expand Down

0 comments on commit 6f5d49c

Please sign in to comment.