1-add controllername in db

INSERT INTO `oposlive_blucoutureGA`.`phppos_permissions` (`module_id`, `person_id`) VALUES ('clocking', '1');

>> changes in header
<?php echo anchor("clocking/","Clock In"); ?> &nbsp;|&nbsp;  <?php echo anchor("clocking/clkout","Clock Out"); ?> &nbsp;| &nbsp;


2-add new file in controller  --[clocking.php]
3-create a model in model folder---[clockings.php]
4-mention the model name in autoload
5-create new langauge file
6-mentions its name in autoload file
7-create the view files in the view folder for the clock out and clock in 
8-make the db changes to keep the track for the clock out and clock in

CREATE TABLE IF NOT EXISTS `phppos_emp_timelog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `eid` int(11) DEFAULT NULL,
  `jid` int(11) DEFAULT NULL,
  `login` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `logout` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `salary` decimal(12,2) DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `eid_idx` (`eid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


1-Add column names as 
  login --time stamp ()data type

ALTER TABLE `phppos_people` ADD `login` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `curjid` 
 Add curjid
ALTER TABLE `phppos_people` ADD `curjid` INT( 11 ) NOT NULL AFTER `comments` 



INSERT INTO `oposlive_StinsonMobile`.`phppos_permissions` (
`module_id` ,
`person_id` 
)
VALUES (
'clocking', '1'
);


-----------
View reports for the clk out and clk in option
1-make change in the view for reports
reports/listing
2-Add changed in the report (controller)
3-Add new model for clk in and clk out in the models/reports folder for managing and feteching the info from the table
4-new function added for time(hrs ) calcucaltion in currency_helper