@extends('settings.layouts.app') @section('content')

REVIEW PAGE: Review approved datasets assigned to you

@foreach($datasets as $dataset) @php //if userid changed from last iteration, store new userid and change color // $lastid = $detail->payment->userid; if ($dataset->server_state == 'editor_accepted') { $rowclass = 'editor_accepted'; } elseif ($dataset->server_state == 'released') { $rowclass = 'released'; } @endphp {{-- --}} @endforeach
Dataset Title ID Server State Editor remaining time
@if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @else no title @endif {{ $dataset->id }} {{ $dataset->server_state }} editor: {{ $dataset->editor?->login }} {{-- @php $dateDiff = $dataset['server_date_modified']->addDays(14); $remainingDays = Illuminate\Support\Carbon::now()->diffInDays($dateDiff, false); @endphp --}} {{ $dataset->remaining_time . ' days' }} @if ($dataset->server_state == "approved") Review Reject @endif @if ($dataset->server_state == "unpublished") Publish @endif
@stop