2019-11-22 23:13:32 +05:30
|
|
|
<template>
|
|
|
|
<div class="flex flex-col">
|
|
|
|
<PageHeader>
|
2022-02-10 13:12:43 +05:30
|
|
|
<template #title>
|
2022-02-10 12:11:51 +05:30
|
|
|
<h1 class="text-2xl font-bold">{{ t('Dashboard') }}</h1>
|
|
|
|
</template>
|
2022-02-10 13:12:43 +05:30
|
|
|
<template #actions>
|
2019-11-22 23:13:32 +05:30
|
|
|
<SearchBar class="ml-2" />
|
|
|
|
</template>
|
|
|
|
</PageHeader>
|
2022-01-26 15:36:31 +05:30
|
|
|
<hr class="border-t mx-4" />
|
2022-02-02 16:05:58 +05:30
|
|
|
<div class="mx-4 overflow-y-scroll no-scrollbar">
|
2022-01-27 00:30:11 +05:30
|
|
|
<Cashflow class="mt-5" />
|
2022-01-26 13:08:22 +05:30
|
|
|
<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" />
|
2019-11-22 23:13:32 +05:30
|
|
|
</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,
|
2022-01-26 13:08:22 +05:30
|
|
|
Expenses,
|
|
|
|
},
|
2019-11-22 23:13:32 +05:30
|
|
|
};
|
|
|
|
</script>
|