Added the Customer/Property Lookup buttons to the sidebar, renamed On-Site Meetings to Bids and added the Note to Create New Menu.
This commit is contained in:
parent
8ed083fce1
commit
6e2535763f
1 changed files with 29 additions and 2 deletions
|
|
@ -30,6 +30,22 @@ const toggleSidebar = () => {
|
|||
isCollapsed.value = !isCollapsed.value;
|
||||
};
|
||||
|
||||
const clientButtons = ref([
|
||||
{
|
||||
label: "Customer Lookup",
|
||||
command: () => {
|
||||
router.push("/clients");
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "Property Lookup",
|
||||
command: () => {
|
||||
router.push("/clients");
|
||||
}
|
||||
},
|
||||
|
||||
]);
|
||||
|
||||
const createButtons = ref([
|
||||
{
|
||||
label: "Client",
|
||||
|
|
@ -72,13 +88,24 @@ const createButtons = ref([
|
|||
notifications.addWarning("Warranty Claim creation coming soon!");
|
||||
},
|
||||
},
|
||||
{
|
||||
lable: "Note",
|
||||
command: () => {
|
||||
notifications.addWarning("Sending Notes coming soon!");
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
const categories = ref([
|
||||
{ name: "Home", icon: Home, url: "/" },
|
||||
{ name: "Calendar", icon: Calendar, url: "/calendar" },
|
||||
{ name: "Clients", icon: Community, url: "/clients" },
|
||||
{ name: "On-Site Meetings", icon: Neighbourhood, url: "/schedule-onsite" },
|
||||
{
|
||||
name: "Clients",
|
||||
icon: Community,
|
||||
//url: "/clients"
|
||||
buttons: clientButtons,
|
||||
},
|
||||
{ name: "Bids", icon: Neighbourhood, url: "/schedule-onsite" },
|
||||
{ name: "Estimates", icon: Calculator, url: "/estimates" },
|
||||
{ name: "Jobs", icon: Hammer, url: "/jobs" },
|
||||
{ name: "Payments/Invoices", icon: ReceiveDollars, url: "/invoices" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue