169 lines
10 KiB
HTML
Executable File
169 lines
10 KiB
HTML
Executable File
<!-- start: PAGE TITLE -->
|
|
<section id="page-title">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h1 class="mainTitle" translate="sidebar.nav.sendSMSPage.MAIN">{{ mainTitle }}</h1>
|
|
</div>
|
|
<!-- <div ncy-breadcrumb></div>-->
|
|
</div>
|
|
</section>
|
|
<!-- end: PAGE TITLE -->
|
|
<!-- start: SEND SMS -->
|
|
<div class="container-fluid container-fullw bg-white">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<!-- /// controller: 'UserCtrl' - localtion: assets/js/controllers/sendSMSsuperadminCtrl.js /// -->
|
|
<div ng-controller="sendSMSDetailssuperadminCtrl" ng-init="init()">
|
|
<!--<h1>D</h1>-->
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<!--<pre>{{searchData.date}}</pre>-->
|
|
<div data-ng-controller="DatepickerDemoCtrl">
|
|
<label>
|
|
From Date
|
|
</label>
|
|
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="searchData.date"
|
|
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
|
placeholder="Select Date" close-text="Close" required="required" ng-change="changeDate()" show-button-bar="true" readonly
|
|
/>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<!--<pre>{{searchData.date}}</pre>-->
|
|
<div data-ng-controller="DatepickerDemoCtrl">
|
|
<label>
|
|
To Date
|
|
</label>
|
|
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="searchData.dateTo"
|
|
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
|
placeholder="Select Date" close-text="Close" required="required" ng-change="changeToDate()" show-button-bar="true" readonly
|
|
/>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<!--// student search result-->
|
|
<div ng-if="searchLoading === true">
|
|
<!--search loading start-->
|
|
<div style="padding: auto 0; color: #007AFF; font-weight: bold; text-align:center;
|
|
margin-top: 25px;">
|
|
<h4 style="color: inherit">loading...</h4>
|
|
</div>
|
|
<!--search loading end-->
|
|
</div>
|
|
|
|
<!--<pre>{{resData.length}}</pre>-->
|
|
<div ng-if="resData.length === 0">
|
|
<div class="center">
|
|
<p style="color: red;" align="center"><strong><h3 class="text-center">No
|
|
records found... </h3></strong></p>
|
|
</div>
|
|
</div>
|
|
<!--<pre>{{resData.length}}</pre>-->
|
|
<div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div ng-if="resData.length > 0">
|
|
<div class="table-responsive">
|
|
<style>
|
|
.containersPara {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 220px;
|
|
max-width: 360px;
|
|
overflow: auto;
|
|
white-space: pre;
|
|
}
|
|
</style>
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Message
|
|
</th>
|
|
<th>Message Count
|
|
</th>
|
|
<th>Sent On
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody dir-paginate="p in resData|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:3">
|
|
<tr>
|
|
<td><div class="containersPara">{{p.MsgBody}}
|
|
</div>
|
|
</td>
|
|
<td>{{p.MSG_SEND_CNT}}</td>
|
|
<td>{{p.CreatedOn}}</td>
|
|
<td class="center">
|
|
<span> <i tooltip="VIEW DETAILS" class="glyphicon glyphicon-list-alt" ng-click="setEditId(p.MsgId)"></i> </span>
|
|
</td>
|
|
</tr>
|
|
<tr ng-show="editId ===p.MsgId" ng-if="editId === p.MsgId">
|
|
<td colspan="4">
|
|
<!--<td colspan="4" ng-include src="'assets/views/sendSMS/listingViewOfSMSSendDetails.html'"></td>-->
|
|
|
|
<div class="container" style="background-color: rgb(248, 248, 248);
|
|
border-radius: 6px;padding: 22px;" ng-init="getPartMesgDetails(p)">
|
|
<div ng-if="getPartMesgDetailsLoading" class="text-center">
|
|
<h3>Fetching ...</h3>
|
|
</div>
|
|
<div ng-if="!getPartMesgDetailsLoading">
|
|
<div ng-if="resGroupSendData.length > 0">
|
|
<table class="table">
|
|
<thead style="background-color: cadetblue">
|
|
<th>Message Id</th>
|
|
<th>Mobile Number</th>
|
|
<th>Delivered Status</th>
|
|
<th>Delivered On</th>
|
|
</thead>
|
|
<tbody dir-paginate="s in resGroupSendData |orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:3" pagination-id="myInnerPage">
|
|
<th>{{s.MsgId}}</th>
|
|
<td>{{s.MobileNumber}}</td>
|
|
<td>{{s.DeliveredStatus}}</td>
|
|
<td>{{s.DeliveredOn}}</td>
|
|
</tbody>
|
|
</table>
|
|
<dir-pagination-controls max-size="3" direction-links="true" boundary-links="true" pagination-id="myInnerPage">
|
|
</dir-pagination-controls>
|
|
</div>
|
|
<div ng-if="resGroupSendData.length === 0">
|
|
<p style="color: red;" align="center"><strong><h4 class="text-center">No
|
|
Status Details Exist ... </h4></strong></p>
|
|
</div>
|
|
<div class="pull-right">
|
|
<button type="reset" class="btn btn-warning btn-sm" tabindex="20" ng-click="cancel()">
|
|
Cancel
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<dir-pagination-controls max-size="3" direction-links="true" boundary-links="true">
|
|
</dir-pagination-controls>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--studen search result end-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end: SEND SMS -->
|
|
<section id="page-title">
|
|
<div class="row">
|
|
<!--<div class="col-sm-8">
|
|
<h1 class="mainTitle" translate="sidebar.nav.profile.MAIN">{{ mainTitle }}</h1>
|
|
</div>
|
|
<div ncy-breadcrumb></div>-->
|
|
</div>
|
|
</section> |