@extends('layouts.default') @section('content')

Upload Documents

@include('includes.messages')
    @foreach($documentcategories as $documentcategory) @if((Auth::check() && (auth()->user()->hasRole('forecast_author'))) && $documentcategory->documentcategory == 'forecast')


  • @elseif((Auth::check() && (auth()->user()->hasRole('agromet_author'))) && $documentcategory->documentcategory == 'bulletin')


  • @elseif(Auth::check() && (auth()->user()->hasRole('admin') | auth()->user()->hasRole('author')))


  • @endif @endforeach
@endsection