@extends('admin._layouts.fileupload') @section('header') @parant @endsection @section('content')
@if($obj->id)

Edit Task

@else

Create new Task

@endif
@if(auth()->user()->can($permissions['create'])) @endif
@include('admin._partials.notifications') @if($obj->id)
@else @endif @csrf id) value="{{encrypt($obj->id)}}" @endif id="inputId">
Basic Details
Update
@if($obj->status == 'Open') Open @else Close @endif
@if(!$obj->id) {{date('d M, Y h:i A')}} @else {{date('d M, Y h:i A', strtotime($obj->created_at))}} @endif
@if(!$obj->id) {{date('d M, Y h:i A')}} @else {{date('d M, Y h:i A', strtotime($obj->updated_at))}} @endif
@if(!$obj->id) {{auth()->user()->name}} @else {{$obj->created_user->name}} @endif
@if(!$obj->id) {{auth()->user()->name}} @else {{$obj->updated_user->name}} @endif
@if(auth()->user()->can($permissions['edit']))
@endif
@include('admin._partials.footer')
@endsection @section('footer') @parent @endsection