@extends('layouts.app_pub') @push('css') @endpush @section('content') @inject('carbon', 'Carbon\Carbon')
Notices
@if (isset($noticefiles))
@foreach ($noticefiles as $key => $file) @endif @endforeach
# Tile Corresponnding DSHE URL Download Created At Status Action
{{ $key + 1 }} {{ $file->title }} Click Here @if ($file->extension == 'pdf')
Dist Photo 1

@elseif ($file->extension == 'csv' || $file->extension == 'xlsx' || $file->extension == 'xls')
Dist Photo 1

@elseif($file->extension == 'doc' || $file->extension == 'docx')
Dist Photo 1

@else
Dist Photo 1

@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

@else

Not Accepting Applications at the moment

@endif
@if ($file->application == 1 && $file->exp_date > $carbon::now() && $file->type == 1) @else

Closed for applications

@endif
@endsection @push('js')