Post Setting
@include('member.include.post-title-topbar')
@if($errors->first('status') == 2)
@else
@if($post->user_id != $post->pi_id)
@else
@endif
@foreach (config("const.post_setting") as $key => $val)
@endforeach
@if(Auth::user()->id != $post->pi_id) {{--$post->user_id != $post->pi_id--}}
An email requesting your PI's approval to post on the LabPair network will be sent to your PI. If you wish you may include a personalized subject and message.
@endif
@if($post->status == 'Pending'||$post->status == 'Approved'||$post->status == 'Declined'||$post->status == 'Edited')
@if($post->status == 'Pending')
Your request was Pending {{commonTimeFormat($post->request_time)}} MST {{ commonDateFormat($post->request_time)}}
@endif
@if($post->status == 'Approved')
@if($post->auto_approve == 'Yes')
@else
@endif
Your request was approved {{commonTimeFormat($post->approved_time)}} MST {{ commonDateFormat($post->approved_time)}}
@endif
@if($post->status == 'Declined')
Your request was declined {{commonTimeFormat($post->declined_time)}} MST {{ commonDateFormat($post->declined_time)}}
@endif
@if($post->status == 'Edited')
Your request was edited {{commonTimeFormat($post->declined_time)}} MST {{ commonDateFormat($post->declined_time)}}
@endif
@endif
@endif
@if($errors->first('status') != 2)
@endif