courier, student details changes : kdk

This commit is contained in:
dineshkumarkannan 2018-08-01 17:00:46 +05:30
parent d7d26472c3
commit bd1e38a5e9
6 changed files with 108 additions and 37 deletions

View File

@ -27,8 +27,10 @@
<tr>
<th>Courier Name</th>
<th>Docket No.</th>
<th>Date</th>
<th>Type</th>
<th>Comments</th>
<th>Send To / Received From</th>
<th>Received By/ Dispatched By</th>
<th>Status</th>
<th>Action</th>
@ -38,8 +40,10 @@
<tr *ngFor="let cour of courier">
<td>{{cour.courierName}}</td>
<td>{{cour.docketNo}}</td>
<td>{{cour.date}}</td>
<td>{{cour.type}}</td>
<td>{{cour.comments}}</td>
<td>{{cour.sendTo}}</td>
<td>{{cour.receiveBy}}</td>
<td>{{cour.status}}</td>
<td>
@ -83,34 +87,57 @@
<label for="lname">Docket No. <span class="danger">*</span></label>
<input type="text" class="form-control" id="lname" placeholder="Enter Docket No">
</div>
<div class="form-group col-md-4">
<label for="motherName">Date<span class="danger">*</span></label>
<input type="date" class="form-control" id="motherName" placeholder="Enter Date">
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label for="pmobile">Type<span class="danger">*</span></label>
<input type="text" class="form-control" id="pmobile" placeholder="Enter Type">
<select id="disabledSelect" class="form-control">
<option value="0">Please Select Type</option>
<option value="1">Received</option>
<option value="2">Dispatched</option>
</select>
</div>
<div class="form-group col-md-4">
<label for="smobile">Status</label>
<input type="text" class="form-control" id="smobile" placeholder="Enter Status">
<label for="sendFor">Send To / Receive From <span class="danger"> *</span></label>
<div>
<label class="radio" for="gender">
<input type="radio" id="univ" name="inline-radios" value="univ"> University
</label>&nbsp;&nbsp;
<label class="radio" for="inline-radio2">
<input type="radio" id="sc" name="inline-radios" value="Sc"> Study Center
</label>
</div>
</div>
<div class="form-group col-md-4">
<label for="smobile">Comments</label>
<input type="text" class="form-control" id="smobile" placeholder="Enter Status">
<div class="form-group col-md-4">
<label for="sendFor">Select Study Center<span class="danger"> *</span></label>
<div class="input-prepend input-group">
<select id="disabledSelect" class="form-control">
<option value="0">Please Select SC</option>
<option value="1">SC 1</option>
<option value="2">SC 2</option>
<option value="3">SC 3</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="row">
<div class="form-group col-md-4">
<label for="smobile">Comments</label>
<textarea type="text" class="form-control" id="smobile" placeholder="Enter Comments"></textarea>
</div>
<div class="form-group col-md-4">
<label for="email">Qty <span class="danger">*</span></label>
<input type="text" class="form-control" id="email" placeholder="Enter Qty">
</div>
<div class="form-group col-md-4">
<label for="fatherName">Amount<span class="danger">*</span></label>
<label for="fatherName">Amount</label>
<input type="text" class="form-control" id="fatherName" placeholder="Enter Amount">
</div>
<div class="form-group col-md-4">
<label for="motherName">Date<span class="danger">*</span></label>
<input type="text" class="form-control" id="motherName" placeholder="Enter Date">
</div>
</div>
<div class="row">
<div class="form-group col-md-4">

View File

@ -20,6 +20,7 @@ export class CourierComponent implements OnInit {
type: 'Received',
comments: 'Documents Details',
receiveBy: 'sss',
sendTo: 'KR Univ',
status: 'sent',
date: '20/07/2018',
qt: 120,
@ -32,6 +33,7 @@ export class CourierComponent implements OnInit {
type: 'Dispatched',
comments: 'answer booklets details',
receiveBy: 'asd',
sendTo: 'SC 2',
status: 'received by SC',
date: '28/06/2018',
qt: 120,
@ -44,6 +46,7 @@ export class CourierComponent implements OnInit {
type: 'Dispatched',
comments: 'details',
receiveBy: 'abc',
sendTo: 'SC 1',
status: 'Sent by SC',
date: '12/06/2018',
qt: 120,

View File

@ -93,7 +93,7 @@
<th>Student Name</th>
<th>Father Name</th>
<th>Mobile</th>
<th>Course</th>
<th>Course/University</th>
<th>Sem/Year</th>
<th>Batch</th>
<th>Status</th>
@ -106,13 +106,13 @@
<td>{{app.studentName}}</td>
<td>{{app.fatherName}}</td>
<td>{{app.mobile}}</td>
<td>{{app.course}}</td>
<td>{{app.course}} / {{app.univ}}</td>
<td>{{app.sem}}</td>
<td>{{app.batch}}</td>
<td>
<span *ngIf="app.status == 1" class="badge badge-success">Active</span>
<span *ngIf="app.status == 0" class="badge badge-danger">In-Active</span>
</td>
</td>
<td>
<i class="fa fa-edit" tooltip="Edit" (click)="editDocuments()"></i>
<!--<i class="fa fa-eye" tooltip="View More" data-toggle="modal" (click)="myModal.show(); getModelWindowDetails(app)"></i>-->
@ -136,14 +136,14 @@
<tab>
<ng-template tabHeading>Add Student</ng-template>
<div align="right">
<button *ngIf="!oldReg" (click)="oldReg = !oldReg" type="button" class="btn btn-sm btn-primary">Re-registration</button>
<button *ngIf="oldReg" (click)="oldReg = !oldReg" type="button" class="btn btn-sm btn-primary">New Student</button>
<!--<button *ngIf="!oldReg" (click)="oldReg = !oldReg" type="button" class="btn btn-sm btn-primary">Re-registration</button>
<button *ngIf="oldReg" (click)="oldReg = !oldReg" type="button" class="btn btn-sm btn-primary">New Student</button>-->
</div>
<br>
<div *ngIf="!oldReg">
<div class="card">
<div class="card-header">
Add Student Personal Details
Personal Details
</div>
<div class="card-body">
<div class="container">
@ -156,6 +156,18 @@
<label for="lname">Last Name <span class="danger">*</span></label>
<input type="text" class="form-control" id="lname" placeholder="Enter Last name">
</div>
<div class="form-group col-md-4">
<label for="gender">Gender <span class="danger">*</span></label>
<!--<input type="text" class="form-control" id="gender" placeholder="Enter Gender">-->
<div>
<label class="radio" for="gender">
<input type="radio" id="gender-male" name="inline-radios" value="Male"> Male
</label>
<label class="radio" for="inline-radio2">
<input type="radio" id="gender-female" name="inline-radios" value="Female"> Female
</label>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
@ -186,16 +198,7 @@
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label for="gender">Gender <span class="danger">*</span></label>
<!--<input type="text" class="form-control" id="gender" placeholder="Enter Gender">-->
<label class="radio" for="gender">
<input type="radio" id="gender-male" name="inline-radios" value="Male"> Male
</label>
<label class="radio" for="inline-radio2">
<input type="radio" id="gender-female" name="inline-radios" value="Female"> Female
</label>
</div>
<div class="form-group col-md-4">
<label for="adhar">Aadhar Number <span class="danger">*</span></label>
<input type="text" class="form-control" id="adhar" placeholder="Enter Aadhar Number">
@ -208,12 +211,13 @@
<!--/.row-->
<div class="row">
<div class="form-group col-md-4">
<label for="premanentAddress">Premanent Address <span class="danger">*</span></label>
<label for="premanentAddress">Permanent Address <span class="danger">*</span></label>
<textarea class="form-control" id="premanentAddress" placeholder="Enter Permanent Address"></textarea>
</div>
<div class="form-group col-md-4">
<label for="currentAddress">Current Address <span class="danger">*</span></label>
<label for="currentAddress">Current Address<span class="danger">*</span> </label>
<textarea class="form-control" id="currentAddress" placeholder="Enter Current Address"></textarea>
Same as Permanent Address <span><input type="checkbox"></span>
</div>
</div>
</div>
@ -223,7 +227,7 @@
</div>
<div class="card">
<div class="card-header">
Add Course Details
Course Details
</div>
<div class="card-body">
<div class="container">
@ -287,7 +291,11 @@
</div>
</div>
</div>
<div *ngIf="oldReg">
</tab>
<tab>
<ng-template tabHeading>Re-registertion</ng-template>
<div>
<div class="card">
<div class="card-header">
Re-registration

View File

@ -21,6 +21,7 @@ export class StudentComponent implements OnInit {
fatherName: 'mmm mmm',
mobile: '+919876543210',
course: 'B.Sc',
univ: 'KR university',
sem: 2,
batch: 'Jan 2018',
status: '1'
@ -31,6 +32,7 @@ export class StudentComponent implements OnInit {
fatherName: 'sss sss',
mobile: '+919876511111',
course: 'B.Sc',
univ: 'KR university',
sem: 4,
batch: 'Jan 2018',
status: '1'
@ -41,6 +43,7 @@ export class StudentComponent implements OnInit {
fatherName: 'nnn nnn',
mobile: '+919876500000',
course: 'B.Sc',
univ: 'KR university',
sem: 8,
batch: 'Jan 2018',
status: '0'

View File

@ -23,6 +23,7 @@
<tr>
<th>From Name</th>
<th>From Type</th>
<th>Course / University</th>
<th>Description</th>
<th>Status</th>
<th>Action</th>
@ -32,6 +33,7 @@
<tr *ngFor="let form of formsList">
<td>{{form.formName}}</td>
<td>{{form.formType}}</td>
<td>{{form.course}} / {{form.univ}}</td>
<td>{{form.description}}</td>
<td>
<span *ngIf="form.status == 1" class="badge badge-success">Active</span>
@ -78,17 +80,39 @@
<option>Admission Form</option>
</select>
</div>
<div class="col-md-4">
<label for="formType">Select University<span class="danger">*</span></label>
<select id="disabledSelect" class="form-control">
<option value="0">Please Select University</option>
<option value="1">MMM univ</option>
<option value="2">PPP univ</option>
<option value="3">SSS univ</option>
</select>
</div>
</div>
<div class="row">
<div class="col-md-4">
<label for="formType">Select Course<span class="danger">*</span></label>
<select id="disabledSelect" class="form-control">
<option value="0">Please Select Course</option>
<option value="1">B.com</option>
<option value="2">MCA</option>
<option value="3">M.Sc</option>
</select>
</div>
<div class="form-group col-md-4">
<label for="formDescription">Description</label>
<textarea class="form-control" id="formDescription" placeholder="Enter Description"></textarea>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
Upload Form :
<input type="file" class="file-input">
</div>
<div class="form-group col-md-4">
</div>
<div class="row">
<div class="form-group col-md-4">
Active/De-Active : <label class="switch switch-default switch-pill switch-primary">
<input type="checkbox" class="switch-input" checked>
<span class="switch-label"></span>

View File

@ -17,19 +17,25 @@ export class FormListComponent implements OnInit {
formName: 'KR Univ Student Registration Form',
formType: 'Registration Form',
description: 'KR univ students registration form for upcomming batch',
univ: 'KR univ',
course: 'B.Sc',
status: '1'
},
{
formName: 'KR Univ Re-registration form',
formType: 'Registration Form',
description: 'KR univ re-registration form for arts students',
status: '1'
status: '1',
univ: 'KR univ',
course: 'MCA',
},
{
formName: 'PML Univ Re-registration form',
formType: 'Registration Form',
description: 'PML univ re-registration form for arts students',
status: '0'
status: '0',
univ: 'KR univ',
course: 'BCA',
}
]
}