Updated the api call used by the add button in the clients page to use our new dialog.

This commit is contained in:
rocketdebris 2025-11-05 15:04:45 -05:00
parent 9431a0502a
commit b6d6a8b788

View File

@ -27,17 +27,20 @@ import { FilterMatchMode } from "@primevue/core";
import { useLoadingStore } from "../../stores/loading";
import { usePaginationStore } from "../../stores/pagination";
import { useFiltersStore } from "../../stores/filters";
import { useModalStore } from "../../stores/modal";
const loadingStore = useLoadingStore();
const paginationStore = usePaginationStore();
const filtersStore = useFiltersStore();
const modalStore = useModalStore();
const tableData = ref([]);
const totalRecords = ref(0);
const isLoading = ref(false);
const onClick = () => {
frappe.new_doc("Customer");
//frappe.new_doc("Customer");
modalStore.openCreateClient();
};
const filters = {