updated rimo type map
This commit is contained in:
@@ -1837,7 +1837,7 @@ class PreorderController extends mfBaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function RimoTypeMapAction() {
|
public function RimoTypeMapAction() {
|
||||||
Helper::renderVue($this, "PreorderRimoTypeMap", "PreorderRimoTypeMap", [
|
Helper::renderVue($this, "PreorderRimoTypeMap", "Rimo Typen Karte", [
|
||||||
"MAPBOX_KEY" => TT_MAPBOX_TILE_API_TOKEN,
|
"MAPBOX_KEY" => TT_MAPBOX_TILE_API_TOKEN,
|
||||||
"USER_ID" => $this->me->id,
|
"USER_ID" => $this->me->id,
|
||||||
"ALL_USERS" => array_map(fn($u) => ["id" => $u->id, "name" => $u->name], UserModel::getAll()),
|
"ALL_USERS" => array_map(fn($u) => ["id" => $u->id, "name" => $u->name], UserModel::getAll()),
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Vue.component('PreorderRimoTypeMap', {
|
|||||||
{ value: 'building_type', text: 'Gebäudetyp ist falsch' },
|
{ value: 'building_type', text: 'Gebäudetyp ist falsch' },
|
||||||
{ value: 'home_count', text: 'Anzahl der Wohneinheiten ist falsch' },
|
{ value: 'home_count', text: 'Anzahl der Wohneinheiten ist falsch' },
|
||||||
{ value: 'not_existent', text: 'Gebäude existiert nicht' },
|
{ value: 'not_existent', text: 'Gebäude existiert nicht' },
|
||||||
{ value: 'other', text: 'Sonstiges' }
|
{ value: 'other', text: 'Sonstiges/Bemerkung' }
|
||||||
],
|
],
|
||||||
rimoTypeDefs: {
|
rimoTypeDefs: {
|
||||||
greenfield: { text: 'Greenfield', icon: 'fas fa-tree', color: '#28a745' },
|
greenfield: { text: 'Greenfield', icon: 'fas fa-tree', color: '#28a745' },
|
||||||
@@ -536,7 +536,7 @@ Vue.component('PreorderRimoTypeMap', {
|
|||||||
<div v-if="!fault.done" class="mt-1">
|
<div v-if="!fault.done" class="mt-1">
|
||||||
<ul class="mb-0 small pl-3 text-danger font-weight-bold">
|
<ul class="mb-0 small pl-3 text-danger font-weight-bold">
|
||||||
<li v-for="reason in fault.translated_reasons" :key="reason">{{ reason }}</li>
|
<li v-for="reason in fault.translated_reasons" :key="reason">{{ reason }}</li>
|
||||||
<li v-if="fault.other">Sonstiges: <span class="font-weight-normal">{{ fault.other }}</span></li>
|
<li v-if="fault.other">Bemerkung: <span class="font-weight-normal">{{ fault.other }}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user