@extends('layouts.app') @section('title', 'Laporan Tahunan : ' . $year) @section('content') {{ Form::open(['method' => 'get', 'class' => 'form-inline well well-sm']) }} {{ Form::label('year', 'Laporan Tahunan per', ['class' => 'control-label']) }} {{ Form::select('year', $years, $year, ['class' => 'form-control']) }} {{ Form::submit('Lihat Laporan', ['class' => 'btn btn-info btn-sm']) }} {{ link_to_route('reports.payments.yearly', 'Tahun ini', [], ['class' => 'btn btn-default btn-sm']) }} {{ Form::close() }}

Grafik Profit {{ $year }}

Rp.
Bulan

Detail Laporan

@foreach(getMonths() as $monthNumber => $monthName) monthId($monthNumber), 'value' => $profit];?> @endforeach
Bulan Jumlah Transfer Uang Masuk Uang Keluar Profit Pilihan
{{ monthId($monthNumber) }} {{ $any ? $reports[$monthNumber]->count : 0 }} {{ formatRp($any ? $reports[$monthNumber]->cashin : 0) }} {{ formatRp($any ? $reports[$monthNumber]->cashout : 0) }} {{ formatRp($profit = $any ? $reports[$monthNumber]->profit : 0) }} {{ link_to_route( 'reports.payments.monthly', 'Lihat Bulanan', ['month' => $monthNumber, 'year' => $year], [ 'class' => 'btn btn-info btn-xs', 'title' => 'Lihat laporan bulanan ' . monthId($monthNumber) ] ) }}
{{ trans('app.total') }} {{ $reports->sum('count') }} {{ formatRp($reports->sum('cashin')) }} {{ formatRp($reports->sum('cashout')) }} {{ formatRp($reports->sum('profit')) }}
@endsection @section('ext_css') {{ Html::style(url('assets/css/plugins/morris.css')) }} @endsection @section('ext_js') {{ Html::script(url('assets/js/plugins/morris/raphael.min.js')) }} {{ Html::script(url('assets/js/plugins/morris/morris.min.js')) }} @endsection @section('script') @endsection