From 29e567d405f39ab1273f533d6ec8f6a6da9d8a74 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 7 May 2024 16:42:09 +0200 Subject: [PATCH] fix: refs #6891 use new props --- src/pages/Agency/Card/AgencyCard.vue | 4 ++-- src/pages/Claim/Card/ClaimCard.vue | 4 ++-- src/pages/Customer/Card/CustomerCard.vue | 4 ++-- src/pages/Entry/Card/EntryCard.vue | 4 ++-- src/pages/InvoiceIn/Card/InvoiceInCard.vue | 4 ++-- src/pages/InvoiceOut/Card/InvoiceOutCard.vue | 4 ++-- src/pages/Item/Card/ItemCard.vue | 2 +- src/pages/ItemType/Card/ItemTypeCard.vue | 4 ++-- src/pages/Parking/Card/ParkingCard.vue | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/pages/Agency/Card/AgencyCard.vue b/src/pages/Agency/Card/AgencyCard.vue index 5be43248e..6b2296df3 100644 --- a/src/pages/Agency/Card/AgencyCard.vue +++ b/src/pages/Agency/Card/AgencyCard.vue @@ -7,8 +7,8 @@ import VnCard from 'components/common/VnCard.vue'; data-key="Agency" base-url="Agencies" :descriptor="AgencyDescriptor" - searchbar-data-key="AgencyList" - searchbar-url="Agencies" + search-data-key="AgencyList" + search-url="Agencies" searchbar-label="agency.searchBar.label" searchbar-info="agency.searchBar.info" /> diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index 80ebe55a0..f38ab5484 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -9,8 +9,8 @@ import ClaimFilter from '../ClaimFilter.vue'; base-url="Claims" :descriptor="ClaimDescriptor" :filter-panel="ClaimFilter" - searchbar-data-key="ClaimList" - searchbar-url="Claims/filter" + search-data-key="ClaimList" + search-url="Claims/filter" searchbar-label="Search claim" searchbar-info="You can search by claim id or customer name" /> diff --git a/src/pages/Customer/Card/CustomerCard.vue b/src/pages/Customer/Card/CustomerCard.vue index 7bec1f9f7..98842a0c7 100644 --- a/src/pages/Customer/Card/CustomerCard.vue +++ b/src/pages/Customer/Card/CustomerCard.vue @@ -9,8 +9,8 @@ import CustomerFilter from '../CustomerFilter.vue'; base-url="Clients" :descriptor="CustomerDescriptor" :filter-panel="CustomerFilter" - searchbar-data-key="CustomerList" - searchbar-url="Clients/filter" + search-data-key="CustomerList" + search-url="Clients/filter" searchbar-label="Search customer" searchbar-info="You can search by customer id or name" /> diff --git a/src/pages/Entry/Card/EntryCard.vue b/src/pages/Entry/Card/EntryCard.vue index 08ddf2a4c..9fadd2d06 100644 --- a/src/pages/Entry/Card/EntryCard.vue +++ b/src/pages/Entry/Card/EntryCard.vue @@ -9,8 +9,8 @@ import EntryFilter from '../EntryFilter.vue'; base-url="Entries" :descriptor="EntryDescriptor" :filter-panel="EntryFilter" - searchbar-data-key="EntryList" - searchbar-url="Entries/filter" + search-data-key="EntryList" + search-url="Entries/filter" searchbar-label="Search entries" searchbar-info="You can search by entry reference" /> diff --git a/src/pages/InvoiceIn/Card/InvoiceInCard.vue b/src/pages/InvoiceIn/Card/InvoiceInCard.vue index 1ed4829c1..912713f23 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInCard.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInCard.vue @@ -27,8 +27,8 @@ const filter = { :filter="filter" :descriptor="InvoiceInDescriptor" :filter-panel="InvoiceInFilter" - searchbar-data-key="InvoiceInList" - searchbar-url="InvoiceIns/filter" + search-data-key="InvoiceInList" + search-url="InvoiceIns/filter" searchbar-label="Search invoice" searchbar-info="You can search by invoice reference" /> diff --git a/src/pages/InvoiceOut/Card/InvoiceOutCard.vue b/src/pages/InvoiceOut/Card/InvoiceOutCard.vue index 3dbe2ad0c..e187a2df2 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutCard.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutCard.vue @@ -9,8 +9,8 @@ import InvoiceOutFilter from '../InvoiceOutFilter.vue'; base-url="InvoiceOuts" :descriptor="InvoiceOutDescriptor" :filter-panel="InvoiceOutFilter" - searchbar-data-key="InvoiceOutList" - searchbar-url="InvoiceOuts/filter" + search-data-key="InvoiceOutList" + search-url="InvoiceOuts/filter" searchbar-label="Search invoice" searchbar-info="You can search by invoice reference" /> diff --git a/src/pages/Item/Card/ItemCard.vue b/src/pages/Item/Card/ItemCard.vue index ad5a5b831..e83728b4e 100644 --- a/src/pages/Item/Card/ItemCard.vue +++ b/src/pages/Item/Card/ItemCard.vue @@ -9,7 +9,7 @@ import ItemListFilter from '../ItemListFilter.vue'; base-url="Items" :descriptor="ItemDescriptor" :filter-panel="ItemListFilter" - searchbar-data-key="ItemList" + search-data-key="ItemList" url="Items/filter" /> diff --git a/src/pages/ItemType/Card/ItemTypeCard.vue b/src/pages/ItemType/Card/ItemTypeCard.vue index 824018ebd..cdcd5b693 100644 --- a/src/pages/ItemType/Card/ItemTypeCard.vue +++ b/src/pages/ItemType/Card/ItemTypeCard.vue @@ -9,7 +9,7 @@ import ItemTypeFilter from 'src/pages/ItemType/ItemTypeFilter.vue'; base-url="ItemTypes" :descriptor="ItemTypeDescriptor" :filter-panel="ItemTypeFilter" - searchbar-data-key="ItemTypeList" - searchbar-url="ItemTypes" + search-data-key="ItemTypeList" + search-url="ItemTypes" /> diff --git a/src/pages/Parking/Card/ParkingCard.vue b/src/pages/Parking/Card/ParkingCard.vue index 180228148..620f4bb2d 100644 --- a/src/pages/Parking/Card/ParkingCard.vue +++ b/src/pages/Parking/Card/ParkingCard.vue @@ -15,8 +15,8 @@ const filter = { :filter="filter" :descriptor="ParkingDescriptor" :filter-panel="ParkingFilter" - searchbar-data-key="ParkingList" - searchbar-url="Parkings" + search-data-key="ParkingList" + search-url="Parkings" searchbar-label="parking.searchBar.label" searchbar-info="parking.searchBar.info" />