|
@@ -126,7 +126,7 @@ $date_deadline = explode(" ", $project->dts_deadline)[0];
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="list-group list-group-flush" id="selected-locations-list-group">
|
|
|
|
|
|
|
+ <div class="list-group list-group-flush limit-height-2" id="selected-locations-list-group">
|
|
|
<?php
|
|
<?php
|
|
|
foreach($locations as $index => $location) {
|
|
foreach($locations as $index => $location) {
|
|
|
if(!in_array($location->id, $location_ids)) continue;
|
|
if(!in_array($location->id, $location_ids)) continue;
|
|
@@ -139,20 +139,27 @@ $date_deadline = explode(" ", $project->dts_deadline)[0];
|
|
|
$filter = strtolower(implode("", $filter_parts));
|
|
$filter = strtolower(implode("", $filter_parts));
|
|
|
?>
|
|
?>
|
|
|
<div class="list-group-item" data-location-id="<?=$location->id?>" data-internal-id="<?=htmlspecialchars($location->internal_id)?>" data-name="<?=htmlspecialchars($location->name)?>" data-filter-value="<?=htmlspecialchars($filter)?>">
|
|
<div class="list-group-item" data-location-id="<?=$location->id?>" data-internal-id="<?=htmlspecialchars($location->internal_id)?>" data-name="<?=htmlspecialchars($location->name)?>" data-filter-value="<?=htmlspecialchars($filter)?>">
|
|
|
- <div class="row">
|
|
|
|
|
- <div class="col-auto">
|
|
|
|
|
|
|
+ <div class="row no-gutters">
|
|
|
|
|
+ <div class="col-2 text-right pr-3">
|
|
|
|
|
+ <?=$location->id?>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col">
|
|
|
<?=htmlspecialchars($location->name)?>
|
|
<?=htmlspecialchars($location->name)?>
|
|
|
<?php
|
|
<?php
|
|
|
if($location->internal_id) {
|
|
if($location->internal_id) {
|
|
|
?>
|
|
?>
|
|
|
- <small>(Internal ID: <?=htmlspecialchars($location->internal_id)?>)</small>
|
|
|
|
|
|
|
+ <br />
|
|
|
|
|
+ <small class="text-primary">Customer Internal ID: <?=htmlspecialchars($location->internal_id)?></small>
|
|
|
<?php
|
|
<?php
|
|
|
}
|
|
}
|
|
|
?><br />
|
|
?><br />
|
|
|
<small><?=htmlspecialchars($address)?></small>
|
|
<small><?=htmlspecialchars($address)?></small>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col align-self-center text-right">
|
|
|
|
|
- <button class="btn btn-outline-danger" type="button">Deselect</button>
|
|
|
|
|
|
|
+ <div class="col-auto align-self-center text-right">
|
|
|
|
|
+ <button class="btn btn-outline-danger" type="button">
|
|
|
|
|
+ <i class="fas fa-times"></i>
|
|
|
|
|
+ <span class="sr-only">Deselect</span>
|
|
|
|
|
+ </button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -181,7 +188,7 @@ $date_deadline = explode(" ", $project->dts_deadline)[0];
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="list-group list-group-flush" id="not-selected-locations-list-group">
|
|
|
|
|
|
|
+ <div class="list-group list-group-flush limit-height-2" id="not-selected-locations-list-group">
|
|
|
<?php
|
|
<?php
|
|
|
foreach($locations as $index => $location) {
|
|
foreach($locations as $index => $location) {
|
|
|
if(in_array($location->id, $location_ids)) continue;
|
|
if(in_array($location->id, $location_ids)) continue;
|
|
@@ -194,21 +201,28 @@ $date_deadline = explode(" ", $project->dts_deadline)[0];
|
|
|
$filter = strtolower(implode("", $filter_parts));
|
|
$filter = strtolower(implode("", $filter_parts));
|
|
|
?>
|
|
?>
|
|
|
<div class="list-group-item" data-location-id="<?=$location->id?>" data-internal-id="<?=htmlspecialchars($location->internal_id)?>" data-name="<?=htmlspecialchars($location->name)?>" data-filter-value="<?=htmlspecialchars($filter)?>">
|
|
<div class="list-group-item" data-location-id="<?=$location->id?>" data-internal-id="<?=htmlspecialchars($location->internal_id)?>" data-name="<?=htmlspecialchars($location->name)?>" data-filter-value="<?=htmlspecialchars($filter)?>">
|
|
|
- <div class="row">
|
|
|
|
|
- <div class="col-auto">
|
|
|
|
|
|
|
+ <div class="row no-gutters">
|
|
|
|
|
+ <div class="col-2 text-right pr-3">
|
|
|
|
|
+ <?=$location->id?>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col">
|
|
|
<?=htmlspecialchars($location->name)?>
|
|
<?=htmlspecialchars($location->name)?>
|
|
|
<?php
|
|
<?php
|
|
|
if($location->internal_id) {
|
|
if($location->internal_id) {
|
|
|
?>
|
|
?>
|
|
|
- <small>(Internal ID: <?=htmlspecialchars($location->internal_id)?>)</small>
|
|
|
|
|
|
|
+ <br />
|
|
|
|
|
+ <small class="text-primary">Customer Internal ID: <?=htmlspecialchars($location->internal_id)?></small>
|
|
|
<?php
|
|
<?php
|
|
|
}
|
|
}
|
|
|
?>
|
|
?>
|
|
|
<br />
|
|
<br />
|
|
|
<small><?=htmlspecialchars($address)?></small>
|
|
<small><?=htmlspecialchars($address)?></small>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col align-self-center text-right">
|
|
|
|
|
- <button class="btn btn-outline-success" type="button">Select</button>
|
|
|
|
|
|
|
+ <div class="col-auto align-self-center text-right">
|
|
|
|
|
+ <button class="btn btn-outline-success" type="button">
|
|
|
|
|
+ <i class="fas fa-check"></i>
|
|
|
|
|
+ <span class="sr-only">Select</span>
|
|
|
|
|
+ </button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|