@for ($i = 1; $i <= 5; $i++)
@for ($i = 1; $i <= 4; $i++)
@endfor
@endfor
 }})
{{-- @extends('layouts.application') --}}
Project Development | Status |
---|---|
{{ $job_draft->jobOrder->title }} - {{ Str::title(str_replace('_', ' ', $job_draft->type)) }} |
@if (auth()->user()->role_id == '1' and $job_draft->status == 'completed')
Approved
@elseif (
(auth()->user()->role_id == '2' &&
($job_draft->status == 'completed' ||
$job_draft->status == 'Submitted to Top Management' ||
$job_draft->status == 'Submitted to Client' ||
$job_draft->status == 'Submitted to Operations Supervisor')) ||
(auth()->user()->role_id == '5' &&
($job_draft->status == 'Submitted to Client' || $job_draft->status == 'completed')) ||
(auth()->user()->role_id == '6' &&
($job_draft->status == 'Submitted to Client' ||
$job_draft->status == 'completed' ||
$job_draft->status == 'Submitted to Top Management')))
Signed
@elseif (
(auth()->user()->role_id == '3' &&
($job_draft->status == 'Submitted to Assistant Supervisor' ||
$job_draft->status == 'completed' ||
$job_draft->status == 'Submitted to Top Management' ||
$job_draft->status == 'Submitted to Client')) ||
(auth()->user()->role_id == '4' &&
($job_draft->status == 'Submitted to Assistant Supervisor' ||
$job_draft->status == 'completed' ||
$job_draft->status == 'Submitted to Top Management' ||
$job_draft->status == 'Submitted to Client')))
Created
@elseif (auth()->user()->role_id == '1' and $job_draft->status == 'Submitted to Client')
Approve @elseif (auth()->user()->role_id == '2' and $job_draft->status == 'Submitted to Assistant Supervisor')Sign @elseif (auth()->user()->role_id == '3' and $job_draft->status == 'Waiting for Content Writer Approval' || $job_draft->status == 'Waiting for Graphic Designer Approval') @elseif (auth()->user()->role_id == '3' and $job_draft->status == 'pending')Create @elseif (auth()->user()->role_id == '4' and $job_draft->status == 'Waiting for Content Writer Approval' || $job_draft->status == 'Waiting for Graphic Designer Approval') @elseif (auth()->user()->role_id == '4' and $job_draft->status == 'pending')Create @elseif (auth()->user()->role_id == '5' and $job_draft->status == 'Submitted to Top Management')Sign @elseif (auth()->user()->role_id == '6' and $job_draft->status == 'Submitted to Operations Supervisor')Sign @endif @if ( ($job_draft->status == 'completed' && auth()->user()->role_id == '1') || (($job_draft->status == 'Submitted to Assistant Supervisor' || $job_draft->status == 'Submitted to Top Management' || $job_draft->status == 'Submitted to Client' || $job_draft->status == 'completed') && (auth()->user()->role_id == '3' || auth()->user()->role_id == '4')) || (auth()->user()->role_id == '2' && ($job_draft->status == 'Submitted to Top Management' || $job_draft->status == 'Submitted to Client' || $job_draft->status == 'Submitted to Operations Supervisor' || $job_draft->status == 'completed')) || (auth()->user()->role_id == '5' && ($job_draft->status == 'Submitted to Client' || $job_draft->status == 'completed')) || (auth()->user()->role_id == '6' && ($job_draft->status == 'Submitted to Client' || $job_draft->status == 'completed' || $job_draft->status == 'Submitted to Top Management'))) @endif |
Project Development | Status |
---|---|
{{ $job_draft_revision->jobOrder->title }} - {{ Str::title(str_replace('_', ' ', $job_draft_revision->type)) }} |
@if (auth()->user()->role_id == 3)
Revise @elseif (auth()->user()->role_id == 4)Revise @elseif (auth()->user()->role_id == 2)Revise @elseif (auth()->user()->role_id == 6)Revise @endif |
Project Development | Status |
---|---|
{{ $my_task->jobOrder->title }} - {{ $my_task->type }} |
@if (auth()->user()->role_id == 2)
@if (
$my_task->status == 'Waiting for Content Writer Approval' ||
$my_task->status == 'Waiting for Graphic Designer Approval')
@else
Create @endif @elseif (auth()->user()->role_id == 6) @if ( $my_task->status == 'Waiting for Content Writer Approval' || $my_task->status == 'Waiting for Graphic Designer Approval') @elseCreate @endif @endif |