echoField("CompanyCode"); ?> </tr> <tr> <?php echoField("Active"); ?> </tr> <tr> <?php echoField("ShortName"); ?> </tr> <tr> <?php echoField("BusinessEntityId", true); ?> </tr> </table> <div> <?php if ($action == 'c') { echo (string) drawSubmitButton("Create", "Create"); } if ($action == 'u') { echo (string) drawSubmitButton("Update", "Update"); } if ($action == 'd') { echo (string) drawSubmitButton("Delete", "Delete"); }
echoField("BusinessEntityCode", true); ?> </tr> <tr> <?php echoField("BusinessEntityDescription"); ?> </tr> <tr> <?php echoField("Active"); ?> </tr> <tr> <?php echoField("BusinessEntityShortName"); ?> </tr> <tr> <td class=\"fieldName\"><b>Companies</b></td> <?php if ($action == 'r' || $action == 'd') { echo "<td>{$parentName}</td>"; } else { echo "<td>"; echo "<label for='BusinessEntityParentId'></label><select id='BusinessEntityParentId' name='BusinessEntityParentId'>\n\t\t\t\t\t<option selected='selected' value=''></option>"; echo $selectList; echo "</select>"; echo "<td>"; } ?>