Subversion Repositories SmartDukaan

Rev

Rev 18910 | Rev 18949 | 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
}
7
</style>
18916 naman 8
<?php //debug($tinres);?>
18899 naman 9
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
10
	<div class='row card'>
11
		<div class='col-xs-12' style="padding:0px;">
12
 
18916 naman 13
				<table cellpadding="1" cellspacing="1" width="100%">
18899 naman 14
					<tr width="100%"> 
15
					      <td width="100%" colspan="2" style="border:1px solid #58d936;">
16
					      	<div align="center">
17
					      		<strong>Retailer details by TIN : <?php echo $tin_num; ?></strong>
18
					      	</div>
19
					      </td>
20
	    			</tr>
21
 
22
					<?php if(isset($tinres['counter_name']) && !empty($tinres['counter_name'])):?>
23
						<tr>
24
							<td><strong>Counter Name</strong></td><td><?php echo $tinres['counter_name'];?></td>
25
						</tr>
26
					<?php endif;?>
27
					<?php if(isset($tinres['counter_address']) && !empty($tinres['counter_address'])):?>
28
						<tr>
29
							<td><strong>Counter Address</strong></td><td><?php echo $tinres['counter_address'];?></td>
30
						</tr>
31
					<?php endif;?>
32
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
33
						<tr>
34
							<td><strong>State</strong></td><td><?php echo $tinres['state'];?></td>
35
						</tr>
36
					<?php endif;?>
37
					<?php if(isset($tinres['pan']) && !empty($tinres['pan'])):?>
38
						<tr>
39
							<td><strong>PAN</strong></td><td><?php echo $tinres['pan'];?></td>
40
						</tr>
41
					<?php endif;?>
42
					<?php if(isset($tinres['registered_on']) && !empty($tinres['registered_on'])):?>
43
						<tr>
44
							<td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
45
						</tr>
46
					<?php endif;?>
47
 
48
				</table>
49
				<br>
50
				<div class="row">
51
 
52
					<?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
18910 naman 53
						<div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;font-size:12px;">
18899 naman 54
							<?php if(trim($tinres['state']) == "Delhi"):?>	
18910 naman 55
								<div style="line-height: 15px;">
56
									<b>*</b> You will get tax invoice for orders shipped to counter address mentioned above.
57
								</div>
58
								<div style="line-height: 15px;margin-top: 4px;">
59
									<b>*</b> आपको उपरोक्त काउंटर के पते पर दिए गए ऑर्डरों पर ही आपको टैक्स चालान मिलेगा। 
60
								</div>
18899 naman 61
							<?php else:?>
18910 naman 62
								<div style="line-height: 15px;">
63
									<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'];?>.
64
								</div>
65
								<div style="line-height: 15px;margin-top: 4px;">				
66
									<b>*</b> <span style="color:red;">टैक्स चालान केवल दिल्ली में उपलब्ध है</span>।<?php echo $tinres['state'];?> में टैक्स चालान उपलब्ध होते ही आपसे संपर्क किया जाएगा। 
67
								</div>	
18899 naman 68
							<?php endif;?>
69
						</div>
70
					<?php endif;?>
71
 
18910 naman 72
					<div class= "col-xs-12 text-center" style="margin-bottom: 5px;">
18916 naman 73
					<?php $query = http_build_query(array('aParam' => $tinres)); ?>
74
					<?php //debug($query);?>
18899 naman 75
						<!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->	
18916 naman 76
						<a href="<?php echo $base_url;?>tins/confirm/?<?php echo $query;?>">
18899 naman 77
							<button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;">
78
							<?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>	
79
								Confirm to get tax invoice
80
							<?php else:?>
81
								Confirm your tax details
82
							<?php endif;?>
83
							</button>	
84
						</a>
18910 naman 85
					</div>				
86
				</div>				
18899 naman 87
		</div>
88
 
89
	</div>
90
 
91
	<div class="row card" style="padding:0px;">
18910 naman 92
			<div class="col-xs-12" style="padding: 5px;font-size:12px;">
93
				<div style="line-height: 15px;">
94
					<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 
95
					<?php if(isset($user_email) && !empty($user_email)){
96
						echo "<b>".$user_email."</b>";
97
					}?>
98
					.
99
				</div>
100
				<div style="line-height:15px;margin-top: 4px;">
101
					<b>#</b> अगर आपका विवरण गलत है या आप अपना शिपिंग पता बदलवाना चाहते है तो अपनी टिन आर सी की प्रतिलिपि  <b>help@profitmandi.com</b> पर अपने रजिस्टर्ड ईमेल 
102
					<?php if(isset($user_email) && !empty($user_email)){
103
						echo "<b>".$user_email."</b> ";
104
					}?>
105
					से भेजे। 
106
				</div>
18899 naman 107
			</div>
108
	</div>
109
 
110
	<?php else: ?>
111
				<br>
112
				<div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
113
				<br><br>
114
	<?php endif; ?>