firefly-iii/app/views/accounts/show.blade.php

63 lines
2.1 KiB
PHP
Raw Normal View History

@extends('layouts.default')
@section('content')
2014-11-28 08:46:44 -06:00
{{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $account) }}
<div class="row">
<div class="col-lg-8 col-md-6 col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-fw {{$subTitleIcon}} fa-fw"></i> {{{$account->name}}}
</div>
<div class="panel-body">
2014-10-30 12:12:27 -05:00
<div id="overview-chart"></div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12">
<!-- time based navigation -->
@include('partials.date_nav')
2014-11-27 08:42:07 -06:00
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-clock-o fa-fw"></i> View options for {{{$account->name}}}
</div>
<div class="panel-body">
<p>
2014-12-07 08:37:53 -06:00
@if($range == 'all')
2014-11-28 00:40:04 -06:00
<a href="{{route('accounts.show',$account->id)}}/session" class="btn btn-default">Stick to date-range</a>
2014-11-27 08:42:07 -06:00
@else
2014-11-28 00:40:04 -06:00
<a href="{{route('accounts.show',$account->id)}}/all" class="btn btn-default">Show all transactions</a>
2014-11-27 08:42:07 -06:00
@endif
</p>
</div>
</div>
2014-07-27 13:29:58 -05:00
</div>
</div>
2014-07-27 13:29:58 -05:00
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-repeat fa-fw"></i> Transactions
</div>
<div class="panel-body">
@include('list.journals-full')
</div>
2014-07-27 13:29:58 -05:00
</div>
</div>
@stop
@section('scripts')
<script type="text/javascript">
var accountID = {{{$account->id}}};
2014-12-07 08:37:53 -06:00
var view = '{{{$range}}}';
2015-01-02 02:06:44 -06:00
var currencyCode = '{{Amount::getCurrencyCode()}}';
</script>
2014-10-30 12:12:27 -05:00
<!-- load the libraries and scripts necessary for Google Charts: -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
{{HTML::script('assets/javascript/firefly/gcharts.options.js')}}
{{HTML::script('assets/javascript/firefly/gcharts.js')}}
2014-09-23 14:49:52 -05:00
{{HTML::script('assets/javascript/firefly/accounts.js')}}
2015-01-01 23:16:49 -06:00
@stop