Pop Update

* Rückseite der Pop-Racks können nun auch mit HEs bestückt werden
This commit is contained in:
Daniel Spitzer
2025-08-27 12:54:09 +02:00
parent 805a44bfbb
commit 75e9ac6dbb
7 changed files with 112 additions and 33 deletions
+2 -1
View File
@@ -119,6 +119,7 @@ class PoprackController extends mfBaseController
private function generateRack()
{
$id = $this->request->id;
$side=$this->request->side;
$cellwidth = 227;
$blocktd = 0;
$poprack = PoprackModel::getAllbyRack($id);
@@ -130,7 +131,7 @@ class PoprackController extends mfBaseController
<td class="border-right w-15 p-0 pl-1 pr-1 border-bottom font-13 rack-he user-select-none"
data-toggle="modal" data-target="#rackModuleModal"
style="cursor: pointer" data-he="' . $i . '">He' . $i . '</td>';
foreach ($poprack[0]['modules'] as $module) {
foreach ($poprack[0][$side]['modules'] as $module) {
if ($module['start_he'] == $i) {
$modulestart = 1;