preorderaddressreporting permission; preorder split script updated

This commit is contained in:
Frank Schubert
2023-05-31 15:57:28 +02:00
parent 81837986c4
commit 7216b3339d
10 changed files with 201 additions and 186 deletions
+4 -4
View File
@@ -126,9 +126,8 @@
</select>
</div>
<?php if($me->is("Admin")): ?>
<div class="col-2">
<label class="form-label" for="filter_unit_count">Anzahl GWR Wohneinheiten</label>
<label class="form-label" for="filter_unit_count">Anzahl Wohneinheiten in GWR</label>
<select name="filter[unit_count]" id="filter_unit_count" class="form-control">
<option value=""></option>
<option value="0" <?=(isset($filter) && array_key_exists("unit_count", $filter) && strlen($filter['unit_count']) && intval($filter['unit_count']) === 0) ? "selected='selected'" : ""?>>0</option>
@@ -137,6 +136,7 @@
</select>
</div>
<?php if($campaign->fulfillment == "rimo"): ?>
<div class="col-2">
<label class="form-label" for="filter_rimo_workorder">Rimo Workorder</label>
<select name="filter[rimo_workorder]" id="filter_rimo_workorder" class="form-control">
@@ -228,7 +228,7 @@
<th>Attribute</th>
<th>Erstellt</th>
<th>Zuletzt bearbeitet</th>
<?php if($me->is("Admin")): ?>
<?php if($me->is("Admin") && $campaign->fulfillment == "rimo"): ?>
<th></th>
<?php endif; ?>
<th></th>
@@ -270,7 +270,7 @@
</td>
<td><?=date('d.m.Y H:i', $preorder->create)?></td>
<td id="update-<?=$preorder->id?>"><?=date('d.m.Y H:i', $preorder->edit)?></td>
<?php if($me->is("Admin")): ?>
<?php if($me->is("Admin") && $campaign->fulfillment == "rimo"): ?>
<td><?php if ($preorder->workorder_export_date):?><i class="fas fa-r" title="Rimo Workorder erstellt"></i><?php endif; ?></td>
<?php endif; ?>
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">