From acb6c9e2b20d8a920e0a8ccc2ea29d23c1125152 Mon Sep 17 00:00:00 2001 From: shikha Date: Tue, 5 May 2020 16:01:47 +0530 Subject: [PATCH] issues solved related to bugs --- src/api/menu.js | 62 +++++---- src/components/pageHeader/AppDrawer.vue | 203 ++++++++++++++++++++++++++++- src/event.js | 14 ++ src/pages/Account/feeTypes.vue | 1 + src/pages/Account/paymentHistory.vue | 218 +++++++++++++++++++++++--------- src/pages/Dashboard/dashboard.vue | 24 ++-- src/pages/Report/studentReport.vue | 6 +- src/router/paths.js | 22 ++++ 8 files changed, 454 insertions(+), 96 deletions(-) diff --git a/src/api/menu.js b/src/api/menu.js index b18e108..3b43d1e 100644 --- a/src/api/menu.js +++ b/src/api/menu.js @@ -116,6 +116,7 @@ const adminMenu = [ { name: 'salaryTemplate', title: 'Salary Template', component: 'Salary Template', action: '', }, { name: 'hourlyTemplate', title: 'Hourly Template', component: 'Hourly Template', action: '', }, { name: 'manageSalary', title: 'Manage Salary', component: 'Manage Salary', action: '', }, + { name: 'makePayment', title: 'Make Payment', component: 'Make Payment', action: '', }, ] }, { @@ -210,33 +211,46 @@ const adminMenu = [ ]; const libraryMenu = [{ - title: 'Library', - group: 'Library', - component: 'Library', - icon: '/static/schoolIcons/Library.png', - items: [ - { name: 'libraryMember', title: ' Library Member', component: 'libraryMember', action: '', }, - { name: 'Books', title: 'Books', component: 'Books', action: '', }, - { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, - { name: 'eBooks', title: 'E-Books', component: 'eBooks', action: '', } + title: 'Dashboard', + name: 'Dashboard', + icon: '/static/icon/dashboard.png', + }, + { + title: 'Library', + group: 'Library', + component: 'Library', + icon: '/static/icon/library.png', + items: [ + { name: 'LibraryMember', title: ' Library Member', component: 'Library Member', action: '', }, + { name: 'Books', title: 'Books', component: 'Books', action: '', }, + { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, + { name: 'E-Books', title: 'E-Books', component: 'E-Books', action: '', } - ] -}]; + ] + }, +]; const accountMenu = [{ - title: 'Account', - group: 'Account', - component: 'Account', - icon: '/static/schoolIcons/Account.png', - items: [ - { name: 'feeTypes', title: 'Fee Types', component: 'feeTypes', action: '', }, - { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, - { name: 'paymentHistory', title: 'Payment History', component: 'paymentHistory', action: '', }, - { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, - { name: 'Income', title: 'Income', component: 'Income', action: '', }, - { name: 'GlobalPayment', title: 'Global Payment', component: 'GlobalPayment', action: '', } - ] -}]; + title: 'Dashboard', + name: 'Dashboard', + icon: '/static/icon/dashboard.png', + }, + + { + title: 'Account', + group: 'Account', + component: 'Account', + icon: '/static/icon/accounts.png', + items: [ + { name: 'feeTypes', title: 'Fee Types', component: 'Fee Types', action: '', }, + { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, + { name: 'PaymentHistory', title: 'Payment History', component: 'Payment History', action: '', }, + { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, + { name: 'Income', title: 'Income', component: 'Income', action: '', }, + { name: 'GlobalPayment', title: 'Global Payment', component: 'Global Payment', action: '', } + ] + }, +]; const schoolMenu = [ // { header: 'Apps' }, diff --git a/src/components/pageHeader/AppDrawer.vue b/src/components/pageHeader/AppDrawer.vue index 6b78f51..dd6ba8c 100644 --- a/src/components/pageHeader/AppDrawer.vue +++ b/src/components/pageHeader/AppDrawer.vue @@ -130,6 +130,200 @@ + +