2
0
mirror of https://github.com/frappe/books.git synced 2025-01-28 17:48:37 +00:00
books/src/pages/Dashboard/Dashboard.vue
18alantom 51c066e926 refactor: use slot shorthand
- more minor fixes
- remove redundant file
2022-02-10 13:12:43 +05:30

45 lines
1.1 KiB
Vue

<template>
<div class="flex flex-col">
<PageHeader>
<template #title>
<h1 class="text-2xl font-bold">{{ t('Dashboard') }}</h1>
</template>
<template #actions>
<SearchBar class="ml-2" />
</template>
</PageHeader>
<hr class="border-t mx-4" />
<div class="mx-4 overflow-y-scroll no-scrollbar">
<Cashflow class="mt-5" />
<hr class="border-t mt-10" />
<UnpaidInvoices class="mt-10 ml-4 mr-4" />
<hr class="border-t mt-10" />
<div class="flex justify-between mx-auto mt-10 ml-4 mr-4 gap-10">
<ProfitAndLoss class="w-1/2" />
<Expenses class="w-1/2" />
</div>
</div>
</div>
</template>
<script>
import PageHeader from '@/components/PageHeader';
import SearchBar from '@/components/SearchBar';
import Cashflow from './Cashflow';
import UnpaidInvoices from './UnpaidInvoices';
import ProfitAndLoss from './ProfitAndLoss';
import Expenses from './Expenses';
export default {
name: 'Dashboard',
components: {
PageHeader,
SearchBar,
Cashflow,
UnpaidInvoices,
ProfitAndLoss,
Expenses,
},
};
</script>