This commit is contained in:
Casey Wittrock 2025-10-22 02:21:19 -05:00
parent 3ecf24c3ea
commit cdb1bb30b1
18 changed files with 337 additions and 128 deletions

View file

@ -0,0 +1,6 @@
<template>
<div>
<h2>Calendar</h2>
</div>
</template>
<script setup></script>

View file

@ -0,0 +1,40 @@
<template>
<div>
<H2>Client Contact List</H2>
<div id="filter-container" class="filter-container">
<input placeholder="Type to Search" />
<p>Type:</p>
<select id="type-selector"></select>
<button @click="onClick" id="add-customer-button" class="interaction-button">
Add
</button>
</div>
<DataTable v-if="tableData.length > 0" :data="tableData" :columns="columns" />
</div>
</template>
<script setup>
import { onMounted, ref } from "vue";
import DataTable from "../DataTable.vue";
const tableData = ref([]);
const onClick = () => {
frappe.new_doc("Customer");
};
const searchFields = { fields: ["full_name", "address", "email_id", "phone"] };
const columns = [
{ label: "Name", fieldName: "full_name" },
{ label: "Location", fieldName: "address" },
{ label: "Type", fieldName: "contact_type" },
{ label: "Contact", fieldName: "full_name" },
{ label: "Email", fieldName: "email_id" },
{ label: "Phone", fieldName: "phone" },
];
onMounted(async () => {
let data = await frappe.db.get_list("Contact", searchFields);
console.log(data);
tableData.value = data;
});
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template>
<div>
<h2>Create Page</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template lang="">
<div>
<h2>Hello!</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template>
<div>
<h2>Jobs</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template lang="">
<div>
<h2>Routes Page</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template lang="">
<div>
<h2>TimeSheets Page</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>

View file

@ -0,0 +1,9 @@
<template lang="">
<div>
<h2>Warranties Page</h2>
</div>
</template>
<script>
export default {};
</script>
<style lang=""></style>