?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Documents/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Documents/temp_paymode.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php if($paymode=="netbank") { $b_name=$paymentmodedetails->bank_name; $che_no=$paymentmodedetails->deposit_no; $acc_number=$paymentmodedetails->account_number; $acc_holder=$paymentmodedetails->account_holder; } else if($paymode=='bank') { $b_name=$paymentmodedetails->bank_name; $che_no=$paymentmodedetails->dd_cheque_no; $acc_number=''; $acc_holder=''; } else { $b_name=''; $che_no=''; $acc_number=''; $acc_holder=''; } ?> <fieldset><legend> Payment method</legend> <table><tr id="payment_meth"> <td><label style="color:#000;">Payment Method</label><select onchange="showpaydetails()" id="paymethod" name="paymethod"> <option value="<?=$paymode?>"><?=$paymode?></option> <?php // // foreach ($methods as $meth) // { // if($meth['method']!='credit' && $meth['method']!=$paymode) // { // echo "<option value=".$meth['method']." >".$meth['method']."</option>"; // } // } ?> </select><span id="paymethodInfo" class="red_bold">*</span><td></tr> <tr><td></td></tr> <tr id="bankdetails" <?php if($paymode=='bank' || $paymode=='netbank'){echo "style='display:block'"; } else {echo "style='display:none'"; } ?>> <td><label <?php if($paymode=='netbank'){echo "style='display:none'"; } ?> id="labelDDNo" style="color:#000;">DD/Cheque No:</label> <label <?php if($paymode=='bank'){echo "style='display:none'"; } ?> id="labelDDNo1" style="color:#000;">Deposit No:</label><input type="text" id="cheque_no" value="<?=$che_no ?>" name='cheque_no'></td> <td><label style="color:#000;">Bank Name</label><input type="text" value="<?=$b_name ?>" id="bank_name" name='bank_name'></td> </tr> <tr id="netbankdetails" <?php if($paymode=='netbank'){echo "style='display:block'"; } else {echo "style='display:none'"; } ?> ><td><label style="color:#000;">Account Number</label><input type="text" value="<?=$acc_number ?>" id="acc_no" name='acc_no' ></td> <td><label style="color:#000;">Account Holder</label><input type="text" value="<?=$acc_holder ?>" id="acc_holder" name='acc_holder'></td></tr> </table> </fieldset>