@extends('patent::layouts.master') @section('title', 'All Deadlines') @section('content') @php $results = collect($results); $doneResults = $results->where('is_done', true)->sortBy('remaining_days'); $notDoneResults = $results->where('is_done', false)->sortBy('remaining_days'); @endphp
| # | Ref | Country | Method | Filing Type | Filing Date | Deadline Value | Deadline Date | Remaining | Done | Done By | Edit |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row['aipt_ref'] }} | {{ $row['country'] }} | {{ $row['method'] }} | {{ $row['filing_type'] }} | {{ $row['filing_date'] }} | {{ $row['deadline_value'] }} | {{ $row['deadline_date'] }} | @if($row['remaining_days'] < 0) {{ $row['remaining_days'] }} days @else {{ $row['remaining_days'] }} days @endif | @if(Auth::user()->department_id==1 ||Auth::user()->role_id==1 ) @endif | — | @if(Auth::user()->department_id==1 ||Auth::user()->role_id==1 ) Edit @endif |
| # | Ref | Country | Method | Filing Type | Filing Date | Deadline Value | Deadline Date | Remaining | Done | Done By | Edit |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row['aipt_ref'] }} | {{ $row['country'] }} | {{ $row['method'] }} | {{ $row['filing_type'] }} | {{ $row['filing_date'] }} | {{ $row['deadline_value'] }} | {{ $row['deadline_date'] }} | @if($row['remaining_days'] < 0) {{ $row['remaining_days'] }} days @else {{ $row['remaining_days'] }} days @endif | {{ \App\Models\User::find($row['done_by'])->name ?? 'Unknown' }} | Edit |