Decrease displayed information
This commit is contained in:
parent
3696bbde43
commit
ecbb85aeaa
@ -71,30 +71,30 @@ function getGroupState(group: { Name: string, Expand: boolean }): boolean {
|
|||||||
<div>
|
<div>
|
||||||
<router-link
|
<router-link
|
||||||
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + previous.Year + '/' + previous.Month"
|
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + previous.Year + '/' + previous.Month"
|
||||||
>Previous Month</router-link>-
|
><<</router-link>
|
||||||
<router-link
|
<router-link
|
||||||
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + current.Year + '/' + current.Month"
|
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + current.Year + '/' + current.Month"
|
||||||
>Current Month</router-link>-
|
>Current Month</router-link>
|
||||||
<router-link
|
<router-link
|
||||||
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + next.Year + '/' + next.Month"
|
:to="'/budget/' + CurrentBudgetID + '/budgeting/' + next.Year + '/' + next.Month"
|
||||||
>Next Month</router-link>
|
>>></router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="container col-lg-12 grid grid-cols-4 md:grid-cols-5" id="content">
|
<div class="container col-lg-12 grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-5" id="content">
|
||||||
<span>Category</span>
|
<span class="hidden sm:block"></span>
|
||||||
<span class="hidden md:block">Leftover</span>
|
<span class="hidden lg:block text-right">Leftover</span>
|
||||||
<span>Assigned</span>
|
<span class="hidden sm:block text-right">Assigned</span>
|
||||||
<span>Activity</span>
|
<span class="hidden sm:block text-right">Activity</span>
|
||||||
<span>Available</span>
|
<span class="hidden sm:block text-right">Available</span>
|
||||||
<template v-for="group in GroupsForMonth">
|
<template v-for="group in GroupsForMonth">
|
||||||
<a
|
<a
|
||||||
class="text-lg font-bold col-span-4 md:col-span-5"
|
class="text-lg font-bold col-span-2 sm:col-span-4 lg:col-span-5"
|
||||||
@click="toggleGroup(group)"
|
@click="toggleGroup(group)"
|
||||||
>{{ (getGroupState(group) ? "−" : "+") + " " + group.Name }}</a>
|
>{{ (getGroupState(group) ? "−" : "+") + " " + group.Name }}</a>
|
||||||
<template v-for="category in GetCategories(group.Name)" v-if="getGroupState(group)">
|
<template v-for="category in GetCategories(group.Name)" v-if="getGroupState(group)">
|
||||||
<span>{{ category.Name }}</span>
|
<span class="whitespace-nowrap overflow-hidden">{{ category.Name }}</span>
|
||||||
<Currency :value="category.AvailableLastMonth" />
|
<Currency :value="category.AvailableLastMonth" class="hidden lg:block" />
|
||||||
<Currency :value="category.Assigned" />
|
<Currency :value="category.Assigned" class="hidden sm:block" />
|
||||||
<Currency :value="category.Activity" />
|
<Currency :value="category.Activity" class="hidden sm:block" />
|
||||||
<Currency :value="category.Available" />
|
<Currency :value="category.Available" />
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user