Subversion Repositories SmartDukaan

Rev

Rev 18916 | Rev 18956 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
18899 naman 1
<style>
2
	td:first-child { background-color: #F9FCF7; border:1px solid white;}
3
	td{
4
	padding:2px;
5
    border:1px solid #e6e6e6;
6
}
18949 naman 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
}
18899 naman 26
</style>
18916 naman 27
<?php //debug($tinres);?>
18899 naman 28
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
29
	<div class='row card'>
30
		<div class='col-xs-12' style="padding:0px;">
31
 
18916 naman 32
				<table cellpadding="1" cellspacing="1" width="100%">
18899 naman 33
					<tr width="100%"> 
34
					      <td width="100%" colspan="2" style="border:1px solid #58d936;">
35
					      	<div align="center">
36
					      		<strong>Retailer details by TIN : <?php echo $tin_num; ?></strong>
37
					      	</div>
38
					      </td>
39
	    			</tr>
40
 
41
					<?php if(isset($tinres['counter_name']) && !empty($tinres['counter_name'])):?>
42
						<tr>
43
							<td><strong>Counter Name</strong></td><td><?php echo $tinres['counter_name'];?></td>
44
						</tr>
45
					<?php endif;?>
46
					<?php if(isset($tinres['counter_address']) && !empty($tinres['counter_address'])):?>
47
						<tr>
48
							<td><strong>Counter Address</strong></td><td><?php echo $tinres['counter_address'];?></td>
49
						</tr>
50
					<?php endif;?>
51
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
52
						<tr>
53
							<td><strong>State</strong></td><td><?php echo $tinres['state'];?></td>
54
						</tr>
55
					<?php endif;?>
56
					<?php if(isset($tinres['pan']) && !empty($tinres['pan'])):?>
57
						<tr>
58
							<td><strong>PAN</strong></td><td><?php echo $tinres['pan'];?></td>
59
						</tr>
60
					<?php endif;?>
61
					<?php if(isset($tinres['registered_on']) && !empty($tinres['registered_on'])):?>
62
						<tr>
63
							<td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
64
						</tr>
65
					<?php endif;?>
66
 
67
				</table>
18949 naman 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>
82
				</div>
83
 
18899 naman 84
				<div class="row">
85
 
86
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
18910 naman 87
						<div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;font-size:12px;">
18899 naman 88
							<?php if(trim($tinres['state']) == "Delhi"):?>	
18910 naman 89
								<div style="line-height: 15px;">
90
									<b>*</b> You will get tax invoice for orders shipped to counter address mentioned above.
91
								</div>
92
								<div style="line-height: 15px;margin-top: 4px;">
93
									<b>*</b> आपको उपरोक्त काउंटर के पते पर दिए गए ऑर्डरों पर ही आपको टैक्स चालान मिलेगा। 
94
								</div>
18899 naman 95
							<?php else:?>
18910 naman 96
								<div style="line-height: 15px;">
97
									<b>*</b> <span style="color:red;">Tax invoice is only available in Delhi</span>. We will get back to you when tax invoice is available in <?php echo $tinres['state'];?>.
98
								</div>
99
								<div style="line-height: 15px;margin-top: 4px;">				
100
									<b>*</b> <span style="color:red;">टैक्स चालान केवल दिल्ली में उपलब्ध है</span>।<?php echo $tinres['state'];?> में टैक्स चालान उपलब्ध होते ही आपसे संपर्क किया जाएगा। 
101
								</div>	
18899 naman 102
							<?php endif;?>
103
						</div>
104
					<?php endif;?>
105
 
18910 naman 106
					<div class= "col-xs-12 text-center" style="margin-bottom: 5px;">
18916 naman 107
					<?php $query = http_build_query(array('aParam' => $tinres)); ?>
108
					<?php //debug($query);?>
18899 naman 109
						<!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->	
18949 naman 110
						<!--<a href="<?php //echo $base_url;?>tins/confirm/?<?php //echo $query;?>">-->
111
							<button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;" id="submit_det">
18899 naman 112
							<?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>	
113
								Confirm to get tax invoice
114
							<?php else:?>
115
								Confirm your tax details
116
							<?php endif;?>
117
							</button>	
18949 naman 118
						<!--</a>-->
18910 naman 119
					</div>				
120
				</div>				
18899 naman 121
		</div>
122
 
123
	</div>
124
 
125
	<div class="row card" style="padding:0px;">
18910 naman 126
			<div class="col-xs-12" style="padding: 5px;font-size:12px;">
127
				<div style="line-height: 15px;">
128
					<b>#</b> In case your tax details are incorrect or you want to change your shipping address, send your TIN RC copy to <b>help@profitmandi.com</b> from your registered email 
129
					<?php if(isset($user_email) && !empty($user_email)){
130
						echo "<b>".$user_email."</b>";
131
					}?>
132
					.
133
				</div>
134
				<div style="line-height:15px;margin-top: 4px;">
135
					<b>#</b> अगर आपका विवरण गलत है या आप अपना शिपिंग पता बदलवाना चाहते है तो अपनी टिन आर सी की प्रतिलिपि  <b>help@profitmandi.com</b> पर अपने रजिस्टर्ड ईमेल 
136
					<?php if(isset($user_email) && !empty($user_email)){
137
						echo "<b>".$user_email."</b> ";
138
					}?>
139
					से भेजे। 
140
				</div>
18899 naman 141
			</div>
142
	</div>
143
 
144
	<?php else: ?>
145
				<br>
146
				<div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
147
				<br><br>
18949 naman 148
	<?php endif; ?>