@extends('layouts.master') @section('title', 'Assignment Details - Prolex Law Firm') @section('content')
{{ $assignment->assignment_title }}
Due: {{ $assignment->due_datetime->format('M d, Y \a\t H:i') }}
{{ ucfirst($assignment->priority) }} Priority
{{ ucfirst(str_replace('_', ' ', $assignment->status)) }}
Created: {{ $assignment->created_at->format('M d, Y') }}

Basic Information

Task Type
{{ ucwords(str_replace('_', ' ', $assignment->task_type)) }}
Estimated Hours
@if($assignment->estimated_hours) {{ $assignment->estimated_hours }} hours @else Not specified @endif
Progress
{{ $assignment->progress_percentage }}% Complete
Billable
@if($assignment->is_billable) Yes @else No @endif

Description & Instructions

Assignment Description

{{ $assignment->description }}

@if($assignment->instructions)

Special Instructions

{{ $assignment->instructions }}

@endif @if($assignment->documents_required)

Documents Required

{{ $assignment->documents_required }}

@endif
@if($assignment->court_datetime || $assignment->court_location || $assignment->opposing_counsel)

Court Information

Court Details
@if($assignment->court_datetime)
Court Date & Time
{{ $assignment->court_datetime->format('M d, Y \a\t H:i') }}
@endif @if($assignment->court_location)
Court Location
{{ $assignment->court_location }}
@endif @if($assignment->opposing_counsel)
Opposing Counsel
{{ $assignment->opposing_counsel }}
@endif
@endif @if($assignment->client_contact_info)

Contact Information

Client Contact Details

{{ $assignment->client_contact_info }}

@endif @if($assignment->billing_notes)

Billing Information

Billing Notes

{{ $assignment->billing_notes }}

@endif

Assigned Lawyer

{{ $assignment->lawyer->first_name }} {{ $assignment->lawyer->last_name }}
@if($assignment->lawyer->email) @endif @if($assignment->lawyer->phone) @endif @if($assignment->lawyer->bar_number)
Bar Number:
{{ $assignment->lawyer->bar_number }}
@endif
@if($assignment->client)

Client Information

{{ $assignment->client->first_name }} {{ $assignment->client->last_name }}
@if($assignment->client->email) @endif @if($assignment->client->phone) @endif @if($assignment->client->address)
Address:
{{ $assignment->client->address }}
@endif
@endif @if($assignment->legalCase)

Related Case

{{ $assignment->legalCase->case_number }}
@if($assignment->legalCase->case_title)
Title: {{ $assignment->legalCase->case_title }}
@endif @if($assignment->legalCase->court_name)
Court: {{ $assignment->legalCase->court_name }}
@endif @if($assignment->legalCase->filing_date)
Filing Date: {{ $assignment->legalCase->filing_date->format('M d, Y') }}
@endif
@endif
Back to List
Edit Assignment @if($assignment->status !== 'completed')
@csrf @method('DELETE')
@endif
@endsection