@extends('layouts.base_todo') @section('styles') @endsection @section('scripts') @endsection @section('content')

:

SELESAI

:

MENUNGGU JAWABAN

:

DALAM PENGERJAAN

:

BELUM DIKERJAKAN
@foreach ($page['todos'] as $key => $element) @endforeach
# Nama Modul View API
@isset ($element['new']) @if (\Carbon\Carbon::now()->diffInDays(\Carbon\Carbon::parse($element['new'])) < 3)
New
@endif @endisset {{$key + 1}}
{{$element['modul']}} @if ($element['view'] == 'DONE')

@elseif ($element['view'] == 'PROGRESS')

@elseif ($element['view'] == 'FOLLOW UP')

@else

@endif
@if ($element['api'] == 'DONE')

@elseif ($element['api'] == 'PROGRESS')

@elseif ($element['api'] == 'FOLLOW UP')

@else

@endif
VIEW

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['view'] == 'DONE'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['view'] == 'FOLLOW UP'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['view'] == 'PROGRESS'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['view'] == 'NOT YET'; }); @endphp {{$sum}}
API

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['api'] == 'DONE'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['api'] == 'FOLLOW UP'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['api'] == 'PROGRESS'; }); @endphp {{$sum}}

:

@php $collection = collect($page['todos']); $sum = $collection->sum(function ($data) { return $data['api'] == 'NOT YET'; }); @endphp {{$sum}}
@endsection