2019-11-22 23:13:32 +05:30
|
|
|
<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>
|
2021-09-17 14:48:35 +05:30
|
|
|
<div class="mx-4">
|
2019-11-22 23:13:32 +05:30
|
|
|
<div class="border-t" />
|
2019-11-24 23:39:22 +05:30
|
|
|
<Cashflow />
|
2021-09-17 14:48:35 +05:30
|
|
|
<div class="my-4 mt-0 border-t" />
|
2019-11-24 23:39:22 +05:30
|
|
|
<UnpaidInvoices />
|
2021-09-17 14:48:35 +05:30
|
|
|
<div class="my-4 border-t" />
|
2021-12-06 18:15:31 +05:30
|
|
|
<div class="flex justify-between mx-auto">
|
2021-09-17 14:48:35 +05:30
|
|
|
<div class="w-1/2 mx-4">
|
2019-11-24 23:39:22 +05:30
|
|
|
<ProfitAndLoss />
|
2019-11-22 23:13:32 +05:30
|
|
|
</div>
|
2021-09-17 14:48:35 +05:30
|
|
|
<div class="w-1/2 mx-4">
|
2019-11-24 23:39:22 +05:30
|
|
|
<Expenses />
|
2019-11-22 23:13:32 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import PageHeader from '@/components/PageHeader';
|
|
|
|
import SearchBar from '@/components/SearchBar';
|
2019-11-24 23:39:22 +05:30
|
|
|
import Cashflow from './Cashflow';
|
|
|
|
import UnpaidInvoices from './UnpaidInvoices';
|
|
|
|
import ProfitAndLoss from './ProfitAndLoss';
|
|
|
|
import Expenses from './Expenses';
|
2019-11-22 23:13:32 +05:30
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'Dashboard',
|
|
|
|
components: {
|
|
|
|
PageHeader,
|
|
|
|
SearchBar,
|
2019-11-24 23:39:22 +05:30
|
|
|
Cashflow,
|
|
|
|
UnpaidInvoices,
|
|
|
|
ProfitAndLoss,
|
|
|
|
Expenses
|
2019-11-22 23:13:32 +05:30
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|