first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { ReceiptPage } from './receipt.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: ReceiptPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class ReceiptPageRoutingModule { }
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { ReceiptPageRoutingModule } from './receipt-routing.module';
|
||||
|
||||
import { ReceiptPage } from './receipt.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ReceiptPageRoutingModule
|
||||
],
|
||||
declarations: [ReceiptPage]
|
||||
})
|
||||
export class ReceiptPageModule { }
|
||||
@@ -0,0 +1,81 @@
|
||||
<!--
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
-->
|
||||
<ion-header mode="ios" class="ion-no-border">
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="start" (click)="onBack()">
|
||||
<ion-button>
|
||||
<ion-icon name="arrow-back-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
<ion-buttons slot="end">
|
||||
<ion-button>
|
||||
<ion-icon name="ellipsis-horizontal-circle-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
<ion-title>E-Receipt</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content class="ion-padding">
|
||||
<div class="bg_image back_image" [style.backgroundImage]="'url(assets/images/barcode.png)'"></div>
|
||||
|
||||
<div class="bg_white">
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Course</ion-label>
|
||||
<ion-label class="dark_text">Mastering Figma A-Z</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Category</ion-label>
|
||||
<ion-label class="dark_text">UI/UX Design</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg_white">
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Name</ion-label>
|
||||
<ion-label class="dark_text">Jaydeep Hirani</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Phone</ion-label>
|
||||
<ion-label class="dark_text">+91 9876543211</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Email</ion-label>
|
||||
<ion-label class="dark_text">jaydeep@initappz.com</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Country</ion-label>
|
||||
<ion-label class="dark_text">India</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg_white">
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Price</ion-label>
|
||||
<ion-label class="dark_text">Jaydeep Hirani</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Payment Method</ion-label>
|
||||
<ion-label class="dark_text">+91 9876543211</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Date</ion-label>
|
||||
<ion-label class="dark_text">jaydeep@initappz.com</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Transaction ID</ion-label>
|
||||
<ion-label class="dark_text">India</ion-label>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<ion-label class="grey_text">Status</ion-label>
|
||||
<ion-label class="dark_text">Paid</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
ion-header {
|
||||
ion-toolbar {
|
||||
--background: var(--ion-color-primary);
|
||||
|
||||
ion-icon {
|
||||
color: white;
|
||||
}
|
||||
|
||||
ion-title {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ion-content {
|
||||
.back_image {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.bg_white {
|
||||
margin-top: 20px;
|
||||
background-color: white;
|
||||
padding: 20px 15px 15px 15px;
|
||||
box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10px;
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.grey_text {
|
||||
color: grey;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.dark_text {
|
||||
font-family: 'semi-bold';
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { ReceiptPage } from './receipt.page';
|
||||
|
||||
describe('ReceiptPage', () => {
|
||||
let component: ReceiptPage;
|
||||
let fixture: ComponentFixture<ReceiptPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ReceiptPage],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ReceiptPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NavController } from '@ionic/angular';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-receipt',
|
||||
templateUrl: './receipt.page.html',
|
||||
styleUrls: ['./receipt.page.scss'],
|
||||
})
|
||||
export class ReceiptPage implements OnInit {
|
||||
|
||||
constructor(
|
||||
private navctr: NavController
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
onBack() {
|
||||
this.navctr.back();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user