first commit
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
<!-- Main content -->
|
||||
<div class="content-wrapper">
|
||||
|
||||
<?php include('common/userstrip.php'); ?>
|
||||
|
||||
|
||||
<!-- Marketing campaigns -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<span class="label label-flat border-primary text-primary-600"> <h5 class="no-margin">Account Balance : <? echo money_format('%.2n', $current_balance * 0.01); ?></h5></span>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<span class="label label-flat border-primary text-primary-600"> <h5 class="no-margin ">Escrow Balance :<? echo money_format('%.2n', $escrow_balance * 0.01); ?> </h5> </span>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4">
|
||||
<form class="form-horizontal" action="/member/addfund" method='POST'>
|
||||
<button type="submit" onclick="addfund();" class="btn btn-primary btn-xs btn-block">Add Fund</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /marketing campaigns -->
|
||||
|
||||
<!-- Marketing campaigns -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="panel-heading">
|
||||
<h5 class="panel-title">Withdraw from Balance [<? echo money_format('%.2n', $current_balance * 0.01); ?>]</h5>
|
||||
<form class="form-horizontal" action="/member/balance" method='POST'>
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function getFee(val) {
|
||||
$.ajax({
|
||||
url: "/member/fee?amount=" + val
|
||||
}).done(function (data) {
|
||||
var fee = 0;
|
||||
if (parseFloat(data) > 0) {
|
||||
fee = parseFloat(data);
|
||||
}
|
||||
var total = fee + parseFloat(val);
|
||||
$('#fee').val(fee.toFixed(2));
|
||||
$('#total').val(total.toFixed(2));
|
||||
});
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
|
||||
</div>
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label"> Amount:</label>
|
||||
<div class="col-lg-9">
|
||||
<input name ="amount" type="text" class="form-control" placeholder="Amount to withdraw" value="<?php echo $amount; ?>" onKeyUp="this.value = this.value.replace(/[^0-9]/g, '');getFee(this.value);" maxlength='6' onChange="getFee(this.value)">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label">Recipient Acc:[<a href ='/member/recipient' class="label label-info">Add New</a>]</label>
|
||||
<div class="col-lg-9">
|
||||
<?php echo $recipient_account_combo; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label">Processing Fee:</label>
|
||||
<div class="col-lg-9">
|
||||
<input name ="fee" id="fee" type="text" class="form-control" placeholder="Processing fee" value="<?php echo $fee * 0.01; ?>" readonly >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label"> Total :</label>
|
||||
<div class="col-lg-9">
|
||||
<input name ="total" id="total" type="text" class="form-control" placeholder="Total" value="<?php echo $total * 0.01; ?>" readonly >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label"> Comment/Note :</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="comment" type="text" class="form-control" placeholder="Comment" value="<?php echo $comment; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
<?php echo $add_error; ?>
|
||||
<button type="submit" class="btn btn-primary btn-xs">Continue <i class="icon-arrow-right14 position-right"></i></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /marketing campaigns -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="panel-heading">
|
||||
<?php echo $sendmoney_table; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user