Basic Information :
Project Name
{{ $project->project_name }}
Review Project Manager
{{ $project->projectManager->name }}
Assign Team Lead
{{ $project->teamLead->name ?? '-' }}
Client Name
{{ $project->client_name }}
Technology
@foreach ($technology as $tech)
{{ $tech }} |
@endforeach
{{-- Description --}}
Project Description in Brief
{{-- Start Date --}}
Start Date
{{ $project->start_date ? \Carbon\Carbon::parse($project->start_date)->format('Y-m-d') : '' }}
{{-- End Date --}}
End Date
{{ $project->end_date ? \Carbon\Carbon::parse($project->end_date)->format('Y-m-d') : '' }}
{{-- Assign Employees/resources --}}
Assign Employees
@php
$employees = json_decode($project->assigned_employee, true);
$employeeNames = collect($employees ?? [])
->map(function ($empId) use ($users) {
return optional($users->firstWhere('id', $empId))->name;
})
->filter()
->implode(' | ');
@endphp
{{ $employeeNames ?: 'No employees assigned.' }}
Status
@if($project->status=="initiated")
Initiated
@elseif($project->status=="inprogress")
In Progress
@elseif($project->status=="completed")
Completed
@else
On Hold
@endif
Project Resource
SL No
Particulars
Per Unit/Hour Cost (INR)
UOM (Hourly/Daily/Monthly)
No of Unit
Cost
@php $slno = 1; @endphp
@foreach ($resources as $resource)
{{ $slno++ }}
{{ $resource->name ?? '' }}
{{ number_format($resource->cost_per_hour, 2) }}
{{ $resource->cost_type ?? '' }}
{{ $resource->duration ?? '' }}
{{ number_format($resource->total_cost, 2) }}
@endforeach
Total Resource Cost
{{ number_format($resourceTotalWithPmCost, 2) }}
Project Manager Cost
SL No
Particulars
{{-- Per Unit/Hour Cost (INR) --}}
On Development Cost(%)
{{-- UOM (Hourly/Daily/Monthly) --}}
Cost
{{ $slno++ }}
PM cost
{{-- % on development cost --}}
{{ $pm_percentage ?? '' }}
{{-- {{ $pm_cost ?? '' }} --}}
{{ $pm_cost ?? '' }}
Net Resource Cost
{{ number_format($resourceTotal, 2) }}
Others Costs
{{ $slno++ }}
Operational Cost
{{ number_format($operationalCost, 2) }}
{{ $slno++ }}
Marketing Cost
{{ number_format($marketingCost, 2) }}
{{ $slno++ }}
Sales Cost
{{ number_format($salesCost, 2) }}
@foreach ($otherExpenses as $label => $value)
{{ $slno++ }}
{{ $label }}
{{ number_format((float) $value, 2) }}
@endforeach
Sub Total
{{ number_format($otherCostTotal, 2) }}
{{--
Total Cost
{{ number_format($fixedCostTotal, 2) }}
--}}
{{--
Other Expenses --}}
{{--
@foreach ($otherExpenses as $label => $value)
{{ $slno++ }}
{{ $label }}
{{ number_format((float) $value, 2) }}
@endforeach
Sub Total
{{ number_format($otherCostTotal, 2) }}
--}}
Profit and Commission
{{ $slno++ }}
Profit Margin ({{ round($project->profit_margin_percentage, 2) }}%)
{{ number_format($profit, 2) }}
{{ $slno++ }}
Commission
{{ number_format($commission, 2) }}
Gross Total
{{ number_format($grandTotal, 2) }}
Final Total
Total Project Cost
{{ number_format($grandTotal, 2) }}
Quote and Awarded Information
Cost To Customer / Quote Amount
{{ number_format($project->cost_to_customer, 2) }}
Accepted Project Amount
{{ number_format($project->accepted_project_cost, 2) }}