Update Pricing
Customize for client
# | First | Last | Phone number | Is client active | Is already customized | Action | |
---|---|---|---|---|---|---|---|
{{ $profile->client_id }} | {{ $profile->client_firstName }} | {{ $profile->client_lastName }} | {{ $profile->client_email }} | {{ $profile->client_phoneNumber }} | @if($profile->client_isActive) Yes @else No @endif | @if(in_array($profile->client_id, $isCustomizedForClientCheck)) Yes @else No @endif | Customize |
All available data for clients to show except for already customized clients
@if(!empty($category) && isset($category))
@foreach($category as $cat)
@if(!in_array($cat->categorie_id, $deletedCategoires))
@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
@endif
@endforeach
@endif
{{ $cat->categorie_name }}
Is category active?
@if($cat->is_categorie_active && !in_array($cat->categorie_id, $categoryToHide))YES
@elseNO
@endifAction
Design hours
Development hours
Others hours
Is subcategorie and question active?
Action
@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
@endif
@endif
@endif
@endforeach
@if($repetetiveCount == 1)
@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)))
@endif
@endif
@endforeach
YES
@elseNO
@endif