@extends('master.authMaster') @section('content')

Project Details :

{{-- pdf Button --}} PDF Export Budget Excel sheet

Basic Information :

{{ $project->project_name }}
{{ $project->projectManager->name }}
{{ $project->teamLead->name ?? '-' }}
{{ $project->client_name }}
@foreach ($technology as $tech) {{ $tech }} | @endforeach
{{-- Description --}}
{{-- Start Date --}}
{{ \Carbon\Carbon::parse($project->start_date)->format('d-m-Y') }}
{{-- End Date --}}
{{ Carbon\Carbon::parse($project->end_date)->format('d-m-Y') }}
{{-- Assign Employees/resources --}}
@php $employees = json_decode($project->assigned_employee); @endphp @if (is_array($employees) || is_object($employees)) @foreach ($employees as $employee) @foreach ($users as $user) @if ($employee == $user->id) {{ $user->name }} | @endif @endforeach @endforeach @else No employees assigned. @endif
{{ $project->status }}

Project Resource

@php $slno = 1; @endphp @foreach ($resources as $resource) @endforeach
SL No Particulars Per Unit/Hour Cost (INR) UOM (Hourly/Daily/Monthly) No of Unit Cost
{{ $slno++ }} {{ $resource->name ?? '' }} {{ number_format($resource->cost_per_hour, 2) }} {{ $resource->cost_type ?? '' }} {{ $resource->duration ?? '' }} {{ number_format($resource->total_cost, 2) }}
Total Resource Cost {{ number_format($resourceTotalWithPmCost, 2) }}

Project Manager Cost

{{-- --}} {{-- --}} {{-- --}} {{-- --}}
SL No ParticularsPer 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

@foreach ($otherExpenses as $label => $value) @endforeach {{-- --}}
{{ $slno++ }} Operational Cost {{ number_format($operationalCost, 2) }}
{{ $slno++ }} Marketing Cost {{ number_format($marketingCost, 2) }}
{{ $slno++ }} Sales Cost {{ number_format($salesCost, 2) }}
{{ $slno++ }} {{ $label }} {{ number_format((float) $value, 2) }}
Sub Total {{ number_format($otherCostTotal, 2) }}
Total Cost {{ number_format($fixedCostTotal, 2) }}
{{--

Other Expenses

--}} {{-- @foreach ($otherExpenses as $label => $value) @endforeach
{{ $slno++ }} {{ $label }} {{ number_format((float) $value, 2) }}
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) }}
@endsection