mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-06 18:02:42 +00:00
Cleaned up some code and added a small feature for transaction views.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
@foreach($budgets as $date => $entry)
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h3><a href="#transactions-in-this-period">{{$entry['date']}}</a>
|
||||
<h3><a href="{{route('transactions.index')}}?startdate={{$entry['start']->format('Y-m-d')}}&enddate={{$entry['end']->format('Y-m-d')}}">{{$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">
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
|
||||
|
||||
@if($filtered === true)
|
||||
<p class="bg-primary" style="padding:15px;">
|
||||
This view is filtered to show only the transactions between
|
||||
{{$filters['start']->format('M jS, Y')}} and {{$filters['end']->format('M jS, Y')}}.
|
||||
</p>
|
||||
<p class="bg-info" style="padding:15px;">
|
||||
<a href="{{route('transactions.index')}}" class="text-info">Reset the filter.</a>
|
||||
</p>
|
||||
@endif
|
||||
|
||||
|
||||
@include('paginated.transactions')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user