From 6f5d49cd2fe982f58e8b3b504b97cf553269cad2 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 15 Mar 2024 10:56:08 +0700 Subject: [PATCH] Show Paid --- system/lan/english.json | 3 ++- ui/ui/customers-view.tpl | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/system/lan/english.json b/system/lan/english.json index b8317e06..1513df1f 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -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" } \ No newline at end of file diff --git a/ui/ui/customers-view.tpl b/ui/ui/customers-view.tpl index 0a550a07..8cda1f54 100644 --- a/ui/ui/customers-view.tpl +++ b/ui/ui/customers-view.tpl @@ -41,7 +41,13 @@ {if $customFields} {foreach $customFields as $customField}
  • - {$customField.field_name} {$customField.field_value} + {$customField.field_name} + {if strpos($customField.field_value, ':0') === false} + {$customField.field_value} + {else} + {Lang::T('Paid')} + {/if} +
  • {/foreach} {/if}