Merge branch 'master' of https://bitbucket.org/venbainformationtechnology/apollosc
This commit is contained in:
commit
ba468a83e8
@ -90,17 +90,17 @@ export class AppSidebar {
|
|||||||
name: 'Fees',
|
name: 'Fees',
|
||||||
url: '/masters/FeesMaster',
|
url: '/masters/FeesMaster',
|
||||||
icon: 'fa fa-money'
|
icon: 'fa fa-money'
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Document',
|
|
||||||
url: '/masters/DocumentMaster',
|
|
||||||
icon: 'fa fa-file'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Exam Timetable',
|
|
||||||
url: '/masters/ExamTimetable',
|
|
||||||
icon: 'fa fa-calendar-minus-o'
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// name: 'Document',
|
||||||
|
// url: '/masters/DocumentMaster',
|
||||||
|
// icon: 'fa fa-file'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// name: 'Exam Timetable',
|
||||||
|
// url: '/masters/ExamTimetable',
|
||||||
|
// icon: 'fa fa-calendar-minus-o'
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
},{
|
},{
|
||||||
name: 'Student Enrolment',
|
name: 'Student Enrolment',
|
||||||
|
|||||||
@ -111,43 +111,37 @@
|
|||||||
<i class="fa fa-align-justify"></i>Fees
|
<i class="fa fa-align-justify"></i>Fees
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form>
|
<form #signupForm="ngForm" (ngSubmit)="onSubmit()" #f="ngForm" novalidate>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
|
|
||||||
<div class=" col-md-4 ">
|
<div class=" col-md-4 ">
|
||||||
<label for="company">Fees Name<span class="required"> *</span></label>
|
<label for="company">Fees Name<span class="required"> *</span></label>
|
||||||
<input type="text" class="form-control" id="Fees" placeholder="Enter Fees Name">
|
<input type="text" class="form-control" name="feesName" id="feesName" [(ngModel)]="model.feesName" placeholder="Enter Fees Name">
|
||||||
</div>
|
</div>
|
||||||
<div class=" col-md-4 ">
|
<div class=" col-md-4 ">
|
||||||
<label for="company">Fees Description<span class="required"> *</span></label>
|
<label for="company">Fees Description<span class="required"> *</span></label>
|
||||||
<input type="text" class="form-control" id="Feesdes" placeholder="Fees description">
|
<input type="text" class="form-control" name="Feesdes" id="Feesdes" [(ngModel)]="model.Feesdes" placeholder="Fees description">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<label for="company">Active/De-Active<span class="required"> *</span></label>
|
<label for="company">Active/De-Active<span class="required"> *</span></label>
|
||||||
<br>
|
<br>
|
||||||
<label class="switch switch-3d switch-primary">
|
<label class="switch switch-3d switch-primary">
|
||||||
<input type="checkbox" class="switch-input" checked>
|
<input type="checkbox" name="active" id="active" [(ngModel)]="model.active" class="switch-input" checked>
|
||||||
<span class="switch-label"></span>
|
<span class="switch-label"></span>
|
||||||
<span class="switch-handle"></span>
|
<span class="switch-handle"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-group row">
|
|
||||||
<p>hai</p>
|
|
||||||
<p>{{msg}}</p>
|
|
||||||
<div class=" col-md-4 ">
|
|
||||||
<label for="company">Fees Name<span class="required"> *</span></label>
|
|
||||||
<input type="text" class="form-control" id="fees" placeholder="Enter Document Name">
|
|
||||||
</div>
|
|
||||||
</div>-->
|
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class=" col-md-12" align="right">
|
<div class=" col-md-12" align="right">
|
||||||
|
|
||||||
<button (click)="onSubmit()" style="margin-bottom: -14px" class="btn btn-sm btn-success" ><i class="fa fa-dot-circle-o" ></i> Submit</button>
|
<button style="margin-bottom: -14px" class="btn btn-sm btn-success" ><i class="fa fa-dot-circle-o" ></i> Submit</button>
|
||||||
|
|
||||||
<button type="reset" style="margin-bottom: -14px" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> Reset</button>
|
<button type="reset" style="margin-bottom: -14px" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> Reset</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,25 +1,61 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {FormsModule} from '@angular/forms';
|
import {FormsModule} from '@angular/forms';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-fees-master',
|
selector: 'app-fees-master',
|
||||||
templateUrl: './fees-master.component.html',
|
templateUrl: './fees-master.component.html',
|
||||||
styleUrls: ['./fees-master.component.scss']
|
styleUrls: ['./fees-master.component.scss']
|
||||||
})
|
})
|
||||||
export class FeesMasterComponent implements OnInit {
|
export class FeesMasterComponent implements OnInit {
|
||||||
|
model: any = {};
|
||||||
|
a;
|
||||||
msg = 'Hello world';
|
msg = 'Hello world';
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
}
|
}
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
|
|
||||||
console.log("Form Submitted!");
|
alert('SUCCESS!! :-)\n\n' + JSON.stringify(this.model))
|
||||||
|
// alert('SUCCESS!! :-)\n\n' + JSON.stringify(this.model.Feesdes))
|
||||||
}
|
// alert('SUCCESS!! :-)\n\n' + JSON.stringify(this.model.active))
|
||||||
valueChange(value)
|
|
||||||
{
|
var agesArr = [{a:1}, {a:2}, {a:3},
|
||||||
alert(value);
|
{a:4}];
|
||||||
}
|
|
||||||
|
var roots = agesArr.filter(function(ages){
|
||||||
|
return ages.a>2;
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
function root()
|
||||||
|
{
|
||||||
|
var agAr=[1,2,3,4];
|
||||||
|
var abc = agAr.map(Math.sqrt);
|
||||||
|
return abc;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var playersArr = [
|
||||||
|
{name: 'Jason', footedness: 'left', position: 'forward'},
|
||||||
|
{name: 'Blake', footedness: 'right', position: 'defense'},
|
||||||
|
{name: 'Philip', footedness: 'right', position: 'goalie'},
|
||||||
|
{name: 'Logan', footedness: 'left', position: 'defense'},
|
||||||
|
{name: 'Will', footedness: 'right', position: 'forward'}
|
||||||
|
];
|
||||||
|
var leftFootArr = playersArr.filter(function(player){
|
||||||
|
return player.footedness === 'right';
|
||||||
|
});
|
||||||
|
console.log(leftFootArr);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<div class="col-lg-12" *ngIf="!show">
|
<div class="col-lg-12" *ngIf="!show">
|
||||||
<tabset>
|
<tabset>
|
||||||
<tab>
|
<tab>
|
||||||
<ng-template tabHeading> From List</ng-template>
|
<ng-template tabHeading> Form List</ng-template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<i class="fa fa-align-justify"></i> Form List
|
<i class="fa fa-align-justify"></i> Form List
|
||||||
@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</tab>
|
</tab>
|
||||||
<tab>
|
<tab>
|
||||||
<ng-template tabHeading> Add From</ng-template>
|
<ng-template tabHeading> Add Form</ng-template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<i class="fa fa-align-justify"></i> Form Details
|
<i class="fa fa-align-justify"></i> Form Details
|
||||||
@ -78,6 +78,7 @@
|
|||||||
<select class="form-control" id="formType" placeholder="Select Form Type">
|
<select class="form-control" id="formType" placeholder="Select Form Type">
|
||||||
<option disabled>Select Form Type</option>
|
<option disabled>Select Form Type</option>
|
||||||
<option>Admission Form</option>
|
<option>Admission Form</option>
|
||||||
|
<option>Exam Timetable</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
|||||||
@ -197,7 +197,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<label for="company"><strong>Total StudyMaterials</strong></label>
|
<label for="company"><strong>Total StudyMaterials On Hand</strong></label>
|
||||||
<input type="text" class="form-control" id="company" placeholder="150">
|
<input type="text" class="form-control" id="company" placeholder="150">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<i class="fa fa-align-justify"></i>Received Study Materials
|
<i class="fa fa-align-justify"></i>Study Materials On Hand
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
@ -126,13 +126,30 @@
|
|||||||
<tab>
|
<tab>
|
||||||
<ng-template tabHeading>Received Study Materials</ng-template>
|
<ng-template tabHeading>Received Study Materials</ng-template>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<strong>Study Material</strong>
|
<strong>Study Material</strong>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
|
||||||
<form action="" method="post" class="form-horizontal">
|
<form action="" method="post" class="form-horizontal">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<div class="form-group row">
|
||||||
|
<label for="chkPassport" class="col-md-12 form-control-label"><strong>Received by</strong></label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
<label class="checkbox-inline" for="inline-checkbox1">
|
||||||
|
<input type="checkbox" id="chkPassport" name="vendor" [(ngModel)]="model.Feesdes" (click)="ShowHideDiv($event)"> Vendor
|
||||||
|
</label>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="dvPassport" style="display: none">
|
||||||
|
Vendor Details:
|
||||||
|
<input type="text" id="txtPassportNumber" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-md-4 ">
|
<div class="col-md-4 ">
|
||||||
<label class="col-md-6 form-control-label" for="select">Select University<span class="required">*</span></label>
|
<label class="col-md-6 form-control-label" for="select">Select University<span class="required">*</span></label>
|
||||||
|
|||||||
@ -6,10 +6,19 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
styleUrls: ['./receivedmaterial.component.scss']
|
styleUrls: ['./receivedmaterial.component.scss']
|
||||||
})
|
})
|
||||||
export class ReceivedmaterialComponent implements OnInit {
|
export class ReceivedmaterialComponent implements OnInit {
|
||||||
|
model: any = {};
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
}
|
}
|
||||||
|
save()
|
||||||
|
{
|
||||||
|
alert('testing');
|
||||||
|
}
|
||||||
|
ShowHideDiv(chkPassport) {
|
||||||
|
|
||||||
|
var dvPassport = document.getElementById("chkPassport");
|
||||||
|
dvPassport.style.display = chkPassport.isTrusted ? "block" : "none";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user