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 changed files with 17 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue