@extends('layouts.app') @push('css') @endpush @section('content') @inject('carbon', 'Carbon\Carbon')
@foreach ($noticefiles as $key => $file) @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') }} @elseif($file->pub_date != null && $file->pub_date <= $carbon::now()) 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
Edit
{{--

The total size is {{ round($total_size / 1024, 2) }} MB

The remaining size is {{ 1024 - round($total_size / 1024, 2) }} MB

--}} @endsection @push('js') @endpush