���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /var/www/dev-kft.petruch.de/page/werkzeuge.detail.php
���ѧ٧ѧ�
<?php $tooling = $_tooling->getTooling(SPAGE); if(!$tooling->id){ echo 'Werkzeug nicht vorhanden'; return; } ?> <div class="div-table"> <h1><?=$tooling->name?></h1> <form class="form-widget std"> <div class="std-form"> <input name="name" class="required" id="f-name" type="text" placeholder="Name" value="<?=$tooling->name?>"> <label for="f-name">Name</label> </div> <div class="std-form"> <select name="customerID" class="required" id="f-customer" disabled> <option value="0">Bitte Kunden auswählen</option> <?php if($customers = $_customer->getAll()) foreach($customers as $customer) echo '<option value="'.$customer->id.'"'.(($tooling->customerID == $customer->id)?' selected':'').'>'.$customer->customerNr.' | '.$customer->nameShow.'</option>'; ?> </select> <label for="f-customer">Kunde</label> </div> <div class="std-form"> <textarea name="description" id="f-description" placeholder="Beschreibung"><?=$tooling->description?></textarea> <label for="f-description">Beschreibung</label> </div> <div class="std-form"> <input value="<?=$tooling->color?>" name="color" class="required" id="f-color" type="color" placeholder="Farbe"> <label for="f-color">Farbe</label> </div> <button>Speichern</button> <input type="hidden" name="do" value="toolingChange"> <input type="hidden" name="toolingID" value="<?=$tooling->id?>"> </form> <h2 class="mt50">Passende Maschinentypen</h2> <table> <tr class="low"> <td style="width: 60px;"> <form class="std"> <button id="new-material-form" class="form-icon-empty" type="submit"><i class="fa-solid fa-plus"></i></button> <input type="hidden" name="form" value="tooling.machineType.new"> <input type="hidden" name="do" value="loadForm"> <input type="hidden" name="toolingID" value="<?=$tooling->id?>"> </form> </td> <td colspan="4"><label for="new-material-form">Maschinentyp hinzufügen</label></td> </tr> <?php if($machineTypes = $_tooling->getMachineTypesOfTooling($tooling->id)) foreach($machineTypes as $m) echo '<tr class="hide-delete"> <td> <button type="button" class="form-icon" style="--color-form-bg: #4365dd;"> <i class="fa-solid fa-box-open"></i> </button> </td> <td>'.$m->nameShort.'</td> <td>'.$m->name.'</td> <td> <form class="del"> <button type="submit" class="form-icon-empty"><i class="fa-solid fa-times"></i></button> <input type="hidden" name="do" value="toolingMachineTypeDelete"> <input type="hidden" name="toolingID" value="'.$tooling->id.'"> <input type="hidden" name="machineTypeID" value="'.$m->id.'"> </form> </td> </tr>'; else echo '<tr><td colspan="4">Noch kein Maschinentyp dem Werkzeug hinzugefügt.</td></tr>'; ?> </table> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.3.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�