Subversion Repositories SmartDukaan

Rev

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

Rev 18916 Rev 18949
Line 2... Line 2...
2
	td:first-child { background-color: #F9FCF7; border:1px solid white;}
2
	td:first-child { background-color: #F9FCF7; border:1px solid white;}
3
	td{
3
	td{
4
	padding:2px;
4
	padding:2px;
5
    border:1px solid #e6e6e6;
5
    border:1px solid #e6e6e6;
6
}
6
}
-
 
7
 
-
 
8
#pindet,#citydet,#phonedet{
-
 
9
  width: 100%;
-
 
10
  appearance: none;
-
 
11
  -webkit-appearance: none;
-
 
12
  -moz-appearance: none;
-
 
13
  border: #58d936 solid 1px;
-
 
14
  color: #555;
-
 
15
  border-radius: 6px;
-
 
16
  outline: none;
-
 
17
  padding: 2px;
-
 
18
  /*display: block;*/
-
 
19
  box-sizing: border-box;
-
 
20
  -webkit-box-sizing: border-box;
-
 
21
  -moz-box-sizing: border-box;
-
 
22
  font: 15px Helvetica, Arial, sans-serif;
-
 
23
  /*margin: 2px 0 8px 0;*/
-
 
24
   margin: 2px 0 0px 0;
-
 
25
}
7
</style>
26
</style>
8
<?php //debug($tinres);?>
27
<?php //debug($tinres);?>
9
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
28
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
10
	<div class='row card'>
29
	<div class='row card'>
11
		<div class='col-xs-12' style="padding:0px;">
30
		<div class='col-xs-12' style="padding:0px;">
Line 44... Line 63...
44
							<td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
63
							<td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
45
						</tr>
64
						</tr>
46
					<?php endif;?>
65
					<?php endif;?>
47
					
66
					
48
				</table>
67
				</table>
-
 
68
				
-
 
69
				<datalist id="cities"></datalist>
-
 
70
				<div class= "row" style="padding:5px 0px;">
-
 
71
					<div class="col-xs-6" style='padding:0px 5px 0px 0px ;'>
-
 
72
						<?php if(isset($tinres['pin_required']) && $tinres['pin_required'] == true):?>
-
 
73
							<input type="text" id="pindet" placeholder="Enter your pin*">
-
 
74
						<?php endif;?>
-
 
75
						<input type="text" id="phonedet" placeholder="Enter your phone*" value = "<?php echo $phone_number;?>">
-
 
76
					</div>
-
 
77
						
-
 
78
					<div class="col-xs-6" style='padding:0px 0px 0px 5px ;'>
-
 
79
						<input type="text" placeholder="Select city*" id="citydet" name="city" list="cities" class="hidden"/>
-
 
80
						<input type="hidden" id="tinres" <?php printf('data-tinres = "%s"',htmlspecialchars(json_encode($tinres), ENT_QUOTES, 'UTF-8'));?>>
-
 
81
					</div>
49
				<br>
82
				</div>
-
 
83
								
50
				<div class="row">
84
				<div class="row">
51
					
85
					
52
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
86
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
53
						<div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;font-size:12px;">
87
						<div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;font-size:12px;">
54
							<?php if(trim($tinres['state']) == "Delhi"):?>	
88
							<?php if(trim($tinres['state']) == "Delhi"):?>	
Line 71... Line 105...
71
					
105
					
72
					<div class= "col-xs-12 text-center" style="margin-bottom: 5px;">
106
					<div class= "col-xs-12 text-center" style="margin-bottom: 5px;">
73
					<?php $query = http_build_query(array('aParam' => $tinres)); ?>
107
					<?php $query = http_build_query(array('aParam' => $tinres)); ?>
74
					<?php //debug($query);?>
108
					<?php //debug($query);?>
75
						<!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->	
109
						<!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->	
76
						<a href="<?php echo $base_url;?>tins/confirm/?<?php echo $query;?>">
110
						<!--<a href="<?php //echo $base_url;?>tins/confirm/?<?php //echo $query;?>">-->
77
							<button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;">
111
							<button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;" id="submit_det">
78
							<?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>	
112
							<?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>	
79
								Confirm to get tax invoice
113
								Confirm to get tax invoice
80
							<?php else:?>
114
							<?php else:?>
81
								Confirm your tax details
115
								Confirm your tax details
82
							<?php endif;?>
116
							<?php endif;?>
83
							</button>	
117
							</button>	
84
						</a>
118
						<!--</a>-->
85
					</div>				
119
					</div>				
86
				</div>				
120
				</div>				
87
		</div>
121
		</div>
88
		
122
		
89
	</div>
123
	</div>
Line 109... Line 143...
109
	
143
	
110
	<?php else: ?>
144
	<?php else: ?>
111
				<br>
145
				<br>
112
				<div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
146
				<div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
113
				<br><br>
147
				<br><br>
114
	<?php endif; ?>
-
 
115
148
	<?php endif; ?>	
-
 
149
116
150