2014-07-26 01:05:02 -05:00
|
|
|
@extends('layouts.default')
|
|
|
|
@section('content')
|
2014-11-28 08:46:44 -06:00
|
|
|
{{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $account) }}
|
2014-07-26 01:05:02 -05:00
|
|
|
<div class="row">
|
2014-10-09 00:24:47 -05:00
|
|
|
<div class="col-lg-8 col-md-6 col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2014-10-27 23:59:14 -05:00
|
|
|
<i class="fa fa-fw {{$subTitleIcon}} fa-fw"></i> {{{$account->name}}}
|
2014-10-09 00:24:47 -05:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2014-10-30 12:12:27 -05:00
|
|
|
<div id="overview-chart"></div>
|
2014-10-09 00:24:47 -05:00
|
|
|
</div>
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-09 00:24:47 -05:00
|
|
|
<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-10-28 03:25:29 -05:00
|
|
|
|
|
|
|
|
2014-07-27 13:29:58 -05:00
|
|
|
<div class="row">
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
2014-10-09 00:24:47 -05:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2014-10-28 03:25:29 -05:00
|
|
|
<i class="fa fa-repeat fa-fw"></i> Transactions
|
2014-10-09 00:24:47 -05:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2014-11-14 02:34:53 -06:00
|
|
|
@include('list.journals-full')
|
2014-10-09 00:24:47 -05:00
|
|
|
</div>
|
2014-07-27 13:29:58 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|
2014-07-26 01:05:02 -05:00
|
|
|
@section('scripts')
|
|
|
|
<script type="text/javascript">
|
2014-10-27 23:59:14 -05:00
|
|
|
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()}}';
|
2014-07-26 01:05:02 -05:00
|
|
|
</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
|