Fixed Showing Orders of users of same company
This commit is contained in:
@@ -35,7 +35,18 @@
|
||||
<select class="select2 form-control " name="network_id" id="network_id">
|
||||
<option></option>
|
||||
<?php foreach($networks as $network): ?>
|
||||
<option value="<?=$network->id?>" <?=($building->network_id == $network->id) ? "selected='selected'" : ""?>><?=($network->name)?></option>
|
||||
<option value="<?=$network->id?>" <?php
|
||||
if($building):
|
||||
if($building->network_id == $network->id):
|
||||
echo "selected='selected'";
|
||||
endif;
|
||||
else:
|
||||
if($request_network_id == $network->id):
|
||||
echo "selected='selected'";
|
||||
endif;
|
||||
endif;
|
||||
?>><?=($network->name)?></option>
|
||||
endif;
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user