|
@@ -362,26 +362,36 @@ function render_card_list_group($details) {
|
|
|
<div class="row mb-1">
|
|
<div class="row mb-1">
|
|
|
<div class="col-sm-4">Set As Retest</div>
|
|
<div class="col-sm-4">Set As Retest</div>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <div class="form-check">
|
|
|
|
|
- <input class="form-check-input" type="checkbox" name="retest" id="retest" value="1" <?=Form::checked($test->retest)?> />
|
|
|
|
|
- <label class="form-check-label" for="retest">This test was a retest</label>
|
|
|
|
|
|
|
+ <div class="custom-control custom-checkbox">
|
|
|
|
|
+ <input class="custom-control-input" type="checkbox" name="retest" id="retest" value="1" <?=Form::checked($test->retest)?> />
|
|
|
|
|
+ <label class="custom-control-label" for="retest">This test was a retest</label>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row mb-1">
|
|
<div class="row mb-1">
|
|
|
- <label class="col-sm-4 col-form-label" for="retest-project-id">Create Retest</label>
|
|
|
|
|
|
|
+ <label class="col-sm-4 col-form-label" for="new-test-project-id">Create New Test</label>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <select class="form-control" name="retest_project_id" id="retest-project-id">
|
|
|
|
|
- <option value="0">Do not create a new retest</option>
|
|
|
|
|
- <?php
|
|
|
|
|
- foreach($future_projects as $future_project) {
|
|
|
|
|
- ?>
|
|
|
|
|
- <option value="<?=$future_project->id?>"><?=htmlspecialchars($future_project->name)?></option>
|
|
|
|
|
|
|
+ <div class="input-group">
|
|
|
|
|
+ <select class="form-control" name="new_test_project_id" id="new-test-project-id">
|
|
|
|
|
+ <option value="0">Do not create</option>
|
|
|
<?php
|
|
<?php
|
|
|
- }
|
|
|
|
|
- ?>
|
|
|
|
|
- </select>
|
|
|
|
|
|
|
+ foreach($future_projects as $future_project) {
|
|
|
|
|
+ ?>
|
|
|
|
|
+ <option value="<?=$future_project->id?>"><?=htmlspecialchars($future_project->name)?></option>
|
|
|
|
|
+ <?php
|
|
|
|
|
+ }
|
|
|
|
|
+ ?>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <div class="input-group-append">
|
|
|
|
|
+ <div class="input-group-text">
|
|
|
|
|
+ <div class="custom-control custom-checkbox">
|
|
|
|
|
+ <input class="custom-control-input" type="checkbox" name="new_test_is_retest" id="new-test-is-retest" value="1" />
|
|
|
|
|
+ <label class="custom-control-label" for="new-test-is-retest"><?=htmlspecialchars(__("Retest"))?></label>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -396,9 +406,9 @@ function render_card_list_group($details) {
|
|
|
<label class="form-check-label" for="email-customer">Email Headquarters</label>
|
|
<label class="form-check-label" for="email-customer">Email Headquarters</label>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <div class="form-check">
|
|
|
|
|
- <input class="form-check-input" type="checkbox" name="email_customer" id="email-customer" value="1" <?=Form::checked($customer->email_after_test)?> />
|
|
|
|
|
- <label class="form-check-label" for="email-customer"><?=htmlspecialchars($customer->email)?></label>
|
|
|
|
|
|
|
+ <div class="custom-control custom-checkbox">
|
|
|
|
|
+ <input class="custom-control-input" type="checkbox" name="email_customer" id="email-customer" value="1" <?=Form::checked($customer->email_after_test)?> />
|
|
|
|
|
+ <label class="custom-control-label" for="email-customer"><?=htmlspecialchars($customer->email)?></label>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -411,9 +421,9 @@ function render_card_list_group($details) {
|
|
|
<label class="form-check-label" for="email-location">Email Venue</label>
|
|
<label class="form-check-label" for="email-location">Email Venue</label>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <div class="form-check">
|
|
|
|
|
- <input class="form-check-input" type="checkbox" name="email_location" id="email-location" value="1" <?=Form::checked($customer->email_locations_after_test)?> />
|
|
|
|
|
- <label class="form-check-label" for="email-location"><?=htmlspecialchars($location->email)?></label>
|
|
|
|
|
|
|
+ <div class="custom-control custom-checkbox">
|
|
|
|
|
+ <input class="custom-control-input" type="checkbox" name="email_location" id="email-location" value="1" <?=Form::checked($customer->email_locations_after_test)?> />
|
|
|
|
|
+ <label class="custom-control-label" for="email-location"><?=htmlspecialchars($location->email)?></label>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -426,9 +436,9 @@ function render_card_list_group($details) {
|
|
|
<label class="form-check-label" for="email-location-area-manager">Email Area Manager</label>
|
|
<label class="form-check-label" for="email-location-area-manager">Email Area Manager</label>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <div class="form-check">
|
|
|
|
|
- <input class="form-check-input" type="checkbox" name="email_location_area_manager" id="email-location-area-manager" value="1" <?=Form::checked($customer->email_locations_after_test)?> />
|
|
|
|
|
- <label class="form-check-label" for="email-location-area-manager"><?=htmlspecialchars($location->area_manager_email)?></label>
|
|
|
|
|
|
|
+ <div class="custom-control custom-checkbox">
|
|
|
|
|
+ <input class="custom-control-input" type="checkbox" name="email_location_area_manager" id="email-location-area-manager" value="1" <?=Form::checked($customer->email_locations_after_test)?> />
|
|
|
|
|
+ <label class="custom-control-label" for="email-location-area-manager"><?=htmlspecialchars($location->area_manager_email)?></label>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|