Exemplo n.º 1
0
     if (isset($_GET['spmdescid'])) {
         $spmdescid = $_GET['spmdescid'];
     } else {
         $spmdescid = '';
     }
     $any->createAnyGrid('SPM_Desc', 'SPM_Desc', 'SPM_Desc_ID', $spmdescid, 'SPM_ID', $_GET['spmid']);
     break;
 case 'meeting':
     //machine list
     $meet = new Meeting();
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
     } else {
         $id = 'Meeting_ID';
     }
     $meet->createMeetingList();
     $sel = new selectlist($id, $meet->getMeetingList(), 'Select Meeting to Edit', 'Meeting_ID', 'meetagenda', '', '', '1');
     break;
 case 'nclogtype':
     //machine list
     $any = new Anylist();
     $any->createList('NC_Type');
     $sel = new selectlist('NC_Type_ID', $any->anylist, 'Select NC Type', 'NC_Type_ID', 'NC_Type', '', '', '1');
     break;
 case 'leave':
     //machine list
     $l = new Operator();
     $l->createLEaveList();
     $sel = new selectlist('Leave_ID', $l->getLeaveList(), 'Select Leave to Approve', 'Leave_ID', 'leavedesc', '', '', '1');
     break;
 case 'qmsactivity':