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

{{ $tasks->task->taskId }}

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Task Name

{{ $tasks->task->task_name }}

Assigned to

{{ $tasks->assignedUser->name }}

Status

{{ $tasks->user_status }}

Approval Status

{{ $tasks->approve_level1_status }}

Start Date

{{ $tasks->start_date }}

Due Date

{{ $tasks->end_date }}

Priority

{{ $tasks->priority }}

Approval By

{{ $tasks->task->approved_by_level1 }}

Approval Date

{{ $tasks->task->approved_level1_date }}

Item Details
@if($items) @foreach ($items as $it) @endforeach @endif
Item Name Specifications Quantity
{{ $it->item_name}} {{ $it->specification}} {{ $it->quantity}}
Documents
@foreach ($tasks->documents as $doc) @endforeach
Document
{{ $doc->file_name }}
Voucher
@foreach ($tasks->vouchers as $voucher) @endforeach
Voucher Bill No Amount Receipt Name Recipient Name Remarks Approve Status Action
{{ $voucher->voucher }} {{ $voucher->bill_no }} {{ $voucher->amount }} {{ $voucher->receipt_name }} {{ $voucher->recipient_name }} {{ $voucher->remarks }} {{ $voucher->approve_status }}
@if($voucher->approve_status == "completed") @else
@endif
Photos
Before
@foreach($beforeimages as $bimg) @endforeach
After
@foreach($afterimages as $aimg) @endforeach
@if(ucfirst($tasks->approve_level1_status) == "Completed" && ucfirst($tasks->approve_level2_status) != "Completed")
@csrf
Approval & Remarks
@endif
Other Remarks
@forelse($remarks as $remark)
{{ $remark->user_name }} · {{ $remark->created_at->diffForHumans() }}
@{{ $remark->name }} {{ $remark->reviews }}
@empty

No remarks yet.

@endforelse
@endsection