Added a Balances Overview and Added an Add New Button to client communication history Card.
This commit is contained in:
parent
b802dcd20a
commit
796b835c08
@ -2,13 +2,14 @@
|
||||
<h3>History</h3>
|
||||
<Tabs value="0" class="tabs">
|
||||
<TabList>
|
||||
<Tab value="0">Communication</Tab>
|
||||
<Tab value="0">Communication History</Tab>
|
||||
<Tab value="1">Site Visits</Tab>
|
||||
<Tab value="2">Ownership</Tab>
|
||||
<Tab value="2">Ownership History</Tab>
|
||||
</TabList>
|
||||
<TabPanels>
|
||||
<TabPanel value="0">
|
||||
<div>Communication History</div>
|
||||
<div>Descending order of communications with the customer go here.</div>
|
||||
<button class="sidebar-button">Add New</button>
|
||||
</TabPanel>
|
||||
<TabPanel value="1">
|
||||
<div>Site Visits</div>
|
||||
|
||||
@ -120,6 +120,15 @@
|
||||
<p>No contacts available for this address.</p>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<!-- Financials At a Glance -->
|
||||
<div class="info-card">
|
||||
<h3>Open Balances</h3>
|
||||
<span>$3200.00</span>
|
||||
<button class="sidebar-button" @click="navigateTo('/invoices')">
|
||||
Go to Invoices
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
@ -222,6 +231,10 @@ const props = defineProps({
|
||||
const router = useRouter();
|
||||
const notificationStore = useNotificationStore();
|
||||
|
||||
const navigateTo = (path) => {
|
||||
router.push(path);
|
||||
};
|
||||
|
||||
// Refs for child components
|
||||
const clientInfoRef = ref(null);
|
||||
const contactInfoRef = ref(null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user