| Server IP : 162.214.74.102 / Your IP : 216.73.216.36 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/customer/ |
Upload File : |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header address-book">
<h1><?php echo $this->lang->line('Redeem');?> <!-- <button onclick="window.location.href='<?php echo base_url(); ?>customer/dashboard/restaurant_map_view'" type="button" class="btn btn-info Custom-btn pull-right" style="border-radius: 32px !important;">Find All Restaurants</button> -->
</h1>
</section>
<!-- Main content -->
<section class="content">
<!-- tab section -->
<div class="nav-tabs-custom">
<div class="tab-content no-padding">
<div id="home" class="tab-pane fade in active">
<div class="box-body">
<?php if($this->session->flashdata('success_msg')):?>
<div class="alert alert-info">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo $this->session->flashdata('success_msg'); ?></strong>
</div>
<?php endif; ?>
<?php if($this->session->flashdata('error_msg')) { ?>
<div class="alert alert-danger text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo $this->session->flashdata('error_msg'); ?></strong>
</div>
<?php } ?>
<?php if(validation_errors() != FALSE) { ?>
<div class="alert alert-danger text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo validation_errors(); ?></strong>
</div>
<?php } ?>
<?php $validator = array('role' => 'form', 'data-toggle' => 'validator'); echo form_open('customer/dashboard/redeem', $validator); ?>
<fieldset>
<div class="col-md-4 col-sm-4 col-xs-12">
<?php if(isset($rewardAvailability) && $rewardAvailability){?>
<div class="text-center" style="margin-bottom: 35px;">
<span>
Available Reward Point<br> <strong style="font-size: 20px;"><?=$pointDetails["points"]?></strong>
</span><br/>
</div>
<?php
}?>
<?php
//$ccmonth = set_value('cc_month', isset($cardData['cc_exp_month']) ? $cardData['cc_exp_month'] : '');
//print_r($RedeemVouchers);
if(isset($RedeemVouchers) && !empty($RedeemVouchers)){
?>
<div class="form-group">
<select required id="voucher_amount" name="voucher_amount" class="fs_input" onchange="changePointAmount(this)">
<option value="" selected="selected"><?php echo $this->lang->line('SelectVoucher');?></option>
<?php
foreach ($RedeemVouchers as $k=>$value){
?>
<option data-point="<?=$value["redemption_point"]?>" data-partner_name="<?=$value["partner_name"]?>" value="<?=$value["redemption_amount"]?>"><?=$value["partner_name"]."- ".SITENAME_CURRENCY.$value["redemption_amount"]." for point ".$value["redemption_point"]?></option>
<?php }?>
</select>
<input type="hidden" value="" name="voucher_point" id="voucher_point"/>
<input type="hidden" value="" name="partner_name" id="partner_name"/>
</div>
<div class="form-group">
<div class="margintop10">
<button type="submit" class="btn btn-info Custom-btn"><?php echo $this->lang->line('RedeemNow');?></button>
</div>
</div>
<?php }else{
echo $this->lang->line('NotEligible');
}?>
</div>
</div>
</fieldset>
<INPUT type="hidden" NAME="ActionTab" id="ActionTab" SIZE="25" value="PaymentInfo">
</form>
</div>
</div>
</div>
</div>
<!-- ./tab section -->
<div class="clearfix"></div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->