@extends('layouts.main') @section('page-title') {{ __('Project Detail') }} @endsection @section('page-breadcrumb') {{ __('Project Report') }}, {{ __('Project Details') }} @endsection @section('page-action')
@endsection @php $client_keyword = Auth::user()->hasRole('client') ? 'client.' : ''; @endphp @section('content'){{ __('Project Name') }}: | {{ $project->name }} |
---|---|
{{ __('Project Status') }}: |
@if ($project->status == 'Finished')
{{ __('Finished') }}
@elseif($project->status == 'Ongoing')
{{ __('Ongoing') }}
@else
{{ __('OnHold') }}
@endif
|
{{ __('Start Date') }}: | {{ company_date_formate($project->start_date) }} |
{{ __('Due Date') }}: | {{ company_date_formate($project->end_date) }} |
{{ __('Total Members') }}: | {{ (int) $project->users->count() + (int) $project->clients->count() }} |
{{ __('Name') }} | {{ __('Assigned Tasks') }} | {{ __('Done Tasks') }} |
---|---|---|
{{ $user->name }} | {{ $total_user_task }} | {{ $total_complete_task }} |
{{ __('Name') }} | {{ __('Progress') }} | {{ __('Cost') }} | {{ __('Status') }} | {{ __('Start Date') }} | {{ __('End Date') }} |
---|---|---|---|---|---|
{{ $milestone->title }} |
{{ $milestone->progress }}%
|
{{ $milestone->cost }} | @if ($milestone->status == 'complete') @else @endif | {{ $milestone->start_date }} | {{ $milestone->end_date }} |
{{ __('Task Name') }} | {{ __('Milestone') }} | {{ __('Start Date') }} | {{ __('Due Date') }} | @if (Auth::user()->hasRole('company') || Auth::user()->hasRole('client')){{ __('Assigned to') }} | @endif{{ __('Priority') }} | {{ __('Status') }} | @foreach ($tasksData as $row)
---|---|---|---|---|---|---|
{!! $row['title'] !!} | {!! $row['milestone'] !!} | {!! $row['start_date'] !!} | {!! $row['due_date'] !!} | @if (Auth::user()->hasRole('company') || Auth::user()->hasRole('client')){!! $row['user_name'] !!} | @endif{!! $row['priority'] !!} | {!! $row['status'] !!} |
{{ __('Category') }} | @foreach ($monthList as $month){{ $month }} | @endforeach
---|---|
{{ __('Total Income (Invoice)') }} | @foreach ($chartIncomeArr as $i => $income){{ currency_format_with_sym($income) }} | @endforeach
{{ __('Category') }} | @foreach ($monthList as $month){{ $month }} | @endforeach
---|---|
{{ __('Total Expenses (Bill)') }} | @foreach ($chartExpenseArr as $i => $expense){{ currency_format_with_sym($expense) }} | @endforeach
{{ __('Net Profit = Total Income - Total Expense') }} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ __('Net Profit') }} | @foreach ($netProfitArray as $i => $profit){{ currency_format_with_sym($profit) }} | @endforeach