mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 19:31:01 -06:00
32 lines
1.5 KiB
PHP
32 lines
1.5 KiB
PHP
@extends('layouts.default')
|
|
@section('content')
|
|
{{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $reminder) }}
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-8 col-sm-12">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
A reminder about
|
|
@if(get_class($reminder->remindersable) == 'PiggyBank')
|
|
your piggy bank labelled "{{{$reminder->remindersable->name}}}"
|
|
@endif
|
|
</div>
|
|
<div class="panel-body">
|
|
<p>
|
|
@if(get_class($reminder->remindersable) == 'Piggybank')
|
|
Somewhere between {{$reminder->startdate->format('j F Y')}} and {{$reminder->enddate->format('j F Y')}} you
|
|
should deposit {{mf($amount)}} in piggy bank <a href="{{route('piggy_banks.show',$reminder->remindersable_id)}}">{{{$reminder->remindersable->name}}}</a>
|
|
in order to make your goal of saving {{mf($reminder->remindersable->targetamount)}} on {{$reminder->remindersable->targetdate->format('j F Y')}}
|
|
|
|
@endif
|
|
</p>
|
|
<p>
|
|
<a href="{{route('reminders.act',$reminder->id)}}" class="btn btn-primary"><i class="fa fa-fw fa-thumbs-o-up"></i> I want to do this</a>
|
|
<a href="{{route('reminders.dismiss',$reminder->id)}}" class="btn btn-success"><i class="fa fa-smile-o fa-fw"></i> I already did this</a>
|
|
<a href="{{route('reminders.notNow',$reminder->id)}}" class="btn btn-danger"><i class="fa fa-fw fa-clock-o"></i> Not this time</a>
|
|
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@stop |