46 lines
1.5 KiB
PHP
46 lines
1.5 KiB
PHP
<x-mail::message>
|
|
# Issue Closed - Completed
|
|
|
|
An issue you were watching has been closed and marked as complete.
|
|
|
|
**Issue Details:**
|
|
- **Issue Number:** {{ $issue->issue_number }}
|
|
- **Title:** {{ $issue->title }}
|
|
- **Type:** {{ ucfirst(str_replace('_', ' ', $issue->issue_type)) }}
|
|
- **Priority:** {{ ucfirst($issue->priority) }}
|
|
- **Status:** Closed
|
|
@if($issue->assignedTo)
|
|
- **Completed By:** {{ $issue->assignedTo->name }}
|
|
@endif
|
|
- **Closed At:** {{ $issue->updated_at->format('Y-m-d H:i') }}
|
|
|
|
@if($issue->due_date)
|
|
**Due Date:** {{ $issue->due_date->format('Y-m-d') }}
|
|
@if($issue->due_date->isPast())
|
|
*This issue was completed {{ $issue->updated_at->diffInDays($issue->due_date) }} {{ $issue->updated_at->diffInDays($issue->due_date) === 1 ? 'day' : 'days' }} after the due date.*
|
|
@else
|
|
*This issue was completed on time.*
|
|
@endif
|
|
@endif
|
|
|
|
@if($issue->estimated_hours)
|
|
**Time Tracking:**
|
|
- Estimated: {{ $issue->estimated_hours }} hours
|
|
- Actual: {{ $issue->actual_hours }} hours
|
|
@if($issue->actual_hours > $issue->estimated_hours)
|
|
- Variance: +{{ round($issue->actual_hours - $issue->estimated_hours, 2) }} hours over estimate
|
|
@elseif($issue->actual_hours < $issue->estimated_hours)
|
|
- Variance: {{ round($issue->estimated_hours - $issue->actual_hours, 2) }} hours under estimate
|
|
@endif
|
|
@endif
|
|
|
|
<x-mail::button :url="route('admin.issues.show', $issue)">
|
|
View Closed Issue
|
|
</x-mail::button>
|
|
|
|
Thank you for your work on this issue.
|
|
|
|
Thanks,<br>
|
|
{{ config('app.name') }}
|
|
</x-mail::message>
|