Subversion Repositories SmartDukaan

Rev

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

Rev 11327 Rev 11513
Line 71... Line 71...
71
         if($payment->label == 'CREDIT CARDS'){
71
         if($payment->label == 'CREDIT CARDS'){
72
          if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod == 0)){
72
          if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod == 0)){
73
            $defaultPayment = $payment->type;
73
            $defaultPayment = $payment->type;
74
          }?>
74
          }?>
75
        <div  id="<?php echo $payment->type;?>"class="card <?php if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod ==0)){echo 'selected';}?>" onclick="changePayment(event);"><?php echo $payment->label;?> <span><?php if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod == 0)){echo '-';} else { echo '+';}?></span></div>
75
        <div  id="<?php echo $payment->type;?>"class="card <?php if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod ==0)){echo 'selected';}?>" onclick="changePayment(event);"><?php echo $payment->label;?> <span><?php if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod == 0)){echo '-';} else { echo '+';}?></span></div>
76
        <div style="display:<?php if((!isset($codCaptcha) && $codCaptcha !=1) || (isset($cod) || $cod == 0)){echo 'none';} else { echo 'block'; }?>" class="credit-cards clearfix">
76
        <div style="display:<?php if((!isset($codCaptcha) && $codCaptcha !=1) || (!isset($cod) || $cod == 0)){echo 'block';} else { echo 'none'; }?>" class="credit-cards clearfix">
77
          <div class="c-info">You will be taken to our Bank's payment gateway for making this payment.</div>
77
          <div class="c-info">You will be taken to our Bank's payment gateway for making this payment.</div>
78
          <form id="creditcard" method="post" data-key="<?php echo $payment->label;?>" action="<?php echo base_url().'payment';?>" onsubmit="return paymentValidation(event)">
78
          <form id="creditcard" method="post" data-key="<?php echo $payment->label;?>" action="<?php echo base_url().'payment';?>" onsubmit="return paymentValidation(event)">
79
            <fieldset>
79
            <fieldset>
80
           <div class="cc-hldr clearfix">
80
           <div class="cc-hldr clearfix">
81
             <div id="india" class="selected" onclick="changeCountry(event)">Credit Cards </br>Issued in India</div> 
81
             <div id="india" class="selected" onclick="changeCountry(event)">Credit Cards </br>Issued in India</div>