Rev 19311 | Rev 19358 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style type="text/css">h5{font-weight: bold;text-decoration: underline;}h4{font-weight: bold;}td:first-child { ; border:1px solid #e6e6e6;}td{padding:2px;border:1px solid #e6e6e6;}tr{width:100%;}table{font-size: 12px;}</style><?php if(isset($response) && !empty($response)):?><div class="container"><div class="row-fluid"><div class="col-xs-12 bgwhite" style="margin:5px 0;"><h4 class="text-center"></h4><div id="foreng"><div style="margin:5px 0;">Buy accessories in April and get upto <?php echo $maxpercentage."% cashback.";?> </div><div style="margin:5px 0;"><table cellpadding="1" cellspacing="1" width="100%"><tr><td><b>Purchase</b></td><td><b>Cashback</b></td></tr><?php if(isset($response['target1'])&& isset($response['target1_cash_back_percetage'])):?><tr><td>Above ₹ <?php echo $response['target1'];?></td><td><?php echo $response['target1_cash_back_percetage']?>%</td></tr><?php endif;?><?php if(isset($response['target2'])&& isset($response['target2_cash_back_percetage'])):?><tr><td>Above ₹ <?php echo $response['target2'];?></td><td><?php echo $response['target2_cash_back_percetage']?>%</td></tr><?php endif;?></table></div><div class="bgreen" style="margin:5px 0;font-size:12px;"><b>*</b> Max cashback will be ₹ <?php echo $response['maxCashBack'];?>.<br><b>*</b> Above scheme is applicable only to you (<b><?php echo $user_email;?></b>).<br><b>*</b> Cashback is not applicable on memory card and pendrive.<?php// $gocount =0;// foreach($response['sub_categories_not_applicable'] as $rkey){// echo $subcat[$rkey];// $gocount = $gocount +1;// if(count($response['sub_categories_not_applicable'])>1 && count($response['sub_categories_not_applicable'])!= $gocount){// echo ", ";// }//}?></div><?php if(isset($response['delivered_order_value']) && $response['delivered_order_value'] != 0):?><div style="margin:15px 0 10px;">Actual order value till date.<table cellpadding="1" cellspacing="1" width="100%"><?php if(isset($response['delivered_order_value'])):?><tr><td>Delivered Orders</td><td> ₹ <?php echo $response['delivered_order_value']?></td></tr><?php endif;?><?php if(isset($response['pending_order_value'])):?><tr><td>Pending Orders </td><td> ₹ <?php echo $response['pending_order_value']?></td></tr><?php endif;?><tr><td><b>Total</b></td><td> ₹ <?php echo ($response['pending_order_value'] + $response['delivered_order_value']);?></td></tr></table><div style="padding:10px 0 0px;"><?php if(isset($needtoachieveval) && $needtoachieveval >0){echo "Buy ₹ ". $needtoachieveval ." more to get ". $needtoachieveper."% cashback.";}?></div></div><?php endif;?></div></div></div></div><?php else:?><div class="well text-center emptyCart">No offer available for you.</div><?php endif;?>