@extends('layouts.app') @section('title', 'Laporan Tahunan : ' . $year) @section('content')

Laporan Tahunan : {{ $year }}

{!! Form::open(['method'=>'get','class'=>'form-inline well well-sm']) !!} {!! Form::select('year', $years, $year, ['class'=>'form-control']) !!} {!! Form::submit('Lihat Laporan', ['class'=>'btn btn-info']) !!} {!! link_to_route('reports.payments.yearly','Tahun ini',[],['class'=>'btn btn-default']) !!} {!! Form::close() !!}

Grafik Profit {{ $year }}

Rp.
Bulan

Detail Laporan

@forelse($reports as $key => $report) count; $sumTotal += $report->cashin; $sumCapital += $report->cashout; $sumProfit += ($report->cashin - $report->cashout); $cartData[] = ['month'=>monthId($report->month),'value'=>($report->cashin - $report->cashout)]; ?> @empty @endforelse
Bulan Jumlah Transfer Uang Masuk Uang Keluar Profit Pilihan
{{ monthId($report->month) }} {{ $report->count }} {{ formatRp($report->cashin) }} {{ formatRp($report->cashout) }} {{ formatRp(($report->cashin - $report->cashout)) }} {!! link_to_route('reports.payments.monthly','Lihat Bulanan', ['month' => monthNumber($report->month), 'year' => $year], ['class'=>'btn btn-info btn-xs','title'=>'Lihat laporan bulanan ' . monthId($report->month)]) !!}
{{ trans('payment.not_found') }}
Jumlah {{ $invoicesCount }} {{ formatRp($sumTotal) }} {{ formatRp($sumCapital) }} {{ formatRp($sumProfit) }}
@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