Subversion Repositories SmartDukaan

Rev

Rev 18949 | Rev 18971 | 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>
18956 naman 27
 
28
 
18916 naman 29
<?php //debug($tinres);?>
18899 naman 30
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
31
	<div class='row card'>
32
		<div class='col-xs-12' style="padding:0px;">
33
 
18916 naman 34
				<table cellpadding="1" cellspacing="1" width="100%">
18899 naman 35
					<tr width="100%"> 
36
					      <td width="100%" colspan="2" style="border:1px solid #58d936;">
37
					      	<div align="center">
38
					      		<strong>Retailer details by TIN : <?php echo $tin_num; ?></strong>
39
					      	</div>
40
					      </td>
41
	    			</tr>
42
 
43
					<?php if(isset($tinres['counter_name']) && !empty($tinres['counter_name'])):?>
44
						<tr>
45
							<td><strong>Counter Name</strong></td><td><?php echo $tinres['counter_name'];?></td>
46
						</tr>
47
					<?php endif;?>
48
					<?php if(isset($tinres['counter_address']) && !empty($tinres['counter_address'])):?>
49
						<tr>
50
							<td><strong>Counter Address</strong></td><td><?php echo $tinres['counter_address'];?></td>
51
						</tr>
52
					<?php endif;?>
53
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
54
						<tr>
55
							<td><strong>State</strong></td><td><?php echo $tinres['state'];?></td>
56
						</tr>
57
					<?php endif;?>
58
					<?php if(isset($tinres['pan']) && !empty($tinres['pan'])):?>
59
						<tr>
60
							<td><strong>PAN</strong></td><td><?php echo $tinres['pan'];?></td>
61
						</tr>
62
					<?php endif;?>
63
					<?php if(isset($tinres['registered_on']) && !empty($tinres['registered_on'])):?>
64
						<tr>
65
							<td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
66
						</tr>
67
					<?php endif;?>
68
 
69
				</table>
18949 naman 70
 
71
				<datalist id="cities"></datalist>
72
				<div class= "row" style="padding:5px 0px;">
73
					<div class="col-xs-6" style='padding:0px 5px 0px 0px ;'>
18956 naman 74
 
75
						<input type="text" id="pindet" placeholder="Enter your pin*" value = "<?php if(isset($tinres['pin_required']) && $tinres['pin_required'] == false):?><?php echo $tinres['pin'];?><?php endif;?>" class="<?php if(isset($tinres['pin_required']) && $tinres['pin_required'] == false):?>hidden<?php endif;?>">
76
 
77
						<input type="text" id="phonedet" placeholder="Enter your phone*" autocomplete="off" value = "<?php echo $phone_number;?>">
18949 naman 78
					</div>
79
 
80
					<div class="col-xs-6" style='padding:0px 0px 0px 5px ;'>
18956 naman 81
						<input type="text" placeholder="Select city*" id="citydet" name="city" list="cities" class="<?php if(isset($tinres['pin_required']) && $tinres['pin_required'] == true):?>hidden<?php endif;?>" autocomplete="off"/>
18949 naman 82
						<input type="hidden" id="tinres" <?php printf('data-tinres = "%s"',htmlspecialchars(json_encode($tinres), ENT_QUOTES, 'UTF-8'));?>>
83
					</div>
84
				</div>
85
 
18899 naman 86
				<div class="row">
87
 
88
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
18910 naman 89
						<div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;font-size:12px;">
18899 naman 90
							<?php if(trim($tinres['state']) == "Delhi"):?>	
18910 naman 91
								<div style="line-height: 15px;">
18956 naman 92
									<b>*</b> You will get tax invoice for orders shipped to counter address mentioned above.<br>
93
									<b>*</b> Available only on purchase through ProfitMandi and billed by Saholic.com.
18910 naman 94
								</div>
95
								<div style="line-height: 15px;margin-top: 4px;">
18956 naman 96
									<b>*</b> आपको उपरोक्त काउंटर के पते पर दिए गए ऑर्डरों पर ही आपको टैक्स चालान मिलेगा।<br> 
97
									<b>*</b>ProfitMandi से खरीदने पर और Saholic.com द्वारा बिलिंग पर उपलब्ध  है ।
18910 naman 98
								</div>
18899 naman 99
							<?php else:?>
18910 naman 100
								<div style="line-height: 15px;">
101
									<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'];?>.
102
								</div>
103
								<div style="line-height: 15px;margin-top: 4px;">				
104
									<b>*</b> <span style="color:red;">टैक्स चालान केवल दिल्ली में उपलब्ध है</span>।<?php echo $tinres['state'];?> में टैक्स चालान उपलब्ध होते ही आपसे संपर्क किया जाएगा। 
105
								</div>	
18899 naman 106
							<?php endif;?>
107
						</div>
108
					<?php endif;?>
109
 
18910 naman 110
					<div class= "col-xs-12 text-center" style="margin-bottom: 5px;">
18916 naman 111
					<?php $query = http_build_query(array('aParam' => $tinres)); ?>
112
					<?php //debug($query);?>
18899 naman 113
						<!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->	
18949 naman 114
						<!--<a href="<?php //echo $base_url;?>tins/confirm/?<?php //echo $query;?>">-->
115
							<button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;" id="submit_det">
18899 naman 116
							<?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>	
117
								Confirm to get tax invoice
118
							<?php else:?>
119
								Confirm your tax details
120
							<?php endif;?>
121
							</button>	
18949 naman 122
						<!--</a>-->
18910 naman 123
					</div>				
124
				</div>				
18899 naman 125
		</div>
126
 
127
	</div>
128
 
129
	<div class="row card" style="padding:0px;">
18910 naman 130
			<div class="col-xs-12" style="padding: 5px;font-size:12px;">
131
				<div style="line-height: 15px;">
132
					<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 
133
					<?php if(isset($user_email) && !empty($user_email)){
134
						echo "<b>".$user_email."</b>";
135
					}?>
136
					.
137
				</div>
138
				<div style="line-height:15px;margin-top: 4px;">
139
					<b>#</b> अगर आपका विवरण गलत है या आप अपना शिपिंग पता बदलवाना चाहते है तो अपनी टिन आर सी की प्रतिलिपि  <b>help@profitmandi.com</b> पर अपने रजिस्टर्ड ईमेल 
140
					<?php if(isset($user_email) && !empty($user_email)){
141
						echo "<b>".$user_email."</b> ";
142
					}?>
143
					से भेजे। 
144
				</div>
18899 naman 145
			</div>
146
	</div>
147
 
148
	<?php else: ?>
149
				<br>
150
				<div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
151
				<br><br>
18949 naman 152
	<?php endif; ?>