2991 lines
197 KiB
PHP
2991 lines
197 KiB
PHP
@isset($task_todo)
|
|
|
|
|
|
<!-- TE1 - Desmontar da linha -->
|
|
@if ($task_todo->elemental_tasks_id == 1)
|
|
<!-- TE1 - Desmontar da linha -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<!-- Card-header TE1-->
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">
|
|
Data:{{ $task_todo->entry_date }} |</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução:
|
|
{{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./Card-header TE1-->
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<input type="hidden" name="controlEquipmentID"
|
|
value="{{ $receiveDataControlEquipment->control_equipment_workstation_id ?? '' }}">
|
|
|
|
<!-- Conformidade da etiqueta -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6 icheck-primary">
|
|
<input id="ID1[confirm_label_compliance-checkbox]" type="checkbox"
|
|
name="ID1[confirm_label_compliance-checkbox]"
|
|
@if (isset($task_todo->formatted_answers['confirm_label_compliance']) &&
|
|
$task_todo->formatted_answers['confirm_label_compliance'] == 'on') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<label for="ID1[confirm_label_compliance-checkbox]">Conformidade da
|
|
etiqueta <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
</div> <!-- ./ Conformidade da etiqueta -->
|
|
|
|
<!-- Tipo de junta existente -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label for="existing-joint">Tipo de junta existente <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="existing-joint" name="ID1[existing_joint-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="316L OR" @if (isset($task_todo->formatted_answers['existing_joint']) &&
|
|
$task_todo->formatted_answers['existing_joint'] == '316L OR') selected @endif>316L OR
|
|
</option>
|
|
<option value="316L IR/OR" @if (isset($task_todo->formatted_answers['existing_joint']) &&
|
|
$task_todo->formatted_answers['existing_joint'] == '316L IR/OR') selected @endif>316L IR/OR
|
|
</option>
|
|
<option value="Monel IR/OR" @if (isset($task_todo->formatted_answers['existing_joint']) &&
|
|
$task_todo->formatted_answers['existing_joint'] == 'Monel IR/OR') selected @endif>Monel
|
|
IR/OR
|
|
</option>
|
|
<option value="Monel OR C/Gorotex" @if (isset($task_todo->formatted_answers['existing_joint']) &&
|
|
$task_todo->formatted_answers['existing_joint'] == 'Monel OR C/Gorotex') selected @endif>
|
|
Monel OR
|
|
C/Gorotex
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div> <!-- ./ Tipo de junta existente -->
|
|
|
|
<!-- Facing type -->
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<label>Facing type <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="facing-type" name="ID1[facing_type-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option disabled hidden value=""></option>
|
|
<option value="RF" @if (isset($task_todo->formatted_answers['facing_type']) && $task_todo->formatted_answers['facing_type'] == 'RF') selected @endif>RF
|
|
</option>
|
|
<option value="RTJ" @if (isset($task_todo->formatted_answers['facing_type']) && $task_todo->formatted_answers['facing_type'] == 'RTJ') selected @endif>RTJ
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div> <!-- ./ Facing type -->
|
|
|
|
<!-- Diâmetro do perno -->
|
|
<div class="row m-3">
|
|
<div class="col-md-6">
|
|
<label>Diâmetro do perno</label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
{{-- @dd($task_todo->formatted_answers['diameter']) --}}
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="Polegadas" id="ID1[diameter-inches]"
|
|
name="ID1[diameter-varchar]" @if (isset($task_todo->formatted_answers['diameter']) && $task_todo->formatted_answers['diameter'] == 'Polegadas') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="ID1[diameter-inches]">Polegadas</label>
|
|
</div>
|
|
<div class="icheck-primary d-inline">
|
|
<input type="radio" value="Milímetros" id="ID1[diameter-milimeters]"
|
|
name="ID1[diameter-varchar]" @if (isset($task_todo->formatted_answers['diameter']) && $task_todo->formatted_answers['diameter'] == 'Milímetros') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="ID1[diameter-milimeters]">Milímetros</label>
|
|
</div>
|
|
</div>
|
|
</div> <!-- ./ Diâmetro do perno -->
|
|
|
|
<!-- Medida do perno -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Medida do perno</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="bolt-measure1" name="ID1[bolt_measure1-number]" type="number" step="0.01"
|
|
class="form-control" style="width: 40%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bolt_measure1'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif> x
|
|
|
|
<input id="bolt-measure2" name="ID1[bolt_measure2-number]" type="number"
|
|
class="form-control ml-2" style="width: 40%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bolt_measure2'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div> <!-- ./ Medida do perno -->
|
|
|
|
|
|
<!-- Medida da chave (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Medida da chave (mm)</label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="key-measure" name="ID1[key_measure-number]" type="number" class="form-control"
|
|
placeholder="" value="{{ $task_todo->formatted_answers['key_measure'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div> <!-- ./ Medida da chave (mm) -->
|
|
|
|
|
|
<!-- Tubagem obstruída -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<label>Tubagem obstruída</label>
|
|
<i class="fas fa-info-circle ml-2" style="color: #9B9B9B;" data-toggle="tooltip"
|
|
title="Considera-se obstruída a tubagem onde a válvula se encontra conectada, quando a obstrução é = v > a 25%"></i>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="TRUE" id="piping-yes" name="ID1[piping-boolean]"
|
|
@if (isset($task_todo->formatted_answers['piping']) && $task_todo->formatted_answers['piping'] == 'TRUE') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="piping-yes">Sim</label>
|
|
</div>
|
|
<div class="icheck-primary d-inline">
|
|
<input type="radio" value="FALSE" id="piping-no" name="ID1[piping-boolean]"
|
|
@if (isset($task_todo->formatted_answers['piping']) && $task_todo->formatted_answers['piping'] == 'FALSE') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="piping-no">Não</label>
|
|
</div>
|
|
</div>
|
|
</div> <!-- ./ Tubagem obstruída -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
</div>
|
|
<!-- ./card TE1 -->
|
|
|
|
</div>
|
|
<!-- ./TE1 - Desmontar da linha -->
|
|
@endif
|
|
|
|
{{-- <!-- TE12 - Inspeção visual -->
|
|
@if ($task_todo->elemental_tasks_id == 18)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }} |
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<!-- Single form-group for all content -->
|
|
|
|
<!-- Identificação da válvula em bom estado -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Identificação da válvula em bom estado <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-id" name="ID18[valve_id-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="yes" @if ($task_todo->formatted_answers['valve_id'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['valve_id'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['valve_id'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Identificação da válvula em bom estado -->
|
|
|
|
<!-- Válvula/atuador com sinais de corrosão -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Válvula/atuador com sinais de corrosão <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-corrosion" name="ID18[valve_corrosion-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['valve_corrosion'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['valve_corrosion'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['valve_corrosion'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Válvula/atuador com sinais de corrosão -->
|
|
|
|
<!-- Calhas, cabos e tubos em bom estado -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Calhas, cabos e tubos em bom estado <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="good-condition" name="ID18[good_condition-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['good_condition'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['good_condition'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['good_condition'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Calhas, cabos e tubos em bom estado -->
|
|
|
|
<!-- Fuga no empanque -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Fuga no empanque <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="seal-leak" name="ID18[seal_leak-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['seal_leak'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['seal_leak'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['seal_leak'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fuga no empanque -->
|
|
|
|
<!-- Fuga nas flanges -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Fuga nas flanges <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="flanges-leak" name="ID18[flanges_leak-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['flanges_leak'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['flanges_leak'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['flanges_leak'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fuga nas flanges -->
|
|
|
|
<!-- Fuga nas ligações pneumáticas -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Fuga nas ligações pneumáticas <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="pneumatic-leak" name="ID18[pneumatic_leak-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['pneumatic_leak'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['pneumatic_leak'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['pneumatic_leak'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fuga nas ligações pneumáticas -->
|
|
|
|
<!-- Fuga no atuador -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Fuga no atuador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-leak" name="ID18[actuator_leak-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['actuator_leak'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['actuator_leak'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['actuator_leak'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fuga no atuador -->
|
|
|
|
<!-- Humidade no posicionador -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Humidade no posicionador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-humidity" name="ID18[positioner_humidity-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['positioner_humidity'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['positioner_humidity'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['positioner_humidity'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Humidade no posicionador -->
|
|
|
|
<!-- Pressão correta no regulador -->
|
|
<div class="row mt-3">
|
|
<div class="col-md-6">
|
|
<label>Pressão correta no regulador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="regulator-pressure" name="ID18[regulator_pressure-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['regulator_pressure'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['regulator_pressure'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="n_a" @if ($task_todo->formatted_answers['regulator_pressure'] ?? '' == 'n_a') @endif>
|
|
N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pressão correta no regulador -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
@if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif --}}
|
|
|
|
<!-- TE2 - Descontaminar -->
|
|
@if ($task_todo->elemental_tasks_id == 2)
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<!-- Card-header TE2-->
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }}
|
|
|
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group"> <!-- Single form-group for all content -->
|
|
<input type="hidden" name="controlEquipmentID"
|
|
value="{{ $receiveDataControlEquipment->control_equipment_workstation_id ?? '' }}">
|
|
|
|
<!-- Decontamination -->
|
|
<div class="row mb-3 mt-4">
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<label>Descontaminação de acordo com as indicações do cliente? <span
|
|
style="color: red;">*</span></label>
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="yes" id="decontamination_yes"
|
|
name="ID2[decontamination-varchar]" @if (isset($task_todo->formatted_answers['decontamination']) &&
|
|
$task_todo->formatted_answers['decontamination'] == 'yes') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="decontamination_yes">Sim</label>
|
|
</div>
|
|
<div class="icheck-primary d-inline">
|
|
<input type="radio" value="no" id="decontamination_no"
|
|
name="ID2[decontamination-varchar]" @if (isset($task_todo->formatted_answers['decontamination']) && $task_todo->formatted_answers['decontamination'] == 'no') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="decontamination_no">Não</label>
|
|
</div>
|
|
<div class="icheck-primary d-inline">
|
|
<input type="radio" value="nA" id="diameter_not_applicable"
|
|
name="ID2[decontamination-varchar]" @if (isset($task_todo->formatted_answers['decontamination']) && $task_todo->formatted_answers['decontamination'] == 'nA') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="diameter_not_applicable">Não aplicável</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Decontamination -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
|
|
</div> <!-- card-body TE1 -->
|
|
</div>
|
|
@endif
|
|
|
|
<!-- TE3 - Pré-teste-->
|
|
@if ($task_todo->elemental_tasks_id == 3)
|
|
<!-- TE3 - Pré-teste-->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<!-- Card-header TE3 - Pré-teste-->
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }} |
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Card-header TE3 - Pré-teste-->
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group"> <!-- Single form-group for all content -->
|
|
|
|
<div class="row">
|
|
|
|
<!-- First card column -->
|
|
<div class="col-md">
|
|
|
|
<!-- Validar especificações técnicas -->
|
|
<div class="row mb">
|
|
<div class="icheck-primary">
|
|
<input id="ID3[validate-technical-specifications]" type="checkbox"
|
|
name="ID3[validate-technical-specifications-checkbox]" value="on"
|
|
@if ($task_todo->formatted_answers['validate'] ?? '' == 'on') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<label for="ID3[validate-technical-specifications]">
|
|
Validar especificações técnicas
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Validar especificações técnicas -->
|
|
|
|
<!-- Especificações técnicas -->
|
|
<div class="row mb">
|
|
<label>Especificações técnicas</label>
|
|
<textarea name="ID3[technical_specs_text-textarea]" class="form-control" rows="3" placeholder=""
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
{{ $task_todo->formatted_answers['technical_specs_text'] ?? '' }}
|
|
</textarea>
|
|
</div>
|
|
<!-- ./ Especificações técnicas -->
|
|
|
|
<!-- Data de pré-teste -->
|
|
<div class="row mb">
|
|
<div class="col-md-3 d-flex align-items-center">
|
|
<label>Data de calibração</label>
|
|
<span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-9 d-flex align-items-center">
|
|
<div class="input-group date" id="reservationdate" data-target-input="nearest">
|
|
<input name="ID3[pre_test_data-datetime]" type="datetime-local"
|
|
class="form-control float-right"
|
|
value="{{ $task_todo->formatted_answers['pre_test_data'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Data de pré-teste -->
|
|
|
|
<!-- API RP 576 -->
|
|
<div class="row mb-3">
|
|
<div class="col-md d-flex align-items-center">
|
|
<label for="apirp576-select">Pré-teste efetuado de acordo
|
|
com o API RP 576</label>
|
|
</div>
|
|
<div class="col-md">
|
|
<select id="apirp576-select" name="ID3[apirp576-select]" class="form-control"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['apirp576'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['apirp576'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ API RP 576 -->
|
|
|
|
<!-- Pré-teste em bancada -->
|
|
<div class="row mb">
|
|
<div class="col-md d-flex align-items-center">
|
|
<label for="bench-pretest-select">
|
|
Foi efetuado o pré-teste em bancada <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<div class="col-md">
|
|
<select id="bench-pretest-select" name="ID3[bench_pretest-select]"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['bench_pretest']) && $task_todo->formatted_answers['bench_pretest'] == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['bench_pretest']) && $task_todo->formatted_answers['bench_pretest'] == 'no') selected @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pré-teste em bancada -->
|
|
|
|
<!-- Conforme recebida da unidade -->
|
|
<div class="row mb">
|
|
<div class="col-md-9 d-flex align-items-center">
|
|
<label for="unit-received-select">Conforme recebida da
|
|
unidade</label>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<select id="unit-received-select" name="ID3[unit_received-select]"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['unit_received']) && $task_todo->formatted_answers['unit_received'] == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['unit_received']) && $task_todo->formatted_answers['unit_received'] == 'no') selected @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Conforme recebida da unidade -->
|
|
|
|
<!-- Após limpeza -->
|
|
<div class="row mb">
|
|
<div class="col-md-9 d-flex align-items-center">
|
|
<label for="after-cleaning-select">Após limpeza</label>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<select id="after-cleaning-select" name="ID3[after_cleaning-select]"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['after_cleaning']) && $task_todo->formatted_answers['after_cleaning'] == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['after_cleaning']) && $task_todo->formatted_answers['after_cleaning'] == 'no') selected @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Após limpeza -->
|
|
|
|
<!-- Apresenta fuga -->
|
|
<div class="row mb">
|
|
<div class="col-md-9 d-flex align-items-center">
|
|
<label for="shows-leak-select">Apresenta fuga</label>
|
|
<i class="fas fa-info-circle ml-2" style="color: #9B9B9B;" data-toggle="tooltip"
|
|
title="Considera-se com fuga no teste de 'POP', em bancada ou na instalação, quando o início da passagem é inferior a 90% relativamente ao 'set pressure', (95% para válvulas pilotadas). Para testes de inspeção visual considera-se com fuga se houver evidência de danos excessivos ou cortes nas faces de vedação"></i>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<select id="shows-leak-select" name="ID3[shows_leak-select]" class="form-control"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['shows_leak']) && $task_todo->formatted_answers['shows_leak'] == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['shows_leak']) && $task_todo->formatted_answers['shows_leak'] == 'no') selected @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Apresenta fuga -->
|
|
</div>
|
|
<!-- ./First card column -->
|
|
|
|
<!-- Second card column -->
|
|
<div class="col-md">
|
|
|
|
<!-- Pressão a que se inicia a passagem (bar) -->
|
|
<div class="row mb">
|
|
<div class="col-md-7">
|
|
<label>Pressão a que se inicia a passagem (bar) <span
|
|
style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-5 d-flex align-items-center">
|
|
<input id="pressure-flow-begins" name="ID3[pressure_flow_begins-number]"
|
|
type="number" step="0.01" class="form-control" style="width: 100%;"
|
|
placeholder=""
|
|
value="{{ $task_todo->formatted_answers['pressure_flow_begins'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pressão a que se inicia a passagem (bar) -->
|
|
|
|
<!-- Pressão a que volta a fechar "assentar" (bar) -->
|
|
<div class="row mb">
|
|
<div class="col-md-7">
|
|
<label>Pressão a que volta a fechar "assentar" (bar) <span
|
|
style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-5 d-flex align-items-center">
|
|
<input id="pressure-flow-stops" name="ID3[pressure_flow_stops-number]" type="number"
|
|
step="0.01" class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['pressure_flow_stops'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pressão a que volta a fechar "assentar" (bar) -->
|
|
|
|
<!-- Pressão de abertura POP (bar) -->
|
|
<div class="row mb">
|
|
<div class="col-md-7">
|
|
<label>Pressão de abertura POP (bar) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-5 d-flex align-items-center">
|
|
<input id="POP_opening_pressure" name="ID3[POP_opening_pressure-number]"
|
|
type="number" step="0.01" class="form-control" style="width: 100%;"
|
|
placeholder=""
|
|
value="{{ $task_todo->formatted_answers['POP_opening_pressure'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pressão de abertura POP (bar) -->
|
|
|
|
<!-- A válvula está colada -->
|
|
<div class="row mb">
|
|
<div class="col-md-9 d-flex align-items-center">
|
|
<label for="stuck-valve-select">
|
|
A válvula está colada <span style="color: red;">*</span>
|
|
</label>
|
|
<i class="fas fa-info-circle ml-2" style="color: #9B9B9B;" data-toggle="tooltip"
|
|
title="Considera-se válvula colada quando se eleva a pressão até 30% da Pressão de Teste e não abre"></i>
|
|
</div>
|
|
<div class="col-md">
|
|
<select id="stuck_valve-select" name="ID3[stuck_valve-select]" class="form-control"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['stuck_valve'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['stuck_valve'] ?? '' == 'no') selected @endif>
|
|
Não</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ A válvula está colada -->
|
|
|
|
<!-- Indicar se a válvula volta a assentar durante o teste -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-7 d-flex align-items-center">
|
|
<label for="valve-reseats-select">
|
|
Indicar se a válvula volta a assentar durante o teste
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<div class="col-md-5">
|
|
<select id="valve_reseats-select" name="ID3[valve_reseats-select]"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['valve_reseats'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['valve_reseats'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="not applicable" @if ($task_todo->formatted_answers['valve_reseats'] ?? '' == 'not applicable') @endif>
|
|
Não aplicável</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ./ Indicar se a válvula volta a assentar durante o teste -->
|
|
|
|
<!-- Reparada -->
|
|
<div class="row mb">
|
|
<div class="col-md-8 d-flex align-items-center">
|
|
<label for="repaired-select">
|
|
Reparada <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<select id="repaired-select" name="ID3[repaired-select]" class="form-control"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if ($task_todo->formatted_answers['repaired'] ?? '' == 'yes') selected @endif>
|
|
Sim</option>
|
|
<option value="no" @if ($task_todo->formatted_answers['repaired'] ?? '' == 'no') @endif>
|
|
Não</option>
|
|
<option value="new" @if ($task_todo->formatted_answers['repaired'] ?? '' == 'new') @endif>
|
|
Nova</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Reparada -->
|
|
|
|
<!-- Resultado do pré-teste -->
|
|
<div class="row mb">
|
|
<div class="col-md-8 d-flex align-items-center">
|
|
<label for="pre-test-result-select">
|
|
Resultado do pré-teste
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
<i class="fas fa-info-circle ml-2" style="color: #9B9B9B;" data-toggle="tooltip"
|
|
title="Considera-se que passou o teste de 'POP', em bancada ou na instalação, quando a abertura se dá num intervalo de 30% relativamente ao 'set pressure'. Para testes de inspeção visual considera-se que passou se não houver evidências de mola danificada, corrosão excessiva e/ou gripagem das peças móveis (haste/guia/obturador)."></i>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<select id="pre_test_result-select" name="ID3[pre_test_result-select]"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="passed" @if ($task_todo->formatted_answers['pre_test_result'] ?? '' == 'passed') selected @endif>
|
|
Passou</option>
|
|
<option value="plunked" @if ($task_todo->formatted_answers['pre_test_result'] ?? '' == 'plunked') @endif>
|
|
Chumbou</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Resultado do pré-teste -->
|
|
|
|
<!-- Resumo -->
|
|
<label>Resumo</label>
|
|
{{-- <table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 50%">Falha ao abrir</th>
|
|
<th style="width: 50%">Falha de estanquicidade (Fuga)
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<!-- FTO -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="fto-lpv-fto"
|
|
name="fto_lpv-select" required>
|
|
<label value="FTO" for="fto-lpv-fto">
|
|
Preso ou Falha a Abrir (FTO)
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<!-- ./ FTO -->
|
|
</td>
|
|
<td>
|
|
<!-- LPV -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="fto-lpv-lpv"
|
|
name="fto_lpv-select" required>
|
|
<label value="FTO" for="fto-lpv-lpv">
|
|
Fuga Superior à Permitida (LPV)
|
|
<span style="color: red;">**</span>
|
|
</label>
|
|
</div>
|
|
<!-- ./ LPV -->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<!-- VPO -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="vpo-spo-vpo"
|
|
name="vpo_spo-select" required>
|
|
<label value="VPO" for="vpo-spo-vpo">
|
|
Válvula Parcialmente Aberta (VPO)
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<!-- ./ VPO -->
|
|
</td>
|
|
<td>
|
|
<!-- SPO -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="vpo-spo-spo"
|
|
name="vpo_spo-select" required>
|
|
<label value="SPO" for="vpo-spo-spo">
|
|
Abre Antes da Pressão de Teste (SPO)
|
|
<span style="color: red;">**</span>
|
|
</label>
|
|
</div>
|
|
<!-- ./ SPO -->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<!-- OASP -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="oasp-vso-oasp"
|
|
name="oasp_vso-select" required>
|
|
<label value="OASP" for="oasp-vso-oasp">Abre
|
|
Acima
|
|
da
|
|
Pressão de Teste (OASP) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<!-- ./ OASP -->
|
|
</td>
|
|
<td>
|
|
<!-- VSO -->
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" class="toggle-radio" id="oasp-vso-vso"
|
|
name="oasp_vso-select" required>
|
|
<label value="VSO" for="oasp-vso-vso">Válvula
|
|
Colada
|
|
(VSO)
|
|
<span style="color: red;">**</span></label>
|
|
</div>
|
|
<!-- ./ VSO -->
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table> --}}
|
|
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 50%">Falha ao abrir</th>
|
|
<th style="width: 50%">Falha de estanquicidade (Fuga)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<!-- FTO -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="FTO" id="fto-lpv-fto"
|
|
name="fto_lpv-select"
|
|
@if (isset($task_todo->formatted_answers['fto_lpv']) && $task_todo->formatted_answers['fto_lpv'] == 'FTO') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="fto-lpv-fto">Preso ou Falha a Abrir (FTO)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ FTO -->
|
|
</td>
|
|
<td>
|
|
<!-- LPV -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="LPV" id="fto-lpv-lpv"
|
|
name="fto_lpv-select"
|
|
@if (isset($task_todo->formatted_answers['fto_lpv']) && $task_todo->formatted_answers['fto_lpv'] == 'LPV') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="fto-lpv-lpv">Fuga Superior à Permitida (LPV)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ LPV -->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<!-- VPO -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="VPO" id="vpo-spo-vpo"
|
|
name="vpo_spo-select"
|
|
@if (isset($task_todo->formatted_answers['vpo_spo']) && $task_todo->formatted_answers['vpo_spo'] == 'VPO') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="vpo-spo-vpo">Válvula Parcialmente Aberta (VPO)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ VPO -->
|
|
</td>
|
|
<td>
|
|
<!-- SPO -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="SPO" id="vpo-spo-spo"
|
|
name="vpo_spo-select"
|
|
@if (isset($task_todo->formatted_answers['vpo_spo']) && $task_todo->formatted_answers['vpo_spo'] == 'SPO') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="vpo-spo-spo">Abre Antes da Pressão de Teste
|
|
(SPO)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ SPO -->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<!-- OASP -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="OASP" id="oasp-vso-oasp"
|
|
name="oasp_vso-select"
|
|
@if (isset($task_todo->formatted_answers['oasp_vso']) && $task_todo->formatted_answers['oasp_vso'] == 'OASP') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="oasp-vso-oasp">Abre Acima da Pressão de Teste
|
|
(OASP)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ OASP -->
|
|
</td>
|
|
<td>
|
|
<!-- VSO -->
|
|
<div class="row m-3">
|
|
|
|
<div class="col-md">
|
|
<div class="icheck-primary d-inline mr-2">
|
|
<input type="radio" value="VSO" id="oasp-vso-vso"
|
|
name="oasp_vso-select"
|
|
@if (isset($task_todo->formatted_answers['oasp_vso']) && $task_todo->formatted_answers['oasp_vso'] == 'VSO') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<label for="oasp-vso-vso">Válvula Colada (VSO)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ VSO -->
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<!-- ./Resumo -->
|
|
|
|
</div>
|
|
<!-- ./ Second card column -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
|
|
<!-- TE4 - Abertura da válvula, análise e controle dos componentes -->
|
|
@if ($task_todo->elemental_tasks_id == 5)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">
|
|
Data:{{ $task_todo->entry_date }} |</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução:
|
|
{{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<!-- Single form-group for all content -->
|
|
|
|
<div class="row">
|
|
|
|
<!-- First card column -->
|
|
<div class="col-md-6">
|
|
|
|
<div class="row">
|
|
|
|
<input type="hidden" name="capturedImages" id="capturedImagesInput-form5">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label>Perno de calibração</label>
|
|
</div>
|
|
|
|
<!-- Qual a medida do perno? (mm) -->
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<label>Qual a medida do perno? (mm)
|
|
</label>
|
|
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="bolt-value" name="ID5[bolt_value-number]" type="number" step="0.01"
|
|
class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bolt_value'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Qual a medida do perno? (mm) -->
|
|
|
|
<!-- Corpo da válvula -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Corpo da válvula
|
|
<span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-body" name="ID5[valve_body-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Corpo da válvula -->
|
|
|
|
<!-- Castelo/Capacete -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Castelo/Capacete <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-castle" name="ID5[valve_castle-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_castle']) && $task_todo->formatted_answers['valve_castle'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Castelo/Capacete -->
|
|
|
|
<!-- Flanges -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Flanges <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-edges" name="ID5[valve_edges-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_edges']) && $task_todo->formatted_answers['valve_edges'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Flanges -->
|
|
|
|
<!-- Mola -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Mola <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-spring" name="ID5[valve_spring-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_spring']) && $task_todo->formatted_answers['valve_spring'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Mola -->
|
|
|
|
<!-- Haste -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Haste <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-rod" name="ID5[valve_rod-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Haste -->
|
|
|
|
<!-- Obturador -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Obturador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-shutter" name="ID5[valve_shutter-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Obturador -->
|
|
|
|
<!-- Sede -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Sede <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-seat" name="ID5[valve_seat-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Sede -->
|
|
|
|
<!-- Anéis de regulação -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Anéis de regulação <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-adjustment-rings" name="ID5[valve_adjustment_rings-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_adjustment_rings']) && $task_todo->formatted_answers['valve_adjustment_rings'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Anéis de regulação -->
|
|
|
|
<!-- Pernos/Porcas -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Pernos/Porcas <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-bolts-nuts" name="ID5[valve_bolts_nuts-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_bolts_nuts']) && $task_todo->formatted_answers['valve_bolts_nuts'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pernos/Porcas -->
|
|
|
|
<!-- Fole -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Fole <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-bellow" name="ID5[valve_bellow-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
|
|
<option value="N/A" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'N/A')>N/A</option>
|
|
<option value="ok" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'ok')>Ok</option>
|
|
<option value="replace" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'replace')>Substituir</option>
|
|
<option value="reparar" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'reparar')>Reparar</option>
|
|
<option value="benefit" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'benefit')>Beneficiar</option>
|
|
<option value="accept" @selected(isset($task_todo->formatted_answers['valve_bellow']) && $task_todo->formatted_answers['valve_bellow'] == 'accept')>Aceitar</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fole -->
|
|
|
|
</div>
|
|
<!-- ./ First card column -->
|
|
|
|
|
|
<!-- Second card column -->
|
|
<div class="col-md-6">
|
|
<div class="mb-3">
|
|
<label>Mola</label>
|
|
</div>
|
|
|
|
<!-- Comprimento (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Comprimento (mm) </label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="spring-lenght" name="ID5[spring_lenght-number]" type="number"
|
|
step="0.01" class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['spring_lenght'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Comprimento (mm) -->
|
|
|
|
<!-- Diâmetro (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Diâmetro (mm)
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="spring-diameter" name="ID5[spring_diameter-number]" type="number"
|
|
step="0.01" class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['spring_diameter'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Diâmetro (mm) -->
|
|
|
|
<!-- Diâmetro externo (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Diâmetro externo (mm)
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="spring-diameter-ext" name="ID5[spring_diameter_ext-number]" type="number"
|
|
step="0.01" class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['spring_diameter_ext'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Diâmetro externo (mm) -->
|
|
|
|
<!-- Passo entre espias (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Passo entre espias (mm)
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="spring-pitch-glands" name="ID5[spring_pitch_glands-number]" type="number"
|
|
step="1" class="form-control" style="width: 100%;" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['spring_pitch_glands'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Passo entre espias (mm) -->
|
|
|
|
<!-- Número de espias (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Número de espias (mm)
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="spring-number-glands" name="ID5[spring_number_glands-number]"
|
|
type="number" step="1" class="form-control" style="width: 100%;"
|
|
placeholder=""
|
|
value="{{ $task_todo->formatted_answers['spring_number_glands'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Número de espias (mm) -->
|
|
|
|
<!-- Observações -->
|
|
<div class="row mb-3">
|
|
<label>Observações</label>
|
|
<textarea name="ID5[spring_observations-text]" class="form-control" rows="5" placeholder=""
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
{{ $task_todo->formatted_answers['spring_observations'] ?? '' }}
|
|
</textarea>
|
|
</div>
|
|
<!-- ./ Observações -->
|
|
|
|
</div>
|
|
<!-- ./ Second card column -->
|
|
|
|
</div>
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
<!-- TE5 - Limpeza e lavagem dos componentes -->
|
|
@if ($task_todo->elemental_tasks_id == 8)
|
|
<!-- TE5 - Limpeza e lavagem dos componentes -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }}
|
|
|
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<!-- Executado -->
|
|
<div class="row mb-3">
|
|
<div class="col-md d-flex align-items-center">
|
|
<label>Executado <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md">
|
|
<select name="ID8[cleaning_executed-select]" id="cleaning_executed-select"
|
|
class="form-control" required @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['cleaning_executed']) &&
|
|
$task_todo->formatted_answers['cleaning_executed'] == 'yes') selected @endif>Sim
|
|
</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['cleaning_executed']) &&
|
|
$task_todo->formatted_answers['cleaning_executed'] == 'no') selected @endif>Não
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Executado -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./TE5 - Limpeza e lavagem dos componentes -->
|
|
@endif
|
|
|
|
<!-- TE6 - Retificação e lapidação -->
|
|
@if ($task_todo->elemental_tasks_id == 9)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }}
|
|
|
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<!-- Single form-group for all content -->
|
|
<div class="row mb-3 mt-3 col-md-12">
|
|
<label>Sede</label>
|
|
</div>
|
|
|
|
<!-- Diâmetro interior (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Diâmetro interior (mm) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="seat-phi-int" name="ID9[seat_phi_int-number]" type="number" step="0.01"
|
|
class="form-control" value="{{ $task_todo->formatted_answers['seat_phi_int'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Diâmetro interior (mm) -->
|
|
|
|
<!-- Diâmetro exterior (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Diâmetro exterior (mm) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="seat-phi-ext" name="ID9[seat_phi_ext-number]" type="number" step="0.01"
|
|
class="form-control" value="{{ $task_todo->formatted_answers['seat_phi_ext'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Diâmetro iexterior (mm) -->
|
|
|
|
<div class="row mb-3 mt-3 col-md-12">
|
|
<label>Obturador</label>
|
|
</div>
|
|
|
|
<!-- Ressalto (mm) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Ressalto (mm) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="shutter-cam" name="ID9[shutter_cam-number]" type="number" step="0.01"
|
|
class="form-control" value="{{ $task_todo->formatted_answers['shutter_cam'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Ressalto (mm) -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
<!-- TE7(2)-CV - Fecho da válvula e substituição de componentes -->
|
|
@if ($task_todo->elemental_tasks_id == 11)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }}
|
|
|
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<!-- Single form-group for all content -->
|
|
|
|
<div class="row">
|
|
|
|
<!-- First card column -->
|
|
<div class="col-md-6">
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Válvula</label></h5>
|
|
</div>
|
|
|
|
<!-- Corpo, Castelo e Flanges -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Corpo, Castelo e Flanges <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-body" name="ID11[valve_body-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_body']) && $task_todo->formatted_answers['valve_body'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Corpo, Castelo e Flanges -->
|
|
|
|
<!-- Bucim -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Bucim <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-bushing" name="ID11[valve_bushing-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_bushing']) &&
|
|
$task_todo->formatted_answers['valve_bushing'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_bushing']) &&
|
|
$task_todo->formatted_answers['valve_bushing'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_bushing']) &&
|
|
$task_todo->formatted_answers['valve_bushing'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_bushing']) && $task_todo->formatted_answers['valve_bushing'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Bucim -->
|
|
|
|
<!-- Empanque -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Empanque <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-seal" name="ID11[valve_seal-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_seal']) && $task_todo->formatted_answers['valve_seal'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_seal']) && $task_todo->formatted_answers['valve_seal'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_seal']) && $task_todo->formatted_answers['valve_seal'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_seal']) && $task_todo->formatted_answers['valve_seal'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Empanque -->
|
|
|
|
<!-- Haste -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Haste <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-rod" name="ID11[valve_rod-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_rod']) && $task_todo->formatted_answers['valve_rod'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Haste -->
|
|
|
|
<!-- Obturador -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Obturador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-shutter" name="ID11[valve_shutter-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_shutter']) &&
|
|
$task_todo->formatted_answers['valve_shutter'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_shutter']) &&
|
|
$task_todo->formatted_answers['valve_shutter'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_shutter']) &&
|
|
$task_todo->formatted_answers['valve_shutter'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_shutter']) && $task_todo->formatted_answers['valve_shutter'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Obturador -->
|
|
|
|
<!-- Sede -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Sede <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-seat" name="ID11[valve_seat-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_seat']) && $task_todo->formatted_answers['valve_seat'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Sede -->
|
|
|
|
<!-- Gaiola -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Gaiola <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="valve-cage" name="ID11[valve_cage-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['valve_cage']) && $task_todo->formatted_answers['valve_cage'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['valve_cage']) && $task_todo->formatted_answers['valve_cage'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['valve_cage']) && $task_todo->formatted_answers['valve_cage'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['valve_cage']) && $task_todo->formatted_answers['valve_cage'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Gaiola -->
|
|
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Atuador</label></h5>
|
|
</div>
|
|
|
|
<!-- Corpo -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Corpo <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-body" name="ID11[actuator_body-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['actuator_body']) &&
|
|
$task_todo->formatted_answers['actuator_body'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['actuator_body']) &&
|
|
$task_todo->formatted_answers['actuator_body'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['actuator_body']) &&
|
|
$task_todo->formatted_answers['actuator_body'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['actuator_body']) && $task_todo->formatted_answers['actuator_body'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Corpo -->
|
|
|
|
<!-- Haste -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Haste <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-rod" name="ID11[actuator_rod-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['actuator_rod']) && $task_todo->formatted_answers['actuator_rod'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['actuator_rod']) && $task_todo->formatted_answers['actuator_rod'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['actuator_rod']) &&
|
|
$task_todo->formatted_answers['actuator_rod'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['actuator_rod']) && $task_todo->formatted_answers['actuator_rod'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Haste -->
|
|
|
|
<!-- Membrana -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Membrana <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-membrane" name="ID11[actuator_membrane-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['actuator_membrane']) &&
|
|
$task_todo->formatted_answers['actuator_membrane'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['actuator_membrane']) &&
|
|
$task_todo->formatted_answers['actuator_membrane'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['actuator_membrane']) &&
|
|
$task_todo->formatted_answers['actuator_membrane'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['actuator_membrane']) &&
|
|
$task_todo->formatted_answers['actuator_membrane'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Membrana -->
|
|
|
|
<!-- Oring's & Raspadores -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Oring's & Raspadores <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-orings" name="ID11[actuator_orings-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['actuator_orings']) &&
|
|
$task_todo->formatted_answers['actuator_orings'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['actuator_orings']) &&
|
|
$task_todo->formatted_answers['actuator_orings'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['actuator_orings']) &&
|
|
$task_todo->formatted_answers['actuator_orings'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['actuator_orings']) &&
|
|
$task_todo->formatted_answers['actuator_orings'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Oring's & Raspadores -->
|
|
|
|
<!-- Molas -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Molas <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="actuator-springs" name="ID11[actuator_springs-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['actuator_springs']) &&
|
|
$task_todo->formatted_answers['actuator_springs'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['actuator_springs']) &&
|
|
$task_todo->formatted_answers['actuator_springs'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['actuator_springs']) &&
|
|
$task_todo->formatted_answers['actuator_springs'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['actuator_springs']) &&
|
|
$task_todo->formatted_answers['actuator_springs'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Molas -->
|
|
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Posicionador</label></h5>
|
|
</div>
|
|
|
|
<!-- Manómetros -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Manómetros <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-gauges" name="ID11[positioner_gauges-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_gauges']) &&
|
|
$task_todo->formatted_answers['positioner_gauges'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_gauges']) &&
|
|
$task_todo->formatted_answers['positioner_gauges'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_gauges']) &&
|
|
$task_todo->formatted_answers['positioner_gauges'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_gauges']) &&
|
|
$task_todo->formatted_answers['positioner_gauges'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Manómetros -->
|
|
|
|
<!-- Bobine/Recetor -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Bobine/Recetor <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-coil" name="ID11[positioner_coil-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_coil']) &&
|
|
$task_todo->formatted_answers['positioner_coil'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_coil']) &&
|
|
$task_todo->formatted_answers['positioner_coil'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_coil']) &&
|
|
$task_todo->formatted_answers['positioner_coil'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_coil']) &&
|
|
$task_todo->formatted_answers['positioner_coil'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Bobine/Recetor -->
|
|
|
|
<!-- Relé Amplificador -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Relé Amplificador <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-amplifier-relay" name="ID11[positioner_amplifier_relay-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_amplifier_relay']) &&
|
|
$task_todo->formatted_answers['positioner_amplifier_relay'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_amplifier_relay']) &&
|
|
$task_todo->formatted_answers['positioner_amplifier_relay'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_amplifier_relay']) &&
|
|
$task_todo->formatted_answers['positioner_amplifier_relay'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_amplifier_relay']) &&
|
|
$task_todo->formatted_answers['positioner_amplifier_relay'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Relé Amplificador -->
|
|
|
|
<!-- Válvula Piloto -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Válvula Piloto <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-pilot-valve" name="ID11[positioner_pilot_valve-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_pilot_valve']) &&
|
|
$task_todo->formatted_answers['positioner_pilot_valve'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_pilot_valve']) &&
|
|
$task_todo->formatted_answers['positioner_pilot_valve'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_pilot_valve']) &&
|
|
$task_todo->formatted_answers['positioner_pilot_valve'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_pilot_valve']) &&
|
|
$task_todo->formatted_answers['positioner_pilot_valve'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Válvula Piloto -->
|
|
|
|
<!-- Mola de Feedback -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Mola de Feedback <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-feedback-coil" name="ID11[positioner_feedback_coil-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_feedback_coil']) &&
|
|
$task_todo->formatted_answers['positioner_feedback_coil'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_feedback_coil']) &&
|
|
$task_todo->formatted_answers['positioner_feedback_coil'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_feedback_coil']) &&
|
|
$task_todo->formatted_answers['positioner_feedback_coil'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_feedback_coil']) &&
|
|
$task_todo->formatted_answers['positioner_feedback_coil'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Mola de Feedback -->
|
|
|
|
<!-- CAM -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>CAM <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="positioner-cam" name="ID11[positioner_cam-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['positioner_cam']) &&
|
|
$task_todo->formatted_answers['positioner_cam'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['positioner_cam']) &&
|
|
$task_todo->formatted_answers['positioner_cam'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['positioner_cam']) &&
|
|
$task_todo->formatted_answers['positioner_cam'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['positioner_cam']) &&
|
|
$task_todo->formatted_answers['positioner_cam'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ CAM -->
|
|
|
|
</div>
|
|
<!-- ./ First card column -->
|
|
|
|
|
|
<!-- Second card column -->
|
|
<div class="col-md-6">
|
|
|
|
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Outros componentes</label></h5>
|
|
</div>
|
|
|
|
<!-- Regulador de pressão -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Regulador de pressão <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="components-pressure-regulator"
|
|
name="ID11[components_pressure_regulator-select]" class="form-control select2"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['components_pressure_regulator']) &&
|
|
$task_todo->formatted_answers['components_pressure_regulator'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['components_pressure_regulator']) &&
|
|
$task_todo->formatted_answers['components_pressure_regulator'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['components_pressure_regulator']) &&
|
|
$task_todo->formatted_answers['components_pressure_regulator'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['components_pressure_regulator']) &&
|
|
$task_todo->formatted_answers['components_pressure_regulator'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Regulador de pressão -->
|
|
|
|
<!-- Eletroválvula -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Eletroválvula <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="components-electrovalve" name="ID11[components_electrovalve-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif
|
|
required>
|
|
<option value="replaced" @if (isset($task_todo->formatted_answers['components_electrovalve']) &&
|
|
$task_todo->formatted_answers['components_electrovalve'] == 'replaced') selected @endif>
|
|
Foi substituído
|
|
</option>
|
|
<option value="repaired" @if (isset($task_todo->formatted_answers['components_electrovalve']) &&
|
|
$task_todo->formatted_answers['components_electrovalve'] == 'repaired') selected @endif>
|
|
Reparado
|
|
</option>
|
|
<option value="benefited" @if (isset($task_todo->formatted_answers['components_electrovalve']) &&
|
|
$task_todo->formatted_answers['components_electrovalve'] == 'benefited') selected @endif>
|
|
Beneficiado
|
|
</option>
|
|
<option value="accept" @if (isset($task_todo->formatted_answers['components_electrovalve']) &&
|
|
$task_todo->formatted_answers['components_electrovalve'] == 'accept') selected @endif>
|
|
Aceite
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Eletroválvula -->
|
|
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Junta de castelo</label></h5>
|
|
</div>
|
|
|
|
<!-- Tipo de material -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Tipo de material <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="bonnet-gasket-material" name="ID11[bonnet_gasket_material-label]"
|
|
type="text" maxlength="50" class="form-control"
|
|
value="{{ $task_todo->formatted_answers['bonnet_gasket_material'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Tipo de material -->
|
|
|
|
<!-- Quantidade -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Quantidade <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="bonnet-gasket-quantity" name="ID11[bonnet_gasket_quantity-number]"
|
|
type="number" class="form-control"
|
|
value="{{ $task_todo->formatted_answers['bonnet_gasket_quantity'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Quantidade -->
|
|
|
|
<!-- Dimensão interior -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão interior <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="bonnet-gasket-phi-int" name="ID11[bonnet_gasket_phi_int-number]"
|
|
type="number" step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bonnet_gasket_phi_int'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão interior -->
|
|
|
|
<!-- Dimensão exterior -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão exterior <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="bonnet-gasket-phi-ext" name="ID11[bonnet_gasket_phi_ext-number]"
|
|
type="number" step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bonnet_gasket_phi_ext'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão exterior -->
|
|
|
|
<!-- Dimensão espessura -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão espessura <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="bonnet-gasket-thickness" name="ID11[bonnet_gasket_thickness-number]"
|
|
type="number" step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bonnet_gasket_thickness'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão espessura -->
|
|
|
|
<div class="mb-3 mt-3">
|
|
<h5><label>Empanque</label></h5>
|
|
</div>
|
|
|
|
<!-- Marca -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Marca <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="seal-brand" name="ID11[seal_brand-label]" type="text"
|
|
maxlength="50" class="form-control"
|
|
value="{{ $task_todo->formatted_answers['seal_brand'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Marca -->
|
|
|
|
<!-- Tipo -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Tipo <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="seal-type" name="ID11[seal_type-label]" type="text" maxlength="50"
|
|
class="form-control"
|
|
value="{{ $task_todo->formatted_answers['seal_type'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Tipo -->
|
|
|
|
<!-- Tipo de material -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Tipo de material <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="seal-material" name="ID11[seal_material-label]" type="text"
|
|
maxlength="50" class="form-control"
|
|
value="{{ $task_todo->formatted_answers['seal_material'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Tipo de material -->
|
|
|
|
<!-- Quantidade -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Quantidade <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="seal-quantity" name="seal_quantity-number" type="number"
|
|
class="form-control"
|
|
value="{{ $task_todo->formatted_answers['seal_material'] ?? '' }}" required
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Quantidade -->
|
|
|
|
<!-- Dimensão interior -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão interior <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="seal-phi-int" name="ID11[seal_phi_int-number]" type="number"
|
|
step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['seal_phi_int'] ?? '' }}" required
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão interior -->
|
|
|
|
<!-- Dimensão exterior -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão exterior <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="seal-phi-ext" name="ID11[seal_phi_ext-number]" type="number"
|
|
step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['seal_phi_ext'] ?? '' }}" required
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão exterior -->
|
|
|
|
<!-- Dimensão espessura -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Dimensão espessura <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="seal-thickness" name="ID11[seal_thickness-number]" type="number"
|
|
step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['seal_thickness'] ?? '' }}" required
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Dimensão espessura -->
|
|
|
|
</div>
|
|
<!-- ./ Second card column -->
|
|
|
|
</div>
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
<!-- TE8 - Calibrar e certificar -->
|
|
@if ($task_todo->elemental_tasks_id == 13)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">
|
|
Data:{{ $task_todo->entry_date }} |</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução:
|
|
{{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<!-- Single form-group for all content -->
|
|
|
|
<!-- Data calibração -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Data de calibração</label>
|
|
<span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6 ">
|
|
<div class="input-group date" id="reservationdate" data-target-input="nearest">
|
|
<input name="ID13[pre_test_date-date]" type="datetime-local"
|
|
class="form-control float-right"
|
|
value="{{ $task_todo->formatted_answers['pre_test_date'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Data de calibração -->
|
|
|
|
<!-- Pressão da calibração a frio (bar) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Pressão da calibração a frio (bar) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="calibration-pressure" name="ID13[calibration_pressure-number]" type="number"
|
|
step="0.01" class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['calibration_pressure'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Pressão da calibração a frio (bar) -->
|
|
|
|
<!-- Teste de estanquicidade (bolhas/min) -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6">
|
|
<label>Teste de estanquicidade (bolhas/min) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<input id="ID13[bubbles-minute]" name="ID13[bubbles_minute-number]" type="number"
|
|
class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['bubbles_minute'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif required>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Teste de estanquicidade (bolhas/min) -->
|
|
|
|
<!-- Fole testado -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Fole testado <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="tested-bellow" name="ID13[tested_bellow-select]" class="form-control select2"
|
|
style="width: 100%;" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="yes" @selected(isset($task_todo->formatted_answers['tested_bellow']) && $task_todo->formatted_answers['tested_bellow'] == 'yes')>Sim</option>
|
|
<option value="no" @selected(isset($task_todo->formatted_answers['tested_bellow']) && $task_todo->formatted_answers['tested_bellow'] == 'no')>Não</option>
|
|
<option value="n_a" @selected(isset($task_todo->formatted_answers['tested_bellow']) && $task_todo->formatted_answers['tested_bellow'] == 'n_a')>N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fole testado -->
|
|
|
|
<!-- Teste contra-pressão (bar) -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Teste contra-pressão (bar) <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="back-pressure-test" name="ID13[back_pressure_test-select]"
|
|
class="form-control select2" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="yes" @selected(isset($task_todo->formatted_answers['back_pressure_test']) && $task_todo->formatted_answers['back_pressure_test'] == 'yes')>Sim</option>
|
|
<option value="no" @selected(isset($task_todo->formatted_answers['back_pressure_test']) && $task_todo->formatted_answers['back_pressure_test'] == 'no')>Não</option>
|
|
<option value="n_a" @selected(isset($task_todo->formatted_answers['back_pressure_test']) && $task_todo->formatted_answers['back_pressure_test'] == 'n_a')>N/A</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Teste contra-pressão (bar) -->
|
|
|
|
<!-- Padrão utilizado -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Padrão utilizado</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="standard-used" name="ID13[standard_used-label]" type="text" maxlength="50"
|
|
class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['standard_used'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Padrão utilizado -->
|
|
|
|
<!-- Fluído utilizado na calibração -->
|
|
<div class="row mb-3 mt-3">
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<label>Fluído utilizado na calibração <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select name="ID13[calibration_fluid-select]" id="calibration_fluid-select"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="compressed_air" @selected(isset($task_todo->formatted_answers['calibration_fluid']) && $task_todo->formatted_answers['calibration_fluid'] == 'compressed_air')>Ar comprimido</option>
|
|
<option value="azoto" @selected(isset($task_todo->formatted_answers['calibration_fluid']) && $task_todo->formatted_answers['calibration_fluid'] == 'azoto')>Azoto</option>
|
|
<option value="water" @selected(isset($task_todo->formatted_answers['calibration_fluid']) && $task_todo->formatted_answers['calibration_fluid'] == 'water')>Água</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Fluído utilizado na calibração -->
|
|
|
|
<!-- Outro -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Outro</label>
|
|
</div>
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<input id="other" name="ID13[other-label]" type="text" maxlength="50"
|
|
class="form-control" placeholder=""
|
|
value="{{ $task_todo->formatted_answers['other'] ?? '' }}"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') readonly @endif>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Outro -->
|
|
|
|
<!-- Resultado da calibração -->
|
|
<div class="row mb-3 mt-3">
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<label>Resultado da calibração <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select name="ID13[calibration_result-select]" id="calibration_result-select"
|
|
class="form-control" @if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
|
|
<option value="passed" @selected(isset($task_todo->formatted_answers['calibration_result']) && $task_todo->formatted_answers['calibration_result'] == 'passed')>Passou</option>
|
|
<option value="fail" @selected(isset($task_todo->formatted_answers['calibration_result']) && $task_todo->formatted_answers['calibration_result'] == 'fail')>Chumbou</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Resultado da calibração -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image" class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
<!-- TE9 - Pintura -->
|
|
@if ($task_todo->elemental_tasks_id == 14)
|
|
<!-- Workstation card -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">Data:{{ $task_todo->entry_date }}
|
|
|
|
|
</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução: {{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
|
|
<!-- Single form-group for all content -->
|
|
<div class="form-group">
|
|
<!-- Executado -->
|
|
<div class="row mb-3 mt-3">
|
|
<div class="col-md-6 d-flex align-items-center">
|
|
<label>Executado? <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select name="ID14[executed-select]" id="executed-select" class="form-control" required
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif>
|
|
<option value="yes" @if (isset($task_todo->formatted_answers['executed']) && $task_todo->formatted_answers['executed'] == 'yes') selected @endif>Sim
|
|
</option>
|
|
<option value="no" @if (isset($task_todo->formatted_answers['executed']) && $task_todo->formatted_answers['executed'] == 'no') selected @endif>Não
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Executado -->
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image"
|
|
class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ./ Workstation card-->
|
|
@endif
|
|
|
|
<!-- TE10 - Montagem na linha -->
|
|
@if ($task_todo->elemental_tasks_id == 15)
|
|
<!-- TE10 - Montagem na linha -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<!-- Card-header TE10-->
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">
|
|
Data:{{ $task_todo->entry_date }} |</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução:
|
|
{{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<input type="hidden" name="controlEquipmentID"
|
|
value="{{ $receiveDataControlEquipment->control_equipment_workstation_id ?? '' }}">
|
|
|
|
<!-- Conformidade da etiqueta -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6 icheck-primary">
|
|
<input id="ID15[confirm_label_compliance-checkbox]" type="checkbox"
|
|
name="ID15[confirm_label_compliance-checkbox]"
|
|
@if (isset($task_todo->formatted_answers['confirm_label_compliance']) &&
|
|
$task_todo->formatted_answers['confirm_label_compliance'] == 'on') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<label for="ID15[confirm_label_compliance-checkbox]">
|
|
Conformidade da etiqueta <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Conformidade da etiqueta -->
|
|
|
|
<!-- Tipo de junta -->
|
|
<div class="row mt-2">
|
|
<div class="col-md-6">
|
|
<label>Tipo de junta <span style="color: red;">*</span></label>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<select id="ID15[gasket_type-select]" name="ID15[gasket_type-select]"
|
|
class="form-control select2" style="width: 100%;"
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
|
|
<option value="316L OR" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == '316L OR')>316L OR</option>
|
|
<option value="316L IR/OR" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == '316L IR/OR')>316L IR/OR</option>
|
|
<option value="Monel IR/OR" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == 'Monel IR/OR')>Monel IR/OR</option>
|
|
<option value="316L OR" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == '316L OR')>316L OR</option>
|
|
<option value="Monel OR C/Gorotex" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == 'Monel OR C/Gorotex')>Monel OR C/Gorotex
|
|
</option>
|
|
<option value="Roscada" @selected(isset($task_todo->formatted_answers['gasket_type']) && $task_todo->formatted_answers['gasket_type'] == 'Roscada')>Roscada</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Tipo de junta -->
|
|
|
|
</div> <!-- End of single form-group -->
|
|
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
{{-- @if ($task_todo->cardTypeStyle != 'gray')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif --}}
|
|
|
|
</div><!-- card-body TE10 -->
|
|
|
|
</div>
|
|
@endif
|
|
|
|
<!-- TE11 - Inspeção Final -->
|
|
@if ($task_todo->elemental_tasks_id == 17)
|
|
<!-- TE11 - Inspeção Final -->
|
|
<div class="card {{ $task_todo->cardType }} collapsed-card">
|
|
<!-- Card-header TE11 -->
|
|
<div class="card-header clickable" style="background-color: {{ $task_todo->cardTypeStyle }}">
|
|
<div class="d-flex justify-content-between align-items-center" style="width: 100%;">
|
|
<h5 class="card-title mb-0" style="color:white;">
|
|
{{ $task_todo->elementalTask->elemental_tasks_code }} -
|
|
{{ $task_todo->elementalTask->elemental_tasks_description }}
|
|
</h5>
|
|
<div class="d-flex justify-content-center align-items-center flex-grow-1">
|
|
</div>
|
|
<div class="d-flex justify-content-end align-items-center">
|
|
@if ($task_todo->typeStatusHistory === 'historic')
|
|
<p class="mb-0 text-center mx-auto" style="color:white;">
|
|
Data:{{ $task_todo->entry_date }} |</p>
|
|
<p class="mb-0" style="color:white;"> Tempo de execução:
|
|
{{ $task_todo->runtime }}</p>
|
|
@endif
|
|
</div>
|
|
<div class="card-tools">
|
|
<button type="button" class="btn btn-tool collapse-button" data-card-widget="collapse">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group">
|
|
<!-- Verificar o aperto das flanges -->
|
|
|
|
<div class="row mb-3">
|
|
<div class="col-md-6 icheck-primary">
|
|
<input id="ID17[check_flanges_tightness]" type="checkbox"
|
|
name="ID17[check_flanges_tightness-checkbox]" value="on"
|
|
@if (isset($task_todo->formatted_answers['check_flanges_tightness']) &&
|
|
$task_todo->formatted_answers['check_flanges_tightness'] == 'on') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<label for="ID17[check_flanges_tightness]">
|
|
Verificar o aperto e alinhamento das flanges <span style="color: red;">*</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<!-- ./Verificar o aperto das flanges -->
|
|
|
|
<!-- Verificar o alinhamento das flanges -->
|
|
<div class="row mb-3">
|
|
<div class="col-md-6 icheck-primary">
|
|
<input id="ID17[check_the_tightness_of_the_bolts]" type="checkbox"
|
|
name="ID17[check_the_tightness_of_the_bolts-checkbox]" value="on"
|
|
@if (isset($task_todo->formatted_answers['check_the_tightness_of_the_bolts']) &&
|
|
$task_todo->formatted_answers['check_the_tightness_of_the_bolts'] == 'on') checked @endif
|
|
@if ($task_todo->cardTypeStyle == 'gray' || $task_todo->cardTypeStyle == 'blue') disabled @endif required>
|
|
<label for="ID17[check_the_tightness_of_the_bolts]">Verificar o apertos dos pernos <span
|
|
style="color: red;">*</span></label>
|
|
</div>
|
|
</div>
|
|
<!-- ./ Verificar o alinhamento das flanges -->
|
|
|
|
@if (!empty($task_todo->image_paths))
|
|
<div class="row no-gutters justify-content-center">
|
|
@foreach ($task_todo->image_paths as $image)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3 mb-3">
|
|
<img src="{{ asset($image) }}" alt="Image"
|
|
class="img-fluid pdf-image mx-auto"
|
|
style="border: 3px solid #00B0EA; cursor: pointer;" data-toggle="modal"
|
|
data-target="#imageModal" data-src="{{ asset($image) }}">
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
</div> <!--./form-group -->
|
|
|
|
{{-- @if ($task_todo->statusHistory === 'yes')
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#taskModal"
|
|
data-elemental-task-id="{{ $task_todo->elemental_tasks_id }}">
|
|
Abrir Histórico
|
|
</button>
|
|
@endif --}}
|
|
|
|
{{-- @dd($task_todo) --}}
|
|
<!-- Verifica se for diferente de gray. ou seja se o card for green ou blue, aparece o botao -->
|
|
@if ($task_todo->cardTypeStyle != 'gray' && $task_todo->cardTypeStyle != 'blue')
|
|
<div class="card-footer">
|
|
<!-- Botão alinhado à direita -->
|
|
<button type="submit" class="btn btn-primary float-right">Guardar</button>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
@endif
|
|
|
|
|
|
@endisset
|