-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
111 lines (106 loc) · 18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WeUBill</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="styla.css" />
<link rel="shortcut icon" href="logo.png">
<script src="/__/firebase/7.5.0/firebase-app.js"></script>
<script src="/__/firebase/7.5.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.3/firebase-database.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="jspdf.min.js"></script>
<script src="jspdf.plugin.autotable.js"></script>
<script>
function genPDF() {
var doc = new jsPDF();
var bno =document.getElementById("sno2").value.toString();
doc.text(35,85,"Bill No:");
doc.text(140,85,"Date:");
doc.text(60,85,bno);
doc.autoTable({ html: '#insttable' , margin: {top:95 ,left:35 , right:35} , styles:{ fontSize: number=16 , fontStyle: 'bold', halign: 'center' , valign: 'center', cellPadding: Padding=5 , theme: 'css' , fillColor: [255,255,255] , textColor:[0,0,0] } });
doc.autoTable({ html: '#table' , columnStyles: { 0: { fontStyle: 'bolditalic' }, 1:{ lineWidth: number=1 , lineColor:[0,0,0]}}, margin: {top:130 ,left:35 , right:35} , styles:{ fontSize: number=14 }});
doc.text(35,260,"Sign of Student");
doc.text(150,260,"Seal");
var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gJBcgoDGEkhq0CozQUHsXFIfQHH3wQf/nLX4wgWZ7iY6tAMRH6y8xnZ5LH0pd+7733zKxFcS3MNAJWOMJyPAenAfA4QhHSP6cwvaF90q9fP1Nh2ZrQEnMfj/P6HDxGXCHz+WzBeA5Wel47y3qf5c2/IawoNAbjxo0z2792dDBIsZ6wsORKeKMiV6xHRa5Yj4pcsR4VuWI9KnLFelTkivWoyBXrUZErlgP8P+wc/OsGVqFIAAAAAElFTkSuQmCC";
doc.addImage(imgdata,'JPEG', 80, 20, 50, 50);
var user = firebase.auth().currentUser;
var str = user.email;
var res = str.split("@");
var email = res[0].replace(/[^a-zA-Z0-9]/g, '');
a=[email,"-bill-",bno,".pdf"];
filename = a.join('');
doc.save(filename);
}
</script>
<!--script src="/__/firebase/init.js"></script-->
<script>var config = {
apiKey: "AIzaSyBClC6z6hWi-3ZBTYUlv1DRmHw_RIjGYeA",
authDomain: "webbill-58535.firebaseapp.com",
databaseURL: "https://webbill-58535.firebaseio.com",
storageBucket: "webbill-58535.appspot.com",
projectId: "webbill-58535",
storageBucket: "webbill-58535.appspot.com",
appId: "1:609982610196:web:7e8e8061c25e1716a0e001"
};
firebase.initializeApp(config);
</script>
</head>
<body>
<div id="wrap" class="wrapper" align="center">
<div id="img" class="img-disp"><img class="img-att" src="banner.png" alt="banner" align="center"></div>
<div id="login_div" class="main-div">
<h3>Create an account now!</h3>
<input type="email" placeholder="Email..." id="email_field" />
<input type="password" placeholder="Password..." id="password_field" />
<button onClick="signup()">New User Here? Sign Up!</button>
<button onClick="signin()">Existing User? Sign In.</button>
</div>
<div id="user_div" class="main-div">
<button color="black" onClick="instedit()">Add/Update School</button>
<button color="black" onClick="billedit()">Create/Update Bill</button>
<button color="black" onClick="billopen()">View Existing Bills</button>
<h5 id="user_para">.</h5>
</div>
<div id="bill-edit" class="main-div">
<h3>Enter the details below.</h3>
<input type="text" placeholder="Serial No." id="sno" />
<input type="text" placeholder="Register No." id="reg-no" />
<input type="text" placeholder="Class-Section" id="class" />
<input type="text" placeholder="Name (in caps)" id="name" />
<input type="text" placeholder="Hostel Fees" id="hostel" />
<button id="addBtn" onClick="billsubmit()">Store in Server</button>
<button onClick="back()">Back to Main Menu</button>
</div>
<div id="inst-edit" class="main-div">
<h3>Enter the details below.</h3>
<input type="text" placeholder="Institution name" id="inst-name" />
<input type="text" placeholder="Address" id="addr" />
<input type="text" placeholder="Ph-no." id="phno" />
<input type="text" placeholder="Website" id="web-link" />
<button id="instBtn" onclick="instsubmit()">Store in Server</button>
<button onClick="back()">Back to Main Menu</button>
</div>
<div id="bill-open" class="main-div">
<input type="text" placeholder="Serial No." id="sno2" />
<button id="viewBtn" onClick="billdisplay()">View</button>
<button onClick="back()">Back to Main Menu</button>
</div>
<div id="bill-display" class="main-div">
<table align="center" id="insttable" class="table2">
</table>
<table align="center" id="table">
</table>
</br>
<button onclick="genPDF()">Download PDF</button>
<button onClick="back()">Back to Main Menu</button>
</div>
<div id="back-log" class ="loggedin-div">
<button onClick="logout()">Sign Out</button>
</div>
</div>
<script src="indua.js"></script>
</body>
</html>