apollodec/Apollo/assets/views/data_correction.html
venbatechnologies@gmail.com cc726d115f data correction screen
2018-08-17 18:38:32 +05:30

172 lines
5.3 KiB
HTML

<style type="text/css">
.pad {
background-color: #eee;
padding: 4px;
}
.fif {
/* background-color: #ddd;*/
display: inline-block;
margin: 0 175px 0 0;
padding: 8px 8px;
text-align: left;
width: 200px;
}
.right {
/* background-color: #ddd;*/
display: inline-block;
/*margin: 0 25px 0 0;*/
padding: 1px 1px;
text-align: right;
}
.rightac {
/* background-color: #ddd;*/
display: inline-block;
margin: 0 175px 0 0;
padding: 8px 8px;
text-align: left;
width: 200px;
}
.a {
word-spacing: 9cm;
}
</style>
<section id="page-title">
<div class="row">
<div class="col-sm-8">
<h1 class="mainTitle">DATA CORRECTION</h1>
</div>
<!-- <div ncy-breadcrumb></div> -->
</div>
</section>
<style>
/* .sort-icon {
font-size: 9px;
margin-left: 5px;
}
th {
cursor: pointer;
} */
</style>
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
</script>
<div class="container-fluid container-fullw bg-white">
<div ng-controller="datacorrectionCtrl">
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
<div class="row">
<fieldset>
<legend>Search</legend>
<div class="row">
<div class="col-md-3 form-group" ng-class="{'has-error':Form.mobilenumber.$dirty && Form.mobilenumber.$invalid}">
<label>
Mobile Number
</label>
<input type="text" placeholder="Search Mobile Number" ladda="ldloading1.zoom_in" data-style="zoom-in"
autofocus tabindex="1" class="form-control" name="mobilenumber" id="mobilenumber" ng-minlength="10" ng-maxlength="12"
ng-model="myModel.mobileNumber" ng-pattern="/^[0-9]*$/"/>
<span class="error text-small block"
ng-if="Form.mobilenumber.$error.maxlength || Form.mobilenumber.$error.minlength || Form.mobilenumber.$error.pattern">Enter a valid mobile number</span>
</div>
<div class="col-md-3 form-group">
<label>
Student First Name
</label>
<input type="text" placeholder="Search Student Name"
tabindex="2" class="form-control" name="studentname"
ng-model="myModel.studentName" ng-pattern="/^[a-zA-Z.\s]*$/" />
<span class="error text-small block"
ng-if="Form.studentname.$dirty && Form.studentname.$error.pattern">Invalid student name </span>
</div>
<div class="col-md-3 form-group">
<label>
RECEIPT NUMBER
</label>
<input type="text" placeholder="Search Receipt Number"
tabindex="2" class="form-control" name="receipt"
ng-model="myModel.receipt" />
</div>
<div class="col-md-2" style="padding-top: 2.3%;">
<div class="pull-right">
<button type="submit" ng-click="getStudentDetails(Form,myModel);" class="btn btn-success btn-o" tabindex="8">
Submit
</button>
</div>
</div>
</div>
</fieldset>
</div>
<div ng-if="isLoaderShow">
<center> <h1>{{load}}</h1> </center>
</div>
<!-- {{studentInfo}} -->
<div class="col-md-12">
<div class="table-responsive">
<table id="datatable" class="table table-hover">
<thead>
<tr >
<th style="font-size: 12px;">Type</th>
<th style="font-size: 12px;">Receipt No</th>
<th style="font-size: 12px;">Paid To / Received From</th>
<th style="font-size: 12px">Date</th>
<th style="font-size: 12px;">Sem</th>
<th style="font-size: 12px;">Voucher Number / Bill Number</th>
<th style="font-size: 12px;">Amount</th>
<!-- <th style="font-size: 12px;">Status</th> -->
<th style="font-size: 12px;">Action</th>
</tr>
</thead>
<tbody dir-paginate="p in studentInfo|filter:search:strict|itemsPerPage:10">
<tr>
<td>{{p.ListName}}</td>
<td>{{p.ReceiptNo}}</td>
<td>{{p.PaidTo}}</td>
<td>{{p.Date}}</td>
<td>{{p.FeePaymentDetails}}</td>
<td>{{p.VoucherNumber}}</td>
<td>{{p.Amount}}</td>
<td><span><a class="text-azure" id="editRowBtn{{p.ID}}" ng-click="setEditId(p.ID);"><b class="glyphicon glyphicon-pencil" tooltip="Edit Details" aria-hidden="true"></b></a> </span></td>
<!-- <td></td> -->
</tr>
<tr ng-show="editId === p.ID" ng-if="editId === p.ID">
<td colspan="12" ng-include src="'assets/views/edit_daybookentries.html'"></td>
</tr>
</tbody>
</table>
</div>
</div>
</form>