This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import { ActivatedRoute, Router } from '@angular/router'; | |
import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth'; | |
@Component({ | |
selector: 'app-landing', | |
templateUrl: './landing.page.html', | |
styleUrls: ['./landing.page.scss'], | |
}) | |
export class LandingPage implements OnInit { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth'; | |
@Component({ | |
selector: 'app-home', | |
templateUrl: 'home.page.html', | |
styleUrls: ['home.page.scss'], | |
}) | |
export class HomePage { | |
constructor() { } | |
ionViewDidEnter() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
import { defineComponent } from 'vue'; | |
import { IonButton, IonPage , alertController} from '@ionic/vue'; | |
import { useRouter } from "vue-router"; | |
export default defineComponent({ | |
name: 'Page', | |
components: { | |
IonPage, | |
IonButton | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ion-page> | |
<ion-header :translucent="true"> | |
<ion-toolbar> | |
<ion-title>Home Page</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content :fullscreen="true"> | |
<ion-header collapse="condense"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { ToastController } from '@ionic/angular'; | |
import { SmsRetriever } from '@ionic-native/sms-retriever/ngx'; | |
import { Router } from '@angular/router'; | |
@Component({ | |
selector: 'app-login', | |
templateUrl: './login.page.html', | |
styleUrls: ['./login.page.scss'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit, Input } from '@angular/core'; | |
import { ModalController } from '@ionic/angular'; | |
import { PDFGenerator } from '@ionic-native/pdf-generator/ngx'; | |
@Component({ | |
selector: 'app-invoice', | |
templateUrl: './invoice.component.html', | |
styleUrls: ['./invoice.component.scss'], | |
}) | |
export class InvoiceComponent implements OnInit { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar color="danger"> | |
<ion-buttons (click)="closeModal()" slot="start"> | |
<ion-button slot="icon"> | |
<ion-icon class="icon" name="arrow-back-outline"></ion-icon> | |
</ion-button> | |
</ion-buttons> | |
<ion-title class="title-ios ion-text-capitalize">Order Invoice</ion-title> | |
</ion-toolbar> | |
</ion-header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { environment } from '../../environments/environment'; | |
import { InvoiceComponent } from '../components/invoice/invoice.component'; | |
import { ModalController } from '@ionic/angular'; | |
@Component({ | |
selector: 'app-home', | |
templateUrl: 'home.page.html', | |
styleUrls: ['home.page.scss'], | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar color="danger"> | |
<ion-buttons slot="start"> | |
<ion-button slot="icon"> | |
<ion-icon name="menu"></ion-icon> | |
</ion-button> | |
</ion-buttons> | |
<ion-title> | |
My Orders | |
</ion-title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const environment = { | |
production: false, | |
orderData: { | |
address: { | |
title: 'Home', | |
name: 'Maida', | |
flatNumber: 115, | |
street: 'Brighton Road', | |
locality: 'Brighton' | |
}, |