Spaces:
No application file
No application file
Commit
·
224cc42
1
Parent(s):
b85d571
Upload 150 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- Database/project2.sql +139 -0
- build.xml +73 -0
- build/classes/.netbeans_automatic_build +0 -0
- build/classes/.netbeans_update_resources +0 -0
- build/classes/ColumnGroup$1.class +0 -0
- build/classes/Electricity/About.class +0 -0
- build/classes/Electricity/BillDetails.class +0 -0
- build/classes/Electricity/CalculateBill$1.class +0 -0
- build/classes/Electricity/CalculateBill.class +0 -0
- build/classes/Electricity/CheckBill.class +0 -0
- build/classes/Electricity/ColumnGroup$1.class +0 -0
- build/classes/Electricity/Conn.class +0 -0
- build/classes/Electricity/CustomerDetails.class +0 -0
- build/classes/Electricity/DepositDetails.class +0 -0
- build/classes/Electricity/GenerateBill.class +0 -0
- build/classes/Electricity/LastBill.class +0 -0
- build/classes/Electricity/Login.class +0 -0
- build/classes/Electricity/MeterInfo.class +0 -0
- build/classes/Electricity/Meter_Info.class +0 -0
- build/classes/Electricity/NewCustomer.class +0 -0
- build/classes/Electricity/PayBill$1.class +0 -0
- build/classes/Electricity/PayBill.class +0 -0
- build/classes/Electricity/Paytm$1.class +0 -0
- build/classes/Electricity/Paytm.class +0 -0
- build/classes/Electricity/Practice$1.class +0 -0
- build/classes/Electricity/Practice.class +0 -0
- build/classes/Electricity/Project.class +0 -0
- build/classes/Electricity/Signup$1.class +0 -0
- build/classes/Electricity/Signup.class +0 -0
- build/classes/Electricity/Splash.class +0 -0
- build/classes/Electricity/Tarayici.class +0 -0
- build/classes/Electricity/UpdateInfo$1.class +0 -0
- build/classes/Electricity/UpdateInfo$2.class +0 -0
- build/classes/Electricity/UpdateInfo.class +0 -0
- build/classes/Electricity/UpdateInformation.class +0 -0
- build/classes/Electricity/ViewInfo.class +0 -0
- build/classes/Electricity/ViewInformation.class +0 -0
- build/classes/Electricity/fframe.class +0 -0
- build/classes/GroupableHeaderExample$1.class +0 -0
- build/classes/GroupableHeaderExample$2.class +0 -0
- build/classes/GroupableTableHeaderUI$1.class +0 -0
- build/classes/Practice$1.class +0 -0
- build/classes/PropPageTest$1.class +0 -0
- build/classes/PropPageTest$2.class +0 -0
- build/classes/icon/abc1.jpg +0 -0
- build/classes/icon/abc2.jpg +0 -0
- build/classes/icon/abc3.png +0 -0
- build/classes/icon/abc4.png +0 -0
- build/classes/icon/abc5.jpg +0 -0
- build/classes/icon/abc6.png +0 -0
Database/project2.sql
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
-- phpMyAdmin SQL Dump
|
2 |
+
-- version 5.1.1
|
3 |
+
-- https://www.phpmyadmin.net/
|
4 |
+
--
|
5 |
+
-- Host: 127.0.0.1
|
6 |
+
-- Generation Time: Dec 11, 2022 at 02:12 AM
|
7 |
+
-- Server version: 10.4.22-MariaDB
|
8 |
+
-- PHP Version: 8.1.1
|
9 |
+
|
10 |
+
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
11 |
+
START TRANSACTION;
|
12 |
+
SET time_zone = "+00:00";
|
13 |
+
|
14 |
+
|
15 |
+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
16 |
+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
17 |
+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
18 |
+
/*!40101 SET NAMES utf8mb4 */;
|
19 |
+
|
20 |
+
--
|
21 |
+
-- Database: `project2`
|
22 |
+
--
|
23 |
+
|
24 |
+
-- --------------------------------------------------------
|
25 |
+
|
26 |
+
--
|
27 |
+
-- Table structure for table `bill`
|
28 |
+
--
|
29 |
+
|
30 |
+
CREATE TABLE `bill` (
|
31 |
+
`meter` varchar(30) NOT NULL,
|
32 |
+
`month` varchar(30) NOT NULL,
|
33 |
+
`units` varchar(30) NOT NULL,
|
34 |
+
`total_bill` varchar(30) NOT NULL,
|
35 |
+
`status` varchar(30) NOT NULL
|
36 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
37 |
+
|
38 |
+
--
|
39 |
+
-- Dumping data for table `bill`
|
40 |
+
--
|
41 |
+
|
42 |
+
INSERT INTO `bill` (`meter`, `month`, `units`, `total_bill`, `status`) VALUES
|
43 |
+
('446227', 'January', '500', '4650', 'Not Paid');
|
44 |
+
|
45 |
+
-- --------------------------------------------------------
|
46 |
+
|
47 |
+
--
|
48 |
+
-- Table structure for table `customer`
|
49 |
+
--
|
50 |
+
|
51 |
+
CREATE TABLE `customer` (
|
52 |
+
`name` varchar(30) NOT NULL,
|
53 |
+
`meter` varchar(30) NOT NULL,
|
54 |
+
`address` text NOT NULL,
|
55 |
+
`state` varchar(30) NOT NULL,
|
56 |
+
`city` varchar(30) NOT NULL,
|
57 |
+
`email` varchar(30) NOT NULL,
|
58 |
+
`phone` varchar(30) NOT NULL
|
59 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
60 |
+
|
61 |
+
--
|
62 |
+
-- Dumping data for table `customer`
|
63 |
+
--
|
64 |
+
|
65 |
+
INSERT INTO `customer` (`name`, `meter`, `address`, `state`, `city`, `email`, `phone`) VALUES
|
66 |
+
('Angel Jude Suarez', '446227', 'Brgy. To-oy', 'Himamaylan City', 'Philippines', 'suarez081119@gmail.com', '+639272777334');
|
67 |
+
|
68 |
+
-- --------------------------------------------------------
|
69 |
+
|
70 |
+
--
|
71 |
+
-- Table structure for table `login`
|
72 |
+
--
|
73 |
+
|
74 |
+
CREATE TABLE `login` (
|
75 |
+
`meter_no` varchar(30) NOT NULL,
|
76 |
+
`name` varchar(30) NOT NULL,
|
77 |
+
`username` varchar(30) NOT NULL,
|
78 |
+
`password` varchar(30) NOT NULL,
|
79 |
+
`user` varchar(30) NOT NULL
|
80 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
81 |
+
|
82 |
+
--
|
83 |
+
-- Dumping data for table `login`
|
84 |
+
--
|
85 |
+
|
86 |
+
INSERT INTO `login` (`meter_no`, `name`, `username`, `password`, `user`) VALUES
|
87 |
+
('1', 'Angel Jude Suarez', 'admin', 'admin', 'Admin'),
|
88 |
+
('446227', '', '', '', ''),
|
89 |
+
('45555', '', '', '', '');
|
90 |
+
|
91 |
+
-- --------------------------------------------------------
|
92 |
+
|
93 |
+
--
|
94 |
+
-- Table structure for table `meter_info`
|
95 |
+
--
|
96 |
+
|
97 |
+
CREATE TABLE `meter_info` (
|
98 |
+
`meter_number` varchar(30) NOT NULL,
|
99 |
+
`meter_location` varchar(30) NOT NULL,
|
100 |
+
`meter_type` varchar(30) NOT NULL,
|
101 |
+
`phase_code` varchar(30) NOT NULL,
|
102 |
+
`bill_type` varchar(30) NOT NULL,
|
103 |
+
`days` varchar(30) NOT NULL
|
104 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
105 |
+
|
106 |
+
--
|
107 |
+
-- Dumping data for table `meter_info`
|
108 |
+
--
|
109 |
+
|
110 |
+
INSERT INTO `meter_info` (`meter_number`, `meter_location`, `meter_type`, `phase_code`, `bill_type`, `days`) VALUES
|
111 |
+
('446227', 'Outside', 'Electric Meter', '011', 'Normal', '30'),
|
112 |
+
('45555', 'Outside', 'Electric Meter', '011', 'Normal', '30');
|
113 |
+
|
114 |
+
-- --------------------------------------------------------
|
115 |
+
|
116 |
+
--
|
117 |
+
-- Table structure for table `tax`
|
118 |
+
--
|
119 |
+
|
120 |
+
CREATE TABLE `tax` (
|
121 |
+
`cost_per_unit` varchar(30) NOT NULL,
|
122 |
+
`meter_rent` varchar(30) NOT NULL,
|
123 |
+
`service_charge` varchar(30) NOT NULL,
|
124 |
+
`service_tax` varchar(30) NOT NULL,
|
125 |
+
`swacch_bharat_cess` varchar(30) NOT NULL,
|
126 |
+
`fixed_tax` varchar(30) NOT NULL
|
127 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
128 |
+
|
129 |
+
--
|
130 |
+
-- Dumping data for table `tax`
|
131 |
+
--
|
132 |
+
|
133 |
+
INSERT INTO `tax` (`cost_per_unit`, `meter_rent`, `service_charge`, `service_tax`, `swacch_bharat_cess`, `fixed_tax`) VALUES
|
134 |
+
('9', '47', '22', '57', '6', '18');
|
135 |
+
COMMIT;
|
136 |
+
|
137 |
+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
138 |
+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
139 |
+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
build.xml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!-- You may freely edit this file. See commented blocks below for -->
|
3 |
+
<!-- some examples of how to customize the build. -->
|
4 |
+
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
5 |
+
<!-- By default, only the Clean and Build commands use this build script. -->
|
6 |
+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
7 |
+
<!-- the Compile on Save feature is turned off for the project. -->
|
8 |
+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
9 |
+
<!-- in the project's Project Properties dialog box.-->
|
10 |
+
<project name="Electricity_Billing_System" default="default" basedir=".">
|
11 |
+
<description>Builds, tests, and runs the project Electricity Billing System.</description>
|
12 |
+
<import file="nbproject/build-impl.xml"/>
|
13 |
+
<!--
|
14 |
+
|
15 |
+
There exist several targets which are by default empty and which can be
|
16 |
+
used for execution of your tasks. These targets are usually executed
|
17 |
+
before and after some main targets. They are:
|
18 |
+
|
19 |
+
-pre-init: called before initialization of project properties
|
20 |
+
-post-init: called after initialization of project properties
|
21 |
+
-pre-compile: called before javac compilation
|
22 |
+
-post-compile: called after javac compilation
|
23 |
+
-pre-compile-single: called before javac compilation of single file
|
24 |
+
-post-compile-single: called after javac compilation of single file
|
25 |
+
-pre-compile-test: called before javac compilation of JUnit tests
|
26 |
+
-post-compile-test: called after javac compilation of JUnit tests
|
27 |
+
-pre-compile-test-single: called before javac compilation of single JUnit test
|
28 |
+
-post-compile-test-single: called after javac compilation of single JUunit test
|
29 |
+
-pre-jar: called before JAR building
|
30 |
+
-post-jar: called after JAR building
|
31 |
+
-post-clean: called after cleaning build products
|
32 |
+
|
33 |
+
(Targets beginning with '-' are not intended to be called on their own.)
|
34 |
+
|
35 |
+
Example of inserting an obfuscator after compilation could look like this:
|
36 |
+
|
37 |
+
<target name="-post-compile">
|
38 |
+
<obfuscate>
|
39 |
+
<fileset dir="${build.classes.dir}"/>
|
40 |
+
</obfuscate>
|
41 |
+
</target>
|
42 |
+
|
43 |
+
For list of available properties check the imported
|
44 |
+
nbproject/build-impl.xml file.
|
45 |
+
|
46 |
+
|
47 |
+
Another way to customize the build is by overriding existing main targets.
|
48 |
+
The targets of interest are:
|
49 |
+
|
50 |
+
-init-macrodef-javac: defines macro for javac compilation
|
51 |
+
-init-macrodef-junit: defines macro for junit execution
|
52 |
+
-init-macrodef-debug: defines macro for class debugging
|
53 |
+
-init-macrodef-java: defines macro for class execution
|
54 |
+
-do-jar: JAR building
|
55 |
+
run: execution of project
|
56 |
+
-javadoc-build: Javadoc generation
|
57 |
+
test-report: JUnit report generation
|
58 |
+
|
59 |
+
An example of overriding the target for project execution could look like this:
|
60 |
+
|
61 |
+
<target name="run" depends="Electricity_Billing_System-impl.jar">
|
62 |
+
<exec dir="bin" executable="launcher.exe">
|
63 |
+
<arg file="${dist.jar}"/>
|
64 |
+
</exec>
|
65 |
+
</target>
|
66 |
+
|
67 |
+
Notice that the overridden target depends on the jar target and not only on
|
68 |
+
the compile target as the regular run target does. Again, for a list of available
|
69 |
+
properties which you can use, check the target you are overriding in the
|
70 |
+
nbproject/build-impl.xml file.
|
71 |
+
|
72 |
+
-->
|
73 |
+
</project>
|
build/classes/.netbeans_automatic_build
ADDED
File without changes
|
build/classes/.netbeans_update_resources
ADDED
File without changes
|
build/classes/ColumnGroup$1.class
ADDED
Binary file (1.78 kB). View file
|
|
build/classes/Electricity/About.class
ADDED
Binary file (2.59 kB). View file
|
|
build/classes/Electricity/BillDetails.class
ADDED
Binary file (2.43 kB). View file
|
|
build/classes/Electricity/CalculateBill$1.class
ADDED
Binary file (1.76 kB). View file
|
|
build/classes/Electricity/CalculateBill.class
ADDED
Binary file (6.51 kB). View file
|
|
build/classes/Electricity/CheckBill.class
ADDED
Binary file (835 Bytes). View file
|
|
build/classes/Electricity/ColumnGroup$1.class
ADDED
Binary file (1.84 kB). View file
|
|
build/classes/Electricity/Conn.class
ADDED
Binary file (1.03 kB). View file
|
|
build/classes/Electricity/CustomerDetails.class
ADDED
Binary file (2.78 kB). View file
|
|
build/classes/Electricity/DepositDetails.class
ADDED
Binary file (4.32 kB). View file
|
|
build/classes/Electricity/GenerateBill.class
ADDED
Binary file (5.92 kB). View file
|
|
build/classes/Electricity/LastBill.class
ADDED
Binary file (3.87 kB). View file
|
|
build/classes/Electricity/Login.class
ADDED
Binary file (5.23 kB). View file
|
|
build/classes/Electricity/MeterInfo.class
ADDED
Binary file (5.59 kB). View file
|
|
build/classes/Electricity/Meter_Info.class
ADDED
Binary file (5.5 kB). View file
|
|
build/classes/Electricity/NewCustomer.class
ADDED
Binary file (5.55 kB). View file
|
|
build/classes/Electricity/PayBill$1.class
ADDED
Binary file (1.93 kB). View file
|
|
build/classes/Electricity/PayBill.class
ADDED
Binary file (5.46 kB). View file
|
|
build/classes/Electricity/Paytm$1.class
ADDED
Binary file (829 Bytes). View file
|
|
build/classes/Electricity/Paytm.class
ADDED
Binary file (2.27 kB). View file
|
|
build/classes/Electricity/Practice$1.class
ADDED
Binary file (827 Bytes). View file
|
|
build/classes/Electricity/Practice.class
ADDED
Binary file (8.36 kB). View file
|
|
build/classes/Electricity/Project.class
ADDED
Binary file (7.72 kB). View file
|
|
build/classes/Electricity/Signup$1.class
ADDED
Binary file (1.22 kB). View file
|
|
build/classes/Electricity/Signup.class
ADDED
Binary file (5.52 kB). View file
|
|
build/classes/Electricity/Splash.class
ADDED
Binary file (831 Bytes). View file
|
|
build/classes/Electricity/Tarayici.class
ADDED
Binary file (1.4 kB). View file
|
|
build/classes/Electricity/UpdateInfo$1.class
ADDED
Binary file (2.39 kB). View file
|
|
build/classes/Electricity/UpdateInfo$2.class
ADDED
Binary file (731 Bytes). View file
|
|
build/classes/Electricity/UpdateInfo.class
ADDED
Binary file (5.18 kB). View file
|
|
build/classes/Electricity/UpdateInformation.class
ADDED
Binary file (5.3 kB). View file
|
|
build/classes/Electricity/ViewInfo.class
ADDED
Binary file (4.37 kB). View file
|
|
build/classes/Electricity/ViewInformation.class
ADDED
Binary file (4.11 kB). View file
|
|
build/classes/Electricity/fframe.class
ADDED
Binary file (1.63 kB). View file
|
|
build/classes/GroupableHeaderExample$1.class
ADDED
Binary file (862 Bytes). View file
|
|
build/classes/GroupableHeaderExample$2.class
ADDED
Binary file (623 Bytes). View file
|
|
build/classes/GroupableTableHeaderUI$1.class
ADDED
Binary file (1.74 kB). View file
|
|
build/classes/Practice$1.class
ADDED
Binary file (792 Bytes). View file
|
|
build/classes/PropPageTest$1.class
ADDED
Binary file (1.17 kB). View file
|
|
build/classes/PropPageTest$2.class
ADDED
Binary file (593 Bytes). View file
|
|
build/classes/icon/abc1.jpg
ADDED
![]() |
build/classes/icon/abc2.jpg
ADDED
![]() |
build/classes/icon/abc3.png
ADDED
![]() |
build/classes/icon/abc4.png
ADDED
![]() |
build/classes/icon/abc5.jpg
ADDED
![]() |
build/classes/icon/abc6.png
ADDED
![]() |