Viewing file: tr.php (7.89 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.app', ['title' => __('Add user')])
@section('content')
@include('users.partials.header', [
])
<style>
.js-example-placeholder-single{
height:32px;
}
.fil_select{
margin:3px;
width:19%;
}
</style>
<div class="container-fluid mt--7">
<div class="row">
<div class="col">
<div class="card shadow">
<div class="card-header border-0">
<div class="card-header border-0">
<div class="row align-items-left">
<div class="fil_select" style="margin-bottom:6px;">
<input type="text" class="form-control" placeholder="{{ __('Enter Vmsisdn') }}" style="height: 30px;">
<!-- <select class="js-example-placeholder-single js-states form-control" name="vmsisdn" id="vmsisdn" >
<option selected value="all">All (Vmsisdn)</option>
<option value="Level 3">Level 3</option>
<option value="Level 2">Level 2</option>
<option value="Level 1">Level 1</option>
</select> -->
</div>
<div class="fil_select" style="margin-bottom:6px;">
<select class="js-example-placeholder-single js-states form-control" name="hook" id="hook" >
<option selected value="all">All (Hook)</option>
<option value="yes">YES</option>
<option value="no">NO</option>
</select>
</div>
<div class="fil_select" style="margin-bottom:6px;">
<select class="js-example-placeholder-single js-states form-control" name="pid" id="pid" >
<option selected value="all">All (PID)</option>
<option value="Level 3">Level 3</option>
<option value="Level 2">Level 2</option>
<option value="Level 1">Level 1</option>
</select>
</div>
<div class="fil_select" style="margin-bottom:6px;">
<select class="js-example-placeholder-single js-states form-control" name="campaign_id" id="campaign_id" >
<option selected value="all" >All (Campaign) </option>
<option value="Level 3">Level 3</option>
<option value="Level 2">Level 2</option>
<option value="Level 1">Level 1</option>
</select>
</div>
<div class="fil_select" style="margin-bottom:6px;">
<select class="js-example-placeholder-single js-states form-control" name="zone_id" id="zone_id" >
<option selected value="all">All (Zone)</option>
<option value="Level 3">Level 3</option>
<option value="Level 2">Level 2</option>
<option value="Level 1">Level 1</option>
</select>
</div>
</div>
<div class="row align-items-left">
<div class="col-md-6" >
<div class="date" style="width:48%; display: inline-block;">
<label class="date_label" for="from_date" style="display: inline-block;">From:</label>
<input class="date_input" type="date" id="from_date" name="from_date" style="width:70%; display: inline-block; height: 40px;" >
</div>
<div class="date" style="width:48%; display: inline-block;">
<label class="date_label" for="to_date" style="display: inline-block;">To:</label>
<input class="date_input" type="date" id="to_date" name="to_date" style="width:70%; display: inline-block; height: 40px;">
</div>
<div class="col-12 text-right" style="margin-top:15px;">
<button class="btn btn-sm btn-primary" id="date_filter" onclick="searchByDate()" >Submit</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-12">
</div>
<div class="table-responsive">
<table class="table align-items-center table-flush">
<thead class="thead-light">
<tr>
<th scope="col">Time</th>
<th scope="col">Country</th>
<th scope="col">Region</th>
<th scope="col">Campaign</th>
<th scope="col">Zone</th>
<th scope="col">Carrier</th>
<th scope="col">Cost</th>
<th scope="col">Message</th>
<th scope="col">pid</th>
<th scope="col">Vmsisdn</th>
<th scope="col">Hooked</th>
</tr>
</thead>
<tbody id="tabledata">
@foreach($transaction as $value)
<tr>
<td>{{$value['time']}}</td>
<td>{{$value['country']}}</td>
<td>{{$value['region']}}</td>
<td>{{$value['campaignid']}}</td>
<td>{{$value['zoneid']}}</td>
<td>{{$value['carrier']}}</td>
<td>{{$value['cost']}}</td>
<td>{{$value['message']}}</td>
<td>{{$value['pid']}}</td>
<td>{{$value['vmsisdn']}}</td>
<td>{{$value['hooked']}}</td>
<!-- <td><button type="button" class="btn btn-info btn" data-toggle="modal" data-target="#payment-modal" id="btn_payment" onclick="payment_modal_open('{{$value[0]}}','{{$value[3]}}')" >Payment</button></td> -->
</tr>
@endforeach
</tbody>
</table>
</div>
<!-- {{--New coustomer modal end--}} -->
<div class="card-footer py-4">
<nav class="d-flex justify-content-end" aria-label="...">
</nav>
</div>
</div>
</div>
</div>
@include('layouts.footers.auth')
</div>
@endsection
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
$( document ).ready(function() {
$(".js-example-placeholder-single").select2({
placeholder: "Select a state",
// minimumResultsForSearch: 5
allowClear: false
});
});
</script>
|