| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 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/superadmin/ |
Upload File : |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header content-header1">
<h1>Manage E-Wallet</h1>
</section>
<!-- Main content -->
<!-- tab section -->
<div class="col-md-12 mctop15">
<div class="box-body">
<form>
<h3>Payment Schedule</h3>
<hr />
<div class="col-md-4 col-sm-6 col-xs-12">
<p><b>Restaurant :</b></p>
<label>Every night at 12 AM</label>
</div>
<!-- <div class="col-md-8 col-sm-12 col-xs-12">
<p><b>Driver :</b></p>
<label>Twice in a week: Wednesday & Sunday at 12 AM</label>
</div> -->
<div class="clearfix"></div>
<h3>Payment History</h3>
<hr />
<div class="form-group float-label-control">
<p>Details for <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="left" title="Choose payment history for"></i> <span class="text-red">*</span></p>
<label class="radio-inline" style=""><input type="radio" name="optradiotype" class="optradiotype" data-attr="restaurant"> Restaurant</label>
<!-- <label class="radio-inline" style=""><input type="radio" name="optradiotype" class="optradiotype" data-attr="driver"> Driver</label> -->
</div>
<div class="col-md-6 col-sm-12 col-xs-12 no-padding">
<div class="form-group hide type-restaurant">
<select onchange="GetRestaurantInvoice(this.value);" name="restaurant_name" id="restaurant_name" class="fs_input custom-full">
<option value="">Select Restaurant</option>
<option value="99999" value="">All</option>
<?php
foreach ($RestaurantList as $key => $value)
{
?>
<option value="<?=$value['restaurant_id']?>"><?=$value['restaurant_name']?></option>
<?php
}
?>
</select>
</div>
<!-- <div class="form-group hide type-driver">
<select onchange="GetDriverInvoice(this.value);" class="fs_input custom-full">
<option value="">Select Driver Name</option>
<option value="99999" value="">All</option>
<?php
foreach($Driverlist as $row) { ?>
<option value="<?php echo $row->driver_id; ?>" ><?php echo $row->driver_first_name; ?> <?php echo $row->driver_last_name; ?></option>';
<?php } ?>
</select>
</div> -->
<!-- <div class="table-responsive data-result hide">
<table id="datainvoice" class="table no-margin table-hover">
</table>
</div> -->
</div>
<div class="col-md-12 col-sm-12 col-xs-12 no-padding">
<div class="table-responsive data-result-restaurant hide">
<table id="datainvoice_restaurant" class="table no-margin table-hover"></table>
</div>
<div class="table-responsive data-result-driver hide">
<table id="datainvoice_driver" class="table no-margin table-hover"></table>
</div>
</div>
</form>
</div>
</div>
<!-- ./tab section -->
<div class="clearfix"></div>
</div><!-- /.content-wrapper -->
<!-- /.content-wrapper -->
<div class="clearfix"></div>
<script type="text/javascript">
function GetDriverInvoice(driver_id)
{
base_url='<?php echo base_url(); ?>';
url= base_url+'dashboard/GetDriverInvoice'
$.ajax({
method: "POST",
url: url,
data: { driver_id: driver_id, csrf_token_apm: myCsrfHash },
beforeSend: function(){
$('#myLoader').show();
},
success: function(data){
$('#myLoader').hide();
document.getElementById("datainvoice_driver").innerHTML = '';
document.getElementById("datainvoice_driver").innerHTML = data;
}
});
}
function GetRestaurantInvoice(restaurant_id)
{
base_url='<?php echo base_url(); ?>';
url= base_url+'dashboard/GetRestaurantInvoice'
$.ajax({
method: "POST",
url: url,
data: { restaurant_id: restaurant_id, csrf_token_apm: myCsrfHash },
beforeSend: function(){
$('#myLoader').show();
},
success: function(data){
$('#myLoader').hide();
document.getElementById("datainvoice_restaurant").innerHTML = '';
document.getElementById("datainvoice_restaurant").innerHTML = data;
}
});
}
function do_pdf(orderid){
window.open('<?php echo base_url(); ?>applydriveronline/earning_details/'+orderid,'_blank');
}
function do_pdf_res(orderid){
window.open('<?php echo base_url(); ?>restaurantadmin/invoice_details/'+orderid,'_blank');
}
</script>