mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 03:43:07 +00:00
Last fixes for budget before work on charts.
This commit is contained in:
@@ -30,6 +30,7 @@ class Budget implements BudgetInterface
|
||||
$return[$periodOrder] = isset($return[$periodOrder])
|
||||
? $return[$periodOrder]
|
||||
: ['date' => $period,
|
||||
'dateObject' => $rep->startdate,
|
||||
'budget_id' => $limit->budget_id];
|
||||
|
||||
}
|
||||
|
@@ -35,7 +35,7 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h3><a href="#transactions-in-this-period">{{$entry['date']}}</a>
|
||||
<a class="btn btn-default btn-xs" href ="{{route('budgets.limits.create')}}#date-and-budget-selected"><span class="glyphicon glyphicon-plus-sign"></span> Create a new envelope for {{$entry['date']}}</a>
|
||||
<a class="btn btn-default btn-xs" href ="{{route('budgets.limits.create')}}?startdate={{$entry['dateObject']->format('Y-m-d')}}"><span class="glyphicon glyphicon-plus-sign"></span> Create a new envelope for {{$entry['date']}}</a>
|
||||
</h3>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
|
@@ -61,7 +61,8 @@
|
||||
same as the first but bigger range (potentially).
|
||||
</p>
|
||||
@else
|
||||
<p class="small text-center">(Some sort of chart here)</p>
|
||||
<p class="small text-center">(For each visible repetition, a sum of the expense as a bar. A line shows
|
||||
the percentage spent for each rep.)</p>
|
||||
@endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user