mirror of
https://github.com/frappe/books.git
synced 2025-02-06 22:18:34 +00:00
47 lines
1.1 KiB
Vue
47 lines
1.1 KiB
Vue
<template>
|
|
<div class="flex flex-col">
|
|
<PageHeader>
|
|
<h1 slot="title" class="text-2xl font-bold">{{ _('Dashboard') }}</h1>
|
|
<template slot="actions">
|
|
<SearchBar class="ml-2" />
|
|
</template>
|
|
</PageHeader>
|
|
<div class="mx-4">
|
|
<div class="border-t" />
|
|
<Cashflow />
|
|
<div class="my-4 mt-0 border-t" />
|
|
<UnpaidInvoices />
|
|
<div class="my-4 border-t" />
|
|
<div class="flex mx-auto">
|
|
<div class="w-1/2 mx-4">
|
|
<ProfitAndLoss />
|
|
</div>
|
|
<div class="w-1/2 mx-4">
|
|
<Expenses />
|
|
</div>
|
|
</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>
|