@extends('layouts.main-layout') @section("title") {{ config('app.name') }} - Customize data for client {{ $client->client_firstName }} {{ $client->client_lastName }} @endsection @section('content')

Customize data for client {{ $client->client_firstName }} {{ $client->client_lastName }}

@if(!empty($category) && isset($category))
@foreach($category as $cat) @if(!in_array($cat->categorie_id, $deletedCategoires))

{{ $cat->categorie_name }}

Is category active?

@if($cat->is_categorie_active && !in_array($cat->categorie_id, $categoryToHide))

YES

@else

NO

@endif

Action

Edit Category


Design hours

Development hours

Others hours

Is subcategorie and question active?

Action

@foreach($cat->subcategory as $subcat) @if(!in_array($subcat->sub_categorie_id, $deletedSubcategories->toArray())) @if(!in_array($subcat->sub_categorie_id, $subcategoryToHideAdminSide)) @if(in_array($subcat->sub_categorie_id, $belongingOfSubCategory->toArray()) || $subcat->sub_categorie_isDefault == 1) @php $repetetiveCount = 0; @endphp
@foreach($subcat->question as $question) @if(in_array($question->question_id, $belongingOfQuestions->toArray()) || $question->question_isDefault == 1) @if(!in_array($question->question_id, $deletedQuestions->toArray())) @if($question->sub_categorie_id == $subcat->sub_categorie_id) @php $repetetiveCount++; @endphp @endif
@if($repetetiveCount == 1)


Edit

@endif

{{ $question->question_name }}

@if($question->question_design_hours == "VARIES")

{{ $question->question_design_hours }}

@else

{{ $question->question_design_hours }}h

@endif
@if($question->question_development_hours == "VARIES")

{{ $question->question_development_hours }}

@else

{{ $question->question_development_hours }}h

@endif
@if($question->question_others_time == "VARIES")

{{ $question->question_others_time }}

@else

{{ $question->question_others_time }}h

@endif
@if(($question->question_is_active && !in_array($question->question_id, $hideQuestions->toArray())) && ($subcat->sub_categorie_isActive && !in_array($subcat->sub_categorie_id, $subcategoryToHide)))

YES

@else

NO

@endif
@endif @endif @endforeach
@endif @endif @endif @endforeach
@endif @endforeach
@endif
@endsection