For employee actor, I need to do this functionality, How to do this in Angulajs. [1] Employee logs in night shift at 9 pm and logs out in morning 6am. [2] Your system should consider as 1 day. [3] All other shifts are in normal attendance login and logout.
<div class="container"> <form class="well"> <div> <br><br> EMPID:<input ng-model="login.id"/> <button class="btn btn-success">Search</button><br/> <br> EMPNAME:<input ng-model="login.pass"/><br/> <br> Current time is: <span my-current-time="format"></span> <br> <br> <br> <button class="btn btn-warning" ng-click="checkIn()">CheckIn</button> <button class="btn btn-success" ng-click="checkOut()">CheckOut</button> <button class="btn btn-default" ng-click="clear()">Clear</button> </div> </form> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)