Location: PHPKode > projects > NOLA > adminprdedgroupupd.php
<? include('includes/main.php'); ?>
<? include('includes/prfunctions.php'); ?>
<?
     echo texttitle(STR_PAYROLL_DEDUCTION_GROUP_UPDATE);
     if ($delete) {
          prdedgroupdelete($id);
          unset($id);
     };
     if ($id) {
          if ($name) prdedgroupupdate($id, $name);
          echo '<form action="adminprdedgroupupd.php" method="post" name="mainform"><input type="hidden" name="nonprintable" value="1"><table>';
          echo '<input type="hidden" name="id" value="'.$id.'">';
          formprdedgroupupdate($id);
          echo '</table><input type="submit" value="'.STR_SAVE_CHANGES.'"></form> <a href="javascript:confirmdelete(\'adminprdedgroupupd.php?delete=1&id='.$id.'\')">'.STR_DELETE_THIS_DEDUCTION_GROUP.'</a>';
     } else {
          echo '<form action="adminprdedgroupupd.php" method="post"><table>';
          formprdedgroupselect('id');
          echo '</table><input type="submit" value="'.STR_EDIT_SELECTION.'"></form>';
          echo '<a href="adminprdedgroupadd.php">'.STR_ADD_NEW_DEDUCTION_GROUP.'</a>';
     };
?>
<? include('includes/footer.php'); ?>
Return current item: NOLA