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

Grafik Profit {{ $months[$month] }} {{ $year }}

Rp.
{{ trans('app.date') }}

Detail Laporan

@foreach(monthDateArray($year, $month) as $dateNumber) profit : 0; if ($any): ?> $dateNumber, 'value' => ($profit)]; ?> @endforeach
{{ trans('app.date') }} Jumlah Transfer Uang Masuk Uang Keluar Profit Pilihan
{{ dateId($date = $year . '-' . $month . '-' . $dateNumber) }} {{ $any ? $reports[$dateNumber]->count : 0 }} {{ formatRp($any ? $reports[$dateNumber]->cashin : 0) }} {{ formatRp($any ? $reports[$dateNumber]->cashout : 0) }} {{ formatRp($profit) }} {{ link_to_route( 'reports.payments.daily', 'Lihat Harian', ['date' => $date], [ 'class' => 'btn btn-info btn-xs', 'title' => 'Lihat laporan harian ' . $date ] ) }}
Jumlah {{ $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