Subversion Repositories SmartDukaan

Rev

Rev 24160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24160 Rev 32771
Line 25... Line 25...
25
         
25
         
26
	<div class="row">
26
	<div class="row">
27
		<div class="col-lg-12">
27
		<div class="col-lg-12">
28
			<h3 class="page-header"><i class="icon_document_alt"></i>PUNCH IN/OUT</h3>
28
			<h3 class="page-header"><i class="icon_document_alt"></i>PUNCH IN/OUT</h3>
29
			<ol class="breadcrumb">
29
			<ol class="breadcrumb">
30
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
30
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("punchinout.home")</a></li>
31
				<li><i class="icon_document_alt"></i>PUNCH IN/OUT</li>
31
				<li><i class="icon_document_alt"></i>#springMessage("punchinout.punchinout")</li>
32
			</ol>
32
			</ol>
33
		</div>
33
		</div>
34
	</div>
34
	</div>
35
	<div class="col-lg-6"> 
35
	<div class="col-lg-6"> 
36
	<div id="create-punch-in-out-container">
36
	<div id="create-punch-in-out-container">
37
    	<div class="row">
37
    	<div class="row">
38
			<div class="col-lg-2">
38
			<div class="col-lg-2">
39
				#if(!$punchInOut)
39
				#if(!$punchInOut)
40
	              	<button class="btn btn-primary" id="" onclick="createPunchInOut('IN')" type="button">Punch IN</button>
40
	              	<button class="btn btn-primary" id="" onclick="createPunchInOut('IN')" type="button">#springMessage("punchinout.punchin")</button>
41
	            #else
41
	            #else
42
	            	#if(!$punchInOut.getPunchOutTimestamp())
42
	            	#if(!$punchInOut.getPunchOutTimestamp())
43
	            		<button class="btn btn-primary" id="" onclick="createPunchInOut('OUT')" type="button">Punch OUT</button>
43
	            		<button class="btn btn-primary" id="" onclick="createPunchInOut('OUT')" type="button">#springMessage("punchinout.punchedout")</button>
44
	            	#end
44
	            	#end
45
	            #end
45
	            #end
46
			</div>
46
			</div>
47
        			
47
        			
48
       	</div>
48
       	</div>
Line 53... Line 53...
53
		<div class="row">
53
		<div class="row">
54
	    	<div class="col-lg-12">
54
	    	<div class="col-lg-12">
55
	    		<table class="table table-striped table-advance table-hover">
55
	    		<table class="table table-striped table-advance table-hover">
56
	    			<tbody>
56
	    			<tbody>
57
	    				<tr>
57
	    				<tr>
58
	    					<th>Create Date</th>
58
	    					<th>#springMessage("punchinout.createdate")</th>
59
	    					<th>Punched In</th>
59
	    					<th>#springMessage("punchinout.punchedin")</th>
60
	    					<th>Punched Out</th>
60
	    					<th>#springMessage("punchinout.punchedout")</th>
61
	    				</tr>
61
	    				</tr>
62
	    				#if(!$punchInOuts.isEmpty())
62
	    				#if(!$punchInOuts.isEmpty())
63
			    			#foreach( $punchInOut in $punchInOuts )
63
			    			#foreach( $punchInOut in $punchInOuts )
64
			    				<tr>
64
			    				<tr>
65
			    					<td>$punchInOut.getFormattedCreateDate()</td>
65
			    					<td>$punchInOut.getFormattedCreateDate()</td>
Line 105... Line 105...
105
	    </div>
105
	    </div>
106
    #end
106
    #end
107
    </div>
107
    </div>
108
    
108
    
109
     <div class="col-lg-6">
109
     <div class="col-lg-6">
110
   <h4 class="modelHeaderCustom" style="font-size:22px;">Promoter Attendance</h4>
110
   <h4 class="modelHeaderCustom" style="font-size:22px;">#springMessage("punchinout.promoterattendance")</h4>
111
     
111
     
112
		 <div id="promoter-punchin-out-table">
112
		 <div id="promoter-punchin-out-table">
113
		<div class="row">
113
		<div class="row">
114
	    	<div class="col-lg-12">
114
	    	<div class="col-lg-12">
115
	    		<table class="table table-striped table-advance table-hover">
115
	    		<table class="table table-striped table-advance table-hover">
116
	    			<tbody>
116
	    			<tbody>
117
	    				<tr>
117
	    				<tr>
118
	    					<th>Name</th>
118
	    					<th>#springMessage("punchinout.name")</th>
119
	    					<th>Brand Name</th>
119
	    					<th>#springMessage("punchinout.brandname")</th>
120
	    					<th>In Time</th>
120
	    					<th>#springMessage("punchinout.intime")</th>
121
	    					<th>OutTime</th>
121
	    					<th>#springMessage("punchinout.outtime")</th>
122
	    				</tr>
122
	    				</tr>
123
	    				
123
	    				
124
	    				#if(!$userIdAndBrandPromoterMap.isEmpty())
124
	    				#if(!$userIdAndBrandPromoterMap.isEmpty())
125
			    			#foreach( $promoterId in $promoterIdAndPromoterMap.keySet())
125
			    			#foreach( $promoterId in $promoterIdAndPromoterMap.keySet())
126
			    			
126
			    			
Line 143... Line 143...
143
									
143
									
144
			    				</tr>	
144
			    				</tr>	
145
			    	   #end
145
			    	   #end
146
		    			#else
146
		    			#else
147
		    				<tr>
147
		    				<tr>
148
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
148
		    					<td colspan="12" style="text-align:center;">#springMessage("punchinout.nomatchingdatafoundforcriteria")</td>
149
		    				</tr>
149
		    				</tr>
150
		    			#end
150
		    			#end
151
	    	
151
	    	
152
	    			</tbody>
152
	    			</tbody>
153
	    		</table>
153
	    		</table>