diff --git a/Layout/default/Device/Detail.php b/Layout/default/Device/Detail.php index 608c6fdda..9c43f60b4 100644 --- a/Layout/default/Device/Detail.php +++ b/Layout/default/Device/Detail.php @@ -477,8 +477,8 @@ foreach ($devicesall as $deviceall) {

OLT/ONT Informationen

-
-

Serviceports von +

Serviceports von @@ -825,7 +825,7 @@ foreach ($devicesall as $deviceall) { if (data.success == false) { $('#olt-body').text('Keine OLT/ONT Daten verfügbar'); } else { - + $('#service-ports-h4').show(); $('#olt-body').append(`
diff --git a/Layout/default/Pop/Detail.php b/Layout/default/Pop/Detail.php index cf3846f48..e914390de 100644 --- a/Layout/default/Pop/Detail.php +++ b/Layout/default/Pop/Detail.php @@ -97,10 +97,7 @@ background-color: #d7d7d7; opacity: 1; } - - -
@@ -126,7 +123,6 @@
-vlan_ipv6))) - + diff --git a/Layout/default/Preorder/Index.php b/Layout/default/Preorder/Index.php index 57e0f2a3e..f2b3ac72f 100644 --- a/Layout/default/Preorder/Index.php +++ b/Layout/default/Preorder/Index.php @@ -519,7 +519,7 @@ $pagination_entity_name = "Vorbestellungen"; } } - $requiredFlagIds = [3, 4, 5]; + $requiredFlagIds = [1, 3, 4, 5]; $allFlagsChecked = true; foreach ($requiredFlagIds as $flagId) { @@ -545,7 +545,19 @@ $pagination_entity_name = "Vorbestellungen"; type, "preorder")?>
ucode?> - + building_id): ?> adb_hausnummer_id): ?> @@ -576,8 +588,8 @@ $pagination_entity_name = "Vorbestellungen"; + @@ -80,6 +81,7 @@ $type[3] = "Lehrling"; + superexpertEnabled()): ?> @@ -127,6 +129,9 @@ $type[3] = "Lehrling"; + + @@ -164,11 +169,11 @@ $type[3] = "Lehrling"; src="datatables/DataTables-2x/datatables.min.js?"> + + + + + + +
+ + + + + diff --git a/Layout/default/footer.php b/Layout/default/footer.php index 2fa965d51..f90a93c75 100644 --- a/Layout/default/footer.php +++ b/Layout/default/footer.php @@ -15,13 +15,15 @@ - - - is("employee")): ?> + is("employee") && !isset($_SESSION[MFAPPNAME . '_warehouse_login_override'])): ?> diff --git a/Layout/default/topbar.php b/Layout/default/topbar.php index d8f599bec..811bb578a 100644 --- a/Layout/default/topbar.php +++ b/Layout/default/topbar.php @@ -15,45 +15,6 @@ - is("employee")): ?> - - - - -
OLT
Dokustand | Statusdoku_date) ? date("d.m.Y") : '-' ?>|state) ? $stateArray[$pops->state] : '-' ?> doku_date) ? date("d.m.Y",$pops->doku_date) : '-' ?>|state) ? $stateArray[$pops->state] : '-' ?>
Fotospeicherort status->code?> - status->name?>status->code?> - status->name?> + [3,4]]) as $flag): ?> +
id, $preorder->statusflags) && $preorder->statusflags[$flag->id]->value && $preorder->statusflags[$flag->id]->value->value) ? "checked='checked'" : ""?> + /> + + +
building->street?>
building->zip?> building->city?>
partner_id) ? $preorder->partner->getCompanyOrName() : ""?> -
- +
+
create)?>
@@ -1026,7 +1038,7 @@ $pagination_entity_name = "Vorbestellungen"; } } - $("input.preorder-statusflag").change((e) => { + $("input.preorder-statusflag, input.preorder-statusflag-main").change((e) => { var elem = e.target; var preorder_id = $(elem).data("preorder_id"); var flag_id = $(elem).data("flag_id"); @@ -1060,6 +1072,15 @@ $pagination_entity_name = "Vorbestellungen"; }, 2000, textelem); } + // find all inputs with this data-preorder_id="21969" and data-flag_id="3" and set the text to the new value + // always with their own fields and then select / unselect the checkbox + $("input.preorder-statusflag[data-preorder_id='" + this.preorder_id + "'][data-flag_id='" + this.flag_id + "']").each(function() { + if(value) { + $(this).prop("checked", true); + } else { + $(this).prop("checked", false); + } + }); }, error: function () { @@ -1711,4 +1732,4 @@ $pagination_entity_name = "Vorbestellungen"; campaignSelect.trigger("change"); }); - \ No newline at end of file + diff --git a/Layout/default/TimerecordingEmployee/Form.php b/Layout/default/TimerecordingEmployee/Form.php index 15c8cf7f5..4827b921f 100644 --- a/Layout/default/TimerecordingEmployee/Form.php +++ b/Layout/default/TimerecordingEmployee/Form.php @@ -134,6 +134,14 @@ $daysSelect .= ""; value="birthday) ? date('Y-m-d', $timerecordingemployees->birthday) : "" ?>"/> +
+ +
+ "/> +
+
superexpertEnabled()): ?>
diff --git a/Layout/default/TimerecordingEmployee/Index.php b/Layout/default/TimerecordingEmployee/Index.php index bc10e5c39..d97df6a72 100644 --- a/Layout/default/TimerecordingEmployee/Index.php +++ b/Layout/default/TimerecordingEmployee/Index.php @@ -56,6 +56,7 @@ $type[3] = "Lehrling";
Aktiv Mitarbeiter GeburtstagSV-Nummer Vertragsart ZE Start ZE Ende name ?> id]['birthday']) ? date("d.m.Y", $timerecordingemployees[$timerecordinguser->id]['birthday']) : "-" ?>id]['insurance_number']) ?: "-" ?>id]['type']] ?> id]['startdate']) ? date("d.m.Y", $timerecordingemployees[$timerecordinguser->id]['startdate']) : "-" ?>