Blame | Last modification | View Log | RSS feed
#if(!$punchInOut)<h4 class="modelHeaderCustom" style="font-size:22px;">Store Attendance</h4><div id="create-punch-out-container"><div class="row"><div class="col-lg-2">#if(!$punchInOut)<button class="btn btn-primary" id="" onclick="createPunchInOut('IN')" type="button">Punch IN</button>#end</div></div></div>#else<h4 class="modelHeaderCustom" style="font-size:22px;">Promoter Attendance</h4><div id="promoter-punch-out-table"><div class="row"><div class="col-lg-12"><table class="table table-striped table-advance table-hover"><tbody><tr><th>Name</th><th>Brand Name</th><th>In Time</th><th>OutTime</th></tr>#if(!$userIdAndBrandPromoterMap.isEmpty())#foreach( $promoterId in $promoterIdAndPromoterMap.keySet())<tr>#if(!$listPromoterAttendance.get($promoterId).getInTimestamp())<td>$promoterIdAndPromoterMap.get($promoterId).getName()</td><td>$promoterIdAndPromoterMap.get($promoterId).getBrand()</td>#if($listPromoterAttendance.get($promoterId).getInTimestamp())<td>$listPromoterAttendance.get($promoterId).getInTimestamp().format($dateTimeFormatter)</td>#if($listPromoterAttendance.get($promoterId).getOutTimestamp())<td>$listPromoterAttendance.get($promoterId).getOutTimestamp().format($dateTimeFormatter)</td>#else<td><button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('OUT',$promoterId)" type="button">Punch OUT</button></td>#end#else<td> <button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('IN',$promoterId)" type="button">Punch IN</button></td><td><button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('OUT',$promoterId)" type="button" disabled>Punch OUT</button></td>#end#end</tr>#end#else<tr><td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td></tr>#end</tbody></table></div></div></div></div>#end