From abcdee88d567d6f8487eaa945f6d2875b87f5ae7 Mon Sep 17 00:00:00 2001 From: jamshale Date: Thu, 9 Nov 2023 15:07:06 -0800 Subject: [PATCH] Create option to show soft deleted tenants Signed-off-by: jamshale --- .../components/innkeeper/tenants/Tenants.vue | 115 +++++++++++++----- .../frontend/src/plugins/i18n/locales/en.json | 11 ++ .../frontend/src/plugins/i18n/locales/fr.json | 13 +- .../frontend/src/plugins/i18n/locales/ja.json | 11 ++ .../store/innkeeper/innkeeperTenantsStore.ts | 4 +- 5 files changed, 122 insertions(+), 32 deletions(-) diff --git a/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue b/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue index a390f3978..701d1545f 100644 --- a/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue +++ b/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue @@ -18,13 +18,23 @@
- - - + - + + + + +
@@ -33,16 +43,19 @@ @@ -51,7 +64,7 @@ v-model="filterModel.value" type="text" class="p-column-filter" - placeholder="Search By Contact" + :placeholder="$t('common.searchByName')" @input="filterCallback()" /> @@ -59,7 +72,7 @@ @@ -71,7 +84,28 @@ v-model="filterModel.value" type="text" class="p-column-filter" - placeholder="Search By Contact" + :placeholder="$t('common.searchByCreated')" + @input="filterCallback()" + /> + + + + + @@ -84,36 +118,37 @@