@foreach ($project_stats as $project)
@component('components.static', [
'svg' => '
',
'svg_text' => $project->status == 'not_started' ? 'tw-text-red-500' :
($project->status == 'on_hold' ? 'tw-text-yellow-500' :
($project->status == 'cancelled' ? 'tw-text-red-500' :
($project->status == 'in_progress' ? 'tw-text-cyan-500' :
($project->status == 'completed' ? 'tw-text-green-500' : '')))),
'svg_bg' => $project->status == 'not_started' ? 'tw-bg-red-100' :
($project->status == 'on_hold' ? 'tw-bg-yellow-100' :
($project->status == 'cancelled' ? 'tw-bg-red-100' :
($project->status == 'in_progress' ? 'tw-bg-cyan-300' :
($project->status == 'completed' ? 'tw-bg-green-200' : ''))))
])
{{ $statuses[$project->status] }}
{{ $project->count }}
@endcomponent
@endforeach
@endif
@component('components.widget')
@if ($project_view == 'list_view')
{!! Form::label('project_status_filter', __('sale.status') . ':') !!}
{!! Form::select('project_status_filter', $statuses, null, [
'class' => 'form-control select2',
'placeholder' => __('messages.all'),
'style' => 'width: 100%;',
]) !!}
@endif
{!! Form::label('project_end_date_filter', __('project::lang.end_date') . ':') !!}
{!! Form::select('project_end_date_filter', $due_dates, null, [
'class' => 'form-control select2',
'placeholder' => __('messages.all'),
'style' => 'width: 100%;',
]) !!}
{!! Form::label('project_categories_filter', __('project::lang.category') . ':') !!}
{!! Form::select('project_categories_filter', $categories, null, [
'class' => 'form-controll select2',
'placeholder' => __('messages.all'),
'style' => 'width:100%;',
]) !!}
@if ($project_view == 'list_view')
@endif
@if ($project_view == 'kanban')
@endif
@endcomponent