Set hideSearchField in InvoiceOrdersPagination component
Added a call to setHideSearchField with the hideSearch prop to manage the search field visibility dynamically. This ensures better control over the search UI based on the provided properties.
This commit is contained in:
+1
@@ -50,6 +50,7 @@ import OrdersTable from "@/components/displays/department/pos/orders/ordersTable
|
||||
import {SessionUser} from "@/components/session/token/SessionUser.vue";
|
||||
|
||||
const router = useRouter();
|
||||
setHideSearchField(props.hideSearch);
|
||||
setEndpoint("/orders", false);
|
||||
// If the customer filter is set, filter the orders by the customer number
|
||||
if (props.setCustomerFilter > 0) {
|
||||
|
||||
Reference in New Issue
Block a user