<?php
//
// CK-ERP -- Copyright (C) 2004 - 2010 Wu Chiu Kay
// ------------------------------------------------------
// This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
//
// statusview.php 0.30.1 2010/06/30 C K Wu
$app = 'ck-hr' ;
$tran = 'status' ;
require_once('../ck-api/ckapi.inc.php') ;
$ckapi['params'] = array( 'pre' => $pre ,
'app' => $app ,
'class' => $tran ,
'tran' => $tran ,
'table' => $pre.'empperson' ,
'uniqueflds' => '' ,
'return' => "/$app/${tran}view.php" ) ;
$msg = exapi_lang('Clicking [Done] button will not exit to prior page, close the window instead.');
$ckapi['phrases'] = array('lang_title' => exapi_lang('View %1',exapi_lang('Status')) ,
'message' => $msg ,
'readonly' => 'readonly' ,
'disabled' => 'disabled' );
$ckapi['tables']['parents'] = array( $pre.'empperson'=> 'skipskip' );
$ckapi['tables']['children'] = array( $pre.$tran=> 'contactid' );
$ckapi['buttons'] = array('post' => '' ,
'newrow' => '' ,
'reload' => '' ) ;
$proc1 = newobj('ck-api','process1') ;
$proc1->process1_view() ;
ck_footer() ;
?>