<?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.
//
// datesedit.php 0.30.1 2010/06/30 C K Wu
$app = 'ck-hr' ;
$tran = 'dates' ;
require_once('../ck-api/ckapi.inc.php') ;
$ckapi['params'] = array( 'pre' => $pre ,
'app' => $app ,
'class' => $tran ,
'tran' => $tran ,
'table' => $pre.'employee' ,
'uniqueflds' => '' ,
'return' => "/$app/${tran}edit.php" ) ;
$msg1 = exapi_lang('Notification is to be done manually via the Nofiication List.') ;
$msg2 = exapi_lang('Auto-email notification will be a future enhancement.') ;
$msg3 = exapi_lang('If the screen display gets too complicated, click [Reload from Employee Record] to start afresh.');
$ckapi['phrases'] = array('lang_title' => exapi_lang('Edit %1',exapi_lang('Important Dates')) ,
'lang_post' => exapi_lang('Post %1',exapi_lang('Important Dates')) ,
'lang_newrow' => exapi_lang('Add New Row') ,
'lang_reload' => exapi_lang('Reload from Employee Record'),
'lang_tran' => exapi_lang('Important Dates') ,
'message' => $msg1.' '.$msg2.' '.$msg3 );
$ckapi['tables']['parents'] = array($pre.'employee'=> 'skipskip' );
$ckapi['tables']['children'] = array($pre.$tran=> 'empid' );
$ckapi['buttons'] = array('insert' => '' ,
'delete' => '' ,
'post' => '' ,
'newrow' => '' ,
'reload' => '' ) ;
$proc1 = newobj('ck-api','process1') ;
$proc1->process1_edit() ;
ck_footer() ;
?>