@extends('layouts.app_pub') @push('css') @endpush @section('content') @inject('carbon', 'Carbon\Carbon')
# | Tile | Corresponnding DSHE URL | Download | Created At | Status | Action |
---|---|---|---|---|---|---|
{{ $key + 1 }} | {{ $file->title }} | Click Here |
@if ($file->extension == 'pdf')
![]() @elseif ($file->extension == 'csv' || $file->extension == 'xlsx' || $file->extension == 'xls') ![]() @elseif($file->extension == 'doc' || $file->extension == 'docx') ![]() @else ![]() @endif |
{{ $carbon::parse($file->created_at)->format('m/d/Y') }} |
{{-- @if ($file->status == 1)
Published on: {{ $carbon::parse($file->publish_date)->format('m/d/Y') }} @else Publish @endif --}} @if ($file->application == 1 && $file->exp_date > $carbon::now() && $file->type == 1) Accepting Applications @elseNot Accepting Applications at the moment @endif |
@if ($file->application == 1 && $file->exp_date > $carbon::now() && $file->type == 1)
@else
Closed for applications |