38
ONLINE TAX ABSTRACT The project “ONLINE TAX” is designed using PHP 5.0 as front end and MY SQL as back end. Local bodies like municipalities need collect different kind of taxes from the citizens. Every citizen need to pay tax bills to the particular authorities. Actually a citizen want to pay his municipal tax means he should go to municipal office and collect the necessary bill, water bill and electricity bills. This is not an easy job to get all these tax information in different authorities now days. For that purpose we are developing this application, which can collect the tax information from different authorities based on the house no’s and owner name by using Web Services and stores the data in our own database. For getting the information regarding taxes citizens need to register first. The bills are calculating on different modes like annual, half yearly, quarterly etc.

Online Tax

Embed Size (px)

DESCRIPTION

This Document fully tell about online tax Project in PHP

Citation preview

Page 1: Online Tax

ONLINE TAX

ABSTRACT

The project “ONLINE TAX” is designed using PHP 5.0 as front end and MY

SQL as back end.

Local bodies like municipalities need collect different kind of taxes from the

citizens. Every citizen need to pay tax bills to the particular authorities. Actually a

citizen want to pay his municipal tax means he should go to municipal office and collect

the necessary bill, water bill and electricity bills. This is not an easy job to get all these

tax information in different authorities now days.

For that purpose we are developing this application, which can collect the tax

information from different authorities based on the house no’s and owner name by using

Web Services and stores the data in our own database. For getting the information

regarding taxes citizens need to register first. The bills are calculating on different modes

like annual, half yearly, quarterly etc.

Page 2: Online Tax

SYSTEM SPECIFICATION

HARDWARE CONFIGURATION

This section gives the details and specification of the hardware on which the

system is expected to work.

Processor : Pentium IV 866 MHz

RAM : 256 MB SD RAM

Monitor : 17” Color

Hard disk : 80 GB

Keyboard : Standard102 keys

Mouse : LOGI TECH (3 Buttons)

SOFTWARE SPECIFICATION

This section gives the details of the software that are used for the development.

OPERATING SYSTEM : Windows 7 Professional

LANGUAGE : PHP 5.0

BACK END : MY SQL

Page 3: Online Tax

SYSTEM ANALYSIS

EXISTING SYSTEM

The existing system is a manual system. Here the employees needs to save the

information in the form of excel sheets or Disk Drives. There is no sharing is possible if

the data is in the form of paper or Disk drives. The manual system gives us very less

security for saving data; some data may be lost due to is management. It’s a limited

system and fewer users friendly. There is no interface to provide various bills in the

existing system. In the existing system citizen get the bills information manually, in

various authorities like water board, electricity department, property tax department etc.

DRAWBACK

Calculating different bills manually going to be as a process of mistake.

Citizen gets the bills information manually, in various authorities like water

board, electricity department, property tax department.

Gathering information of different sources is not an easy job, data will be

mismanaged.

Searching of particular information is very critical it takes lot of time.

Very less security for saving data.

PROPOSED SYSTEM

The development of this new system contains the following activities, which try to

automate the entire process keeping in the view of database integration approach. User

Friendliness is provided in the application with various controls provided by system Rich

User Interface.

This can give the good security for user information because data is not in client

machine. Authentication is provided for this application only registered Users can access.

The automated system will provide to the employees for reliable services. The proposed

system using web services, a web service can get the information from other sources also.

ADVANTAGES

Page 4: Online Tax

The system makes the overall project management much easier and flexible.

It can be accessed over the Intranet.

The employee information can be stored in centralized database which can be

maintained by the system.

There is no risk of data management at any level.

A web service can get the information from other sources also.

Page 5: Online Tax

MODULE DESCRIPTION

1 Administrator

In this module following sub module maintain the project, they are

New Registration

Assign Schedule Interview

Tax Calculation

2 Customer

In this module following sub module maintain the project, they are

View my profile

Upload Documents

Schedule Interview

Acknowledgement

Tax Payment Details

Tax Summary

Tax Return Details

Change Password

ADMINISTRATION

Administration is the main person of this system. He can have all the privileges to

do anything in this system. Admin can get the information regarding citizens and

municipal taxes from various sources. For that administrator need to send a request for

that particular authority throw web services.

CUSTOMER LOGIN

Customer is the main person of this system. He can have all the privileges to do

anything in this system. Customer login can get the information regarding view my

profile, document, schedule interview details, acknowledgement and municipal taxes

from various sources. For that customer login need to send a request for that particular

authority throw web services

Page 6: Online Tax

SYSTEM FLOW DIAGRAM

Online Tax

Administrator Login

Assign Schedule Interview

Tax Calculation

Logout

Customer Login

View my profile NewRegistration

Upload Documents

Schedule Interview

Acknowledgement

Tax Payment Details

Tax Summary

Change Password

Tax Return Details

Page 7: Online Tax

DATAFLOW DIAGRAM

Level 0: Main Process

Online Tax

Customer Registratio

n

Admin Process

Page 8: Online Tax

LEVEL 1: ADMIN PROCESS

Admin

Log Out

Tax Calculation

Assign Schedule

Information

New Registratio

n

Tax Calculation

Admin

Tax Registration

Schedule

Page 9: Online Tax

LEVEL 2: CUSTOMER REGISTRATION

Customer Login

Tax ReturnDetails

Upload Document and View

Schedule Interview Details

View My Profile

Document

interview

Tax Registration

Schedule

Tax payment

Log Out

Acknowledgement

Tax interviewDocument Payment

Page 10: Online Tax

DATABASE DESIGN

Table Name: Admin mailPurpose: To maintain Admin Mail Details

S.NO FIELD NAME DATA TYPE SIZE1 SER VARCHAR 50

2 RECEIVER VARCHAR 50

3 SUBJECT VARCHAR 50

4 ATTACHMENTS VARCHAR 200

5 BODY VARCHAR 200

6 SDATE DATETIME

Table Name: Bank Purpose: To maintain for customer Bank details

S.NO FIELD NAME DATA TYPE SIZE1 BNAME VARCHAR 20

2 ANUMBER VARCHAR 20

3 RNUMBER VARCHAR 20

4 ATYPE VARCHAR 20

5 TAXID VARCHAR 20

Table Name: DocumentPurpose: To maintain customer document details

S.NO FIELD NAME DATA TYPE SIZE1 TAXID VARCHAR 10

2 DTYPE VARCHAR 20

3 DFILE VARCHAR 20

4 STATUS VARCHAR 20

Table Name: InterviewPurpose: To maintain Interview DetailsS.NO FIELD NAME DATA TYPE SIZE

1 USERID VARCHAR 10

2 PWD VARCHAR 20

Page 11: Online Tax

Table Name: Tax RegistrationPurpose: To maintain tax registration Details

S.NO FIELD NAME DATA TYPE SIZE1 TAXID VARCHAR 50

2 FNAME VARCHAR 50

3 MNAME VARCHAR 50

4 LNAME VARCHAR 50

5 PHONE VARCHAR 50

6 USERID NUMBER 5

7 PWD VARCHAR 6

Table Name: Schedule Purpose: To maintain tax Schedule Details

S.NO FIELD NAME DATA TYPE SIZE1 TAXID VARCHAR 20

2 SDATE DATEIME 20

3 STATUS VARCHAR 20

4 CONFIMDATE DATAETIME 20

5 ASSIGN DATETIME 20

Page 12: Online Tax

CONCLUSION AND FUTURE ENHANCEMENT

CONCLUSION

Through taxing portal for generator set, the problem of tax management is

reduced. The time spent with clerical work is reduced much through the system. This

result in fast work and overall satisfaction is increased since the application is web

oriented.

The end users are required to key in raw information only. No manual calculation is

required at all. In addition, the application required less working experience in systems to

run the software since browsing knowledge is enough

FUTURE ENHANCEMENTS

The application become useful if the below enhancements are made in future.

1. Services made and payment received details can be mailed to customers

through coding.

2. PayPal Integration can be made to web site for amount receipt from

customers.

3. Service complaints can be posted by customers through web site itself.

The application is designed such that those enhancements can be integrated with

current modules easily with less integration work.

Page 13: Online Tax

SAMPLE FORM DESIGN

HOME PAGE

Page 14: Online Tax

ADMIN PAGE

Page 15: Online Tax

NEW CUSTOMER

Page 16: Online Tax

VIEW TAX DETAILS

Page 17: Online Tax

DOCUMENT DETAILS

Page 18: Online Tax

ASSIGN SCHEDULING INTERVIEW

Page 19: Online Tax

SCHEDULING DETAILS

Page 20: Online Tax

CUSTOMER HOME PAGE

Page 21: Online Tax

CUSTOMER REGISTRATION

Page 22: Online Tax

DOCUMENT UPDATE

Page 23: Online Tax

BANK DETAILS

Page 24: Online Tax

TAX SUMMARY

Page 25: Online Tax

TAX RETURN REVIEW

Page 26: Online Tax

Sample Coding

Login Form

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Login</title>

<link type="text/css" href="StyleSheet.css" rel="Stylesheet" />

</head>

<body bgcolor="silver">

<form id="form1" method="post" >

<div>

<table style="position:absolute;top:250px;left:500px; z-index: 103;">

<tr>

<td>

<Label ID="lbluserid" Text="UserId" Class="boxes2" >UserId</Label>

</td>

<td>

<input type="text" ID="txtuserid" name="txtuserid" Class="boxes" />

</td>

</tr>

<tr>

<td style="height: 26px">

<Label ID="lblpwd" Text="Password" Class="boxes2" >Password</Label>

</td>

<td style="height: 26px">

Page 27: Online Tax

<input type="Password" ID="txtpwd" name="txtpwd" Class="boxes" />

</td>

</tr>

</table>

<table style="position:absolute;top:300px;left:610px; z-index: 104;">

<tr>

<td>

<input type="submit" ID="btnlogin" name="btnlogin" Class="text"

value="Login" />

</td>

</tr>

</table>

<table style="position:absolute;top:330px;left:500px; z-index: 105;">

<tr>

<td style="height: 21px">

<?php

if(isset($_POST['btnlogin']))

{

session_start();

$User=$_POST["txtuserid"];

$Pass=$_POST["txtpwd"];

$con=mysql_connect("localhost","root","");

mysql_select_db("onlinetax",$con);

if (!$con)

{

die('Could not connect: ' . mysql_error());

}

if($User=="admin" && $Pass=="admin")

Page 28: Online Tax

{

header('location:admin/adminpage.php');

}

else

{

$sql="select taxid from taxregistration where userid='" . $User . "' and pwd='" .

$Pass . "'" ;

$tot=mysql_query($sql,$con);

$row = mysql_fetch_array($tot);

if( $row['taxid'])

{

$_SESSION["taxid"]=$row['taxid'];

header('location:welcome.php');

}

else

{

$sql2="select userid from interviewer where userid='" . $User . "' and

pwd='" . $Pass . "'" ;

$tot2=mysql_query($sql2,$con);

$row2 = mysql_fetch_array($tot2);

if( $row2['userid'])

{

$_SESSION["userid"]=$row2['userid'];

header('location:Interviewer/Interview.php');

}

else

Page 29: Online Tax

{

echo "Invalid UserID and Password.";

}

}

}

}

?>

</td>

</tr>

</table>

<?php include("loginheader.php"); ?>

</div>

</form>

</body>

</html>

Page 30: Online Tax

Upload Document Details

<?php

session_start();

$con=mysql_connect("localhost","root","");

mysql_select_db("onlinetax",$con);

?>

<html xmlns="http://www.w3.org/1999/xhtml" >

<head >

<title>My Profile</title>

<link type="text/css" href="StyleSheet.css" rel="Stylesheet" />

</head>

<body bgcolor="silver">

<form id="form1" method="post" enctype="multipart/form-data">

<div>

<table style="position:absolute;top:250px;left:380px; z-index: 103;">

<tr>

<td>

<Label ID="lbldocumenttype" Class="boxes2" Text="Document Type"

>Document Type</Label>

</td>

<td>

<select ID="dropdocumenttype" name="dropdocumenttype" Class="boxes"

>

<option>W-2</option>

<option>1099 MSC</option>

<option>Interest</option>

<option>Student fee Receipt</option>

<option>Stock Statement</option>

<option>Foreign Tax Certificate</option>

<option>Other</option>

</select>

Page 31: Online Tax

</td>

</tr>

<tr>

<td>

<Label ID="lbldocumentfile" CssClass="boxes2" Text="Document

File">Document File</Label>

</td>

<td>

<input type="file" ID="uploadfile" name="uploadfile" Class="boxes" />

</td>

</tr>

</table>

<table style="position:absolute;top:550px;left:430px; z-index: 121;">

<tr>

<td>

<input type="submit" ID="btnregister" name="btnregister" Class="text"

value="Submit" />

</td>

</tr>

</table>

<?php

if(isset($_POST['btnregister']))

{

$FilePath1=$_FILES["uploadfile"]["name"];

if ($_FILES["uploadfile"]["error"] > 0)

{

echo "Return Code: " . $_FILES["uploadfile"]["error"] . "<br />";

}

else

{

Page 32: Online Tax

if (file_exists("UpLoadDocuments/" . $_FILES["uploadfile"]["name"]))

{

echo $_FILES["uploadfile"]["name"] . " already exists. ";

return;

}

else

{

move_uploaded_file($_FILES["uploadfile"]["tmp_name"],

"UpLoadDocuments/" . $_FILES["uploadfile"]["name"]);

}

}

$sql="insert into documents values('".

$_SESSION["taxid"]."','$_POST[dropdocumenttype]','UpLoadDocuments/".

$FilePath1."','Documents not Verfied')";

mysql_query($sql);

mysql_close($con);

echo "your documents are uploaded successfully";

}?>

<?php include("homeheader.php");?>

</div>

Page 33: Online Tax

</form>

</body>

</html>