@extends('layouts.admin') @section('content')
@if($getuserreport->id == $user->id)
{!! Form::open(['method' => 'POST', 'action'=> 'App\Http\Controllers\TimesheetsController@store','files'=>true]) !!} {!! Form::close() !!}
Title Category Date Time Comment Create
{!! Form::select('title', $titlearray, null, ['class' => 'form-control selecttitle']) !!}
{!! Form::select('category',[] , null, ['class' => 'form-control seleccategory']) !!}
{{-- {!! Form::text('uniquetime', $date, ['class' => 'form-control csheet','readonly' => 'true']) !!}--}} {{-- --}} {!! Form::text('uniquetime', $date, ['class' => 'form-control csheet']) !!}
{!! Form::text('comment', null, ['class' => 'form-control']) !!}
{!! Form::submit('Create', ['class'=>'btn btn-primary']) !!}
@include('includes.form_error')
@endif {{-- datatable and chart --}}
{{-- datatable --}}
Current Month Report- {{$getuserreport->name}}
@foreach($timesheetmonth as $tsu) @endforeach
Title Category Date Comment Time Delete Total time
{{$tsu->title}}
{{$tsu->category}}
{{convertPersianNumbersToEnglish($tsu->uniquetime)}}
{{$tsu->comment}}
{{$tsu->spend_time}}
@csrf @method('DELETE')
Total Hours
{{-- chart start --}}
Percentage
Total Hours
{{-- chart end --}}
{{-- datatable and chart end --}}
@endsection