mobile application code
@ -1,8 +1,8 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="io.ionic.starter" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="io.ionic.starter73982824" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<name>Apollo</name>
|
||||
<description>An awesome Ionic/Cordova app.</description>
|
||||
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
|
||||
<description>My awesome Ionic/Cordova app.</description>
|
||||
<author email="hi@ionicframework" href="http://ionicframework.com/">Venba Team</author>
|
||||
<content src="index.html" />
|
||||
<access origin="*" />
|
||||
<allow-intent href="http://*/*" />
|
||||
@ -81,8 +81,8 @@
|
||||
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
|
||||
<plugin name="cordova-plugin-ionic-webview" spec="^1.1.16" />
|
||||
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
|
||||
<plugin name="com.telerik.plugins.nativepagetransitions" spec="^0.6.5" />
|
||||
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
|
||||
<plugin name="com.telerik.plugins.nativepagetransitions" spec="~0.6.5" />
|
||||
<engine name="ios" spec="4.5.4" />
|
||||
<engine name="android" spec="7.0.0" />
|
||||
</widget>
|
||||
|
||||
BIN
mykey.keystore
Normal file
799
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "myApp",
|
||||
"version": "0.0.1",
|
||||
"name": "Apollo",
|
||||
"version": "1.0.0",
|
||||
"author": "Ionic Framework",
|
||||
"homepage": "http://ionicframework.com/",
|
||||
"private": true,
|
||||
@ -27,6 +27,7 @@
|
||||
"@ionic-native/status-bar": "4.4.0",
|
||||
"@ionic/pro": "1.0.20",
|
||||
"@ionic/storage": "2.1.3",
|
||||
"array-unique": "^0.3.2",
|
||||
"com.telerik.plugins.nativepagetransitions": "^0.6.5",
|
||||
"cordova-android": "7.0.0",
|
||||
"cordova-ios": "4.5.4",
|
||||
@ -40,6 +41,7 @@
|
||||
"ionic-angular": "^3.9.2",
|
||||
"ionic2-super-tabs": "^4.2.2",
|
||||
"ionicons": "3.0.0",
|
||||
"ngx-pipes": "^2.1.7",
|
||||
"rxjs": "5.5.2",
|
||||
"sw-toolbox": "3.6.0",
|
||||
"ts-md5": "^1.2.4",
|
||||
@ -47,7 +49,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ionic/app-scripts": "^3.1.8",
|
||||
"ionic": "3.20.0",
|
||||
"typescript": "2.4.2"
|
||||
},
|
||||
"description": "An Ionic project",
|
||||
|
||||
BIN
resources/android/splash.zip
Normal file
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 367 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 549 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 354 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 526 KiB |
BIN
resources/ios/splash.zip
Normal file
@ -5,6 +5,7 @@ import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
import {LoginPage} from '../pages/login/login';
|
||||
import { TabsPage } from '../pages/tabs/tabs';
|
||||
import { Loading } from 'ionic-angular/components/loading/loading';
|
||||
import { AuthServiceProvider } from '../providers/auth-service/auth-service';
|
||||
|
||||
@Component({
|
||||
templateUrl: 'app.html'
|
||||
@ -12,12 +13,17 @@ import { Loading } from 'ionic-angular/components/loading/loading';
|
||||
export class MyApp {
|
||||
rootPage:any = LoginPage;
|
||||
|
||||
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
|
||||
platform.ready().then(() => {
|
||||
// Okay, so the platform is ready and our plugins are available.
|
||||
// Here you can do any higher level native things you might need.
|
||||
statusBar.styleDefault();
|
||||
splashScreen.hide();
|
||||
});
|
||||
constructor(platform: Platform, private authservice: AuthServiceProvider,
|
||||
public statusBar: StatusBar,
|
||||
public splashScreen: SplashScreen) {
|
||||
if((window.localStorage.getItem('userMobile') === "undefined" || window.localStorage.getItem('userMobile') === null) &&
|
||||
(window.localStorage.getItem('password') === "undefined" || window.localStorage.getItem('password') === null)) {
|
||||
this.rootPage = LoginPage;
|
||||
//console.log("if app "+window.localStorage.getItem('userMobile'));
|
||||
} else {
|
||||
this.rootPage = TabsPage;
|
||||
//console.log("else app "+window.localStorage.getItem('userMobile'));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -17,6 +17,7 @@ import { paidDetails } from '../pages/paid-details/paidDetails';
|
||||
import { Network } from '@ionic-native/network';
|
||||
import { installmentDetails } from '../pages/installment-details/installmentDetails';
|
||||
import {ReactiveFormsModule,FormGroup,FormControl,Validators,FormsModule} from '@angular/forms';
|
||||
import {NgPipesModule} from 'ngx-pipes';
|
||||
@NgModule({
|
||||
declarations: [
|
||||
MyApp,
|
||||
@ -34,6 +35,7 @@ import {ReactiveFormsModule,FormGroup,FormControl,Validators,FormsModule} from '
|
||||
IonicModule.forRoot(MyApp),
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
NgPipesModule,
|
||||
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Ionic",
|
||||
"short_name": "Ionic",
|
||||
"name": "Apollo",
|
||||
"short_name": "Apollo",
|
||||
"start_url": "index.html",
|
||||
"display": "standalone",
|
||||
"icons": [{
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div [ngSwitch]="CourseDetails">
|
||||
<ion-list *ngSwitchCase="'Fees'">
|
||||
<ion-col><h3 text-center>Fees Details</h3></ion-col>
|
||||
<ion-item *ngFor="let feesDetails of Coursestatus.feesDetails">
|
||||
<ion-item *ngFor="let feesDetails of Coursestatus.feesDetails ">
|
||||
|
||||
<ion-row>
|
||||
<ion-col col-6 text-left>
|
||||
@ -42,10 +42,10 @@
|
||||
<span *ngIf="feesDetails.RollNo!=''"> {{feesDetails.RollNo}}</span> <span *ngIf="feesDetails.RollNo==''">--</span>
|
||||
</ion-col>
|
||||
<ion-col col-6 text-right>
|
||||
<span *ngIf="feesDetails.BalanceAmount!=''"(click)="paidselection(feesDetails.FeesID)" style="color:mediumblue;"><i class="fa fa-inr"></i><b >{{feesDetails.BalanceAmount}}</b></span>
|
||||
<span *ngIf="feesDetails.BalanceAmount==''"(click)="paidselection(feesDetails.FeesID)" style="color:mediumblue;"><i class="fa fa-inr"></i>0</span>
|
||||
<br/><span *ngIf="feesDetails.BalanceAmount!=''"><div style="font-size:12px;"><i class="fa fa-inr"></i>{{feesDetails.PayableAmount}}</div></span>
|
||||
<span *ngIf="feesDetails.BalanceAmount==''"><div style="font-size:12px;"><i class="fa fa-inr"></i>0</div></span>
|
||||
<span *ngIf="feesDetails.BalanceAmount!=''"(click)="paidselection(feesDetails.FeesID)" style="color:mediumblue;"><i class="fa fa-rupee"></i><b >{{feesDetails.BalanceAmount}}</b></span>
|
||||
<span *ngIf="feesDetails.BalanceAmount==''"(click)="paidselection(feesDetails.FeesID)" style="color:mediumblue;"><i class="fa fa-rupee"></i>0</span>
|
||||
<br/><span *ngIf="feesDetails.PayableAmount!=''"><div style="font-size:12px;"><i class="fa fa-rupee"></i>{{feesDetails.PayableAmount}}</div></span>
|
||||
<span *ngIf="feesDetails.PayableAmount==''"><div style="font-size:12px;"><i class="fa fa-rupee"></i>0</div></span>
|
||||
</ion-col>
|
||||
|
||||
</ion-row>
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
<ion-list *ngSwitchCase="'Document'">
|
||||
<ion-col><h3 text-center>Document Details</h3></ion-col>
|
||||
<ion-item *ngFor="let documentDetails of Coursestatus.applicationDetails">
|
||||
<ion-item *ngFor="let documentDetails of Coursestatus.applicationDetails | unique:'CourseID'">
|
||||
|
||||
<ion-row>
|
||||
<ion-col col-6 text-left>
|
||||
@ -76,10 +76,13 @@
|
||||
</ion-row>
|
||||
|
||||
</ion-item>
|
||||
<ion-list>
|
||||
|
||||
</ion-list>
|
||||
</ion-list>
|
||||
<ion-list *ngSwitchCase="'Mark'">
|
||||
<ion-col><h3 text-center>Marks List Details</h3></ion-col>
|
||||
<ion-item *ngFor="let marks of Coursestatus.markCardDetails">
|
||||
<ion-item *ngFor="let marks of Coursestatus.markCardDetails | unique:'CourseID'">
|
||||
|
||||
<ion-row>
|
||||
<ion-col col-6 text-left>
|
||||
@ -97,26 +100,33 @@
|
||||
</ion-row>
|
||||
|
||||
</ion-item>
|
||||
<ion-list>
|
||||
|
||||
</ion-list>
|
||||
</ion-list>
|
||||
<ion-list *ngSwitchCase="'Study'">
|
||||
<ion-col><h3 text-center>Study Material Details</h3></ion-col>
|
||||
<ion-item *ngFor="let study of Coursestatus.studyMaterialDetails">
|
||||
<ion-item *ngFor="let study of Coursestatus.studyMaterialDetails | unique:'CourseID'">
|
||||
|
||||
<ion-row>
|
||||
<ion-col col-6 text-left>
|
||||
<span *ngIf="study.Sem!=''">{{study.Sem}}</span><span *ngIf="study.Sem==''">--</span>
|
||||
<span *ngIf="study.Sem!=''">{{study.Sem}}</span>
|
||||
<span *ngIf="study.Sem==''">--</span>
|
||||
|
||||
<!-- <br/>
|
||||
<span *ngIf="study.Sem_Year!=''">{{study.Sem_Year}}</span><span *ngIf="study.Sem_Year==''">--</span>
|
||||
--> </ion-col >
|
||||
<br/>
|
||||
<span *ngIf="study.Sem_Year==''">--</span>
|
||||
</ion-col >
|
||||
<ion-col col-6 text-right>
|
||||
<span *ngIf="study.SDate!=''">{{study.SDate}}</span><span *ngIf="study.SDate==''">--</span><br/>
|
||||
<span *ngIf="study.ListName!=''">{{study.ListName}}</span><span *ngIf="study.ListName==''">--</span>
|
||||
<span *ngIf="study.ListName!=''">{{study.ListName}}</span><span *ngIf="study.ListName==''">--</span><br/>
|
||||
<span *ngIf="study.SDate!=''" style="font-size:14px;">{{study.SDate}}</span><span *ngIf="study.SDate==''">--</span>
|
||||
</ion-col>
|
||||
|
||||
</ion-row>
|
||||
|
||||
</ion-item>
|
||||
<ion-list>
|
||||
|
||||
</ion-list>
|
||||
</ion-list>
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component,Pipe, PipeTransform } from '@angular/core';
|
||||
import { NavController,MenuController,LoadingController,AlertController,App,ModalController } from 'ionic-angular';
|
||||
import { AuthServiceProvider } from '../../providers/auth-service/auth-service';
|
||||
import { LoginPage } from '../login/login';
|
||||
@ -8,6 +8,7 @@ import { paidDetails } from '../paid-details/paidDetails';
|
||||
selector: 'page-fees',
|
||||
templateUrl: 'feesDetails.html'
|
||||
})
|
||||
|
||||
export class feesDetails {
|
||||
CourseDetails : string = "Fees";
|
||||
company : any;
|
||||
@ -44,6 +45,7 @@ export class feesDetails {
|
||||
|
||||
//localStorage.setItem('StudentDetails', getStudent.courseStatus.);
|
||||
this.coursedetails = getStudent.courseDetails.courseStatus;
|
||||
//console.log(this.coursedetails);
|
||||
for (let course of this.coursedetails){
|
||||
if(this.CourseID == course.CourseID){
|
||||
this.Coursestatus = course;
|
||||
|
||||
@ -6,14 +6,14 @@ import 'rxjs/add/operator/map';
|
||||
import { HomePage } from '../../pages/home/home';
|
||||
import { LoginPage } from '../../pages/login/login';
|
||||
|
||||
let apiUrl = 'http://apollodec.com/SIT/api/';
|
||||
let apiUrl = 'http://www.apollodec.com/portal/api/';
|
||||
|
||||
@Injectable()
|
||||
export class AuthServiceProvider {
|
||||
public commonUrl : any;
|
||||
public studentStatus : any;
|
||||
constructor( public http: Http,private RequestOptions:RequestOptions) {
|
||||
this.commonUrl = 'http://apollodec.com/SIT/';
|
||||
this.commonUrl = 'http://www.apollodec.com/portal/';
|
||||
}
|
||||
|
||||
|
||||
|
||||