@extends('layouts.app') @section('title', __('Project View')) @push('pre_css') @include('panel.inc.flatpicker.css') @endpush @section('content')
@include('panel.customers._customer-details', ['customer' => $campaign->customer, 'isMini' => true])
@include('panel.campaigns.pages._navigation', ['campaign' => $campaign])
@if(isUser(\App\User::TeamLead))
@foreach($unassigned as $command)
{{ $command->title }}
@if(isUser(\App\User::TeamLead))
{{ $command->tech_id ? $command->tech->name : '-' }}
@endif
{{ $command->due_date ? $command->due_date->toDateString() : '-' }} {{ $command->due_time ? $command->due_time->format('h:i A') : '' }}
{{ $command->end_date ? $command->end_date->toDateString() : '-' }}
{!! $command->note ? nl2br($command->note) : '-' !!}
@if(!$command->tech_id && \Gate::allows('campaigns-commands-assign-tech')) Assign Tech @endif
@endforeach
@endif
@foreach($pending as $command)
{{ $command->title }}
@if(isUser(\App\User::TeamLead))
{{ $command->tech_id ? $command->tech->name : '-' }}
@endif
{{ $command->due_date ? $command->due_date->toDateString() : '-' }}
{{ $command->end_date ? $command->end_date->toDateString() : '-' }}
{!! $command->note ? nl2br($command->note) : '-' !!}
@if(!$command->end_date && \Gate::allows('campaigns-commands-mark-complete')) Mark As Complete @endif
@endforeach
@foreach($completed as $command)
{{ $command->title }}
@if(isUser(\App\User::TeamLead))
{{ $command->tech_id ? $command->tech->name : '-' }}
@endif
{{ $command->due_date ? $command->due_date->toDateString() : '-' }}
{{ $command->end_date ? $command->end_date->toDateString() : '-' }}
{!! $command->note ? nl2br($command->note) : '-' !!}
{!! $command->completion_note ? nl2br($command->completion_note) : '-' !!}
@endforeach
@stop @push('script') @include('panel.inc.flatpicker.js') @endpush