@extends('layouts.admin') @section('content')
{{-- base on title --}}
{!! Form::open(['class'=>'form-inline','style'=>'justify-content:center;border:1px solid black;border-radius:5px','method' => 'POST', 'action'=> 'App\Http\Controllers\TimesheetsController@selectreport','files'=>true]) !!}
{!! Form::submit('submit', ['class'=>'btn btn-primary']) !!} {!! Form::close() !!} @if($check == 'selected') back to current year report @endif
reports base title
@foreach($timesheetstitles as $tst) @if($tst->is_active == 'no') @else @endif @endforeach @foreach($usersd as $user) @foreach($alltsuser as $tt) @if($tt['user_name'] == $user->name) @foreach($tt as $key=>$val) @if($key !== 'user_name') @endif @endforeach @endif @endforeach @endforeach @foreach($alltsuser as $tt) @if($tt['user_name'] == $user->name) @foreach($tt as $key=>$val) @if($key !== 'user_name') @endif @endforeach @endif @endforeach
Users{{$tst->title}}{{$tst->title}}
{{$user->name}} {{$val}}
total
title chart
{{-- base on title end --}} {{-- base on subtitle --}}
Reports Base SubTitle
@foreach($timesheetcategories as $tsc) @if($tsc->is_active == 'no') @else @endif @endforeach @foreach($usersd as $user) @foreach($alltuserCategory as $tc) @if($tc['user_name'] == $user->name) @foreach($tc as $key=>$val) @if($key !== 'user_name') @endif @endforeach @endif @endforeach @endforeach @foreach($alltuserCategory as $tc) @if($tc['user_name'] == $user->name) @foreach($tc as $key=>$val) @if($key !== 'user_name') @endif @endforeach @endif @endforeach
Users{{$tsc->name}}{{$tsc->name}}
{{$user->name}}{{$val}}
Total
subtitle chart
{{-- base on subtitle end --}}
{{-- --}} @stop