Upload
dinhxuyen
View
213
Download
1
Embed Size (px)
Citation preview
DWW Group For Finance management System
An-Najah National UniversityInformation Technology Faculty
Computer Information System
“Finance Management System”
Prepared by:
Dunya Younis,Walaa Al-Bizreh,
&Wedad Yaees’h
Submitted to:Dr.Baker Abed-Alhaq
2010
2
TABLE OF CONTENTS:
1. Introduction
1.1. System proposal…………………………….………….……………… 5
1.2.System Description …………………………….………….…………… 6
1.2.1.Tools and programming language…………………………….…………… 6
1.2.2.Objectives …………………………….………….……………… 7
1.2.3. Dissemination…………………………….………….…………… 7
1.2.4. Conclusion …………………………….………….……………… 7 1.3 . System Feature…………………………….………….……………… 8
1.4 .Solved Problems we faced in the project …………….…………..…… 9
1.5. Business Requirement …………………………….………….………… 12
1.5.1. Business Actor list …………………………….………….……… 12
1.5.2. Business use case…………………………….………….………… 12
1.5.3. Business Use Case Activity Diagram…………………………….… 13
1.6. System Requirement…………………………….………….…………… 14
1.6.1.System Actor list…………………………….………….…………… 14
1.6.2. Admin System Use Case List…………………………….………… 14
1.6.3. Customer System Use Case List…………………………….……… 14
1.6.4. Admin System Use Case List Details…………………………….… 15
1.6.5. Customer System Use Case List Details…………………………… 19
1.6.6. Admin System Use Case Diagram…………………………….…… 21
1.6.7. Customer System Use Case Diagram…………………………….… 22
2.Analysis2.1. Static Analysis & class diagram …………………………...………….……… 23
2.2. Attribute……………………………………………………………………… 24
3
2.3. Dynamic Analysis ……………………………………………………….… 26
3.Realization ………………………………………………………. 27
4.Design 4.1.Tools and languages used ……………………….….…………..…….. 32
4.2..Database design ( schema ) ……………………………….….………… 34
4.3.Database Tables ……………………………….….…………….……. 36
5.Documentation1.5.1.Screens documentation ………………………….………….….…….. 46
6.Glossary ……………………………………………….…….. …. 51
7.References ………………………………………………….......... 52
4
1.1. System proposal
Date: 2 ,5, 2009To: Dr. Baker Abd AlhaqFrom:Dunya Younis, Wala’a Albzreh , Wedad YaeeshSubject: Graduation Project Proposal (Finance Management System)
There is no doubt that the collections resulting from the collection of property tax as a source of important and significant revenue and income municipalities in the West Bank, as the Directorates of the property tax of the Ministry of Finance, the Palestinian National Authority in the West Bank collects these collections each year, traditional holders of the citizens for real estate owned buildings and land, hence the importance of the tax for the citizens they bounce them in the form of municipal services provided to them directly.
Because of the difficulties and errors that we face a decline in the value of the collections in general as a result of difficult economic circumstances in which we live and which will prevent the majority of citizens to pay property taxes owed by them or obtained in a traditional manner of taxes and bills ignored by the people themselves or the absence of accurate collection. Our system aims to automate the process of collection of collections and facilitate the process of paying citizen have Tarifa auction and make it available through the Internet.
Our main objective is to facilitate the achievement of our clients, and to comfort them most of the border. Because the Internet provides exciting opportunities to facilitate the collection of collections and electronic payments from customers, so we need to work the system through the Internet. For example, a customer can access the system and the disclosure of property and the dues and payment of such taxes at any time from anywhere, instead of visiting the organization or make a phone call. And can charge to see their property taxes and through a geographical map show the features of its real estate and details of their dues.
The system can be used by taxpayers and staff, in both cases the process of collection will be faster and easier without the need for paper and pens. Linked to the system with the financial system and charge your credit card has its own for the repayment of dues.
After you use this regime, we expect estimates of the future that the number of holders who will use our system, whether the goal of access and follow-up tax bills and their lands and properties, or to pay any taxes will increase, and rise the value of accuracy, and perform the collection and the collection by the public official, and in turn reduced human error and the number of persons evaders pay their dues.
5
Introduction:-
This proposal describes the online Finance Management System (DWW) which will be developed to fit any finance operation regardless of the resource's type.(DWW) is available in many languages specified by the administrator.
(DWW) tends to supply organizations that want to provide it's customer with an online finance system for it's resources, and make them able to customize their system according to their needs.(DWW) will be used by the administrator (administrative account) ,and the organization's customers.
The administrator is the person who has an administrative account and he is responsible for customize the system according to his organization needs, by fill descriptive forms with the information ( we as the system developer specify it ) he can add, update, delete resources , and see list.The organization's customer: : is the customer that the organization use our product to make him able to make online finance and tax for it's resources.
1.2 System Description:
This section has a brief introduction about our project and the reasons why we choose it.
Dww group is a website that aims is to facilitate the achievement of our clients, and to comfort them most of the border. Because the Internet provides exciting opportunities to facilitate the collection of collections and electronic payments from customers, so we need to work the system through the Internet. For example, a customer can access the system and the disclosure of property and the dues and payment of such taxes at any time from anywhere, instead of visiting the organization or make a phone call. And can charge to see their property taxes and through a geographical map show the features of its real estate and details of their dues.
Before the start of work on the project team, they have to look and learn, and read many of the research to be able to complete the project on time, correctly, and the preservation of its main goals.
1.2.1 Tools and programming language: -
PHP, HTML, Flash,Java script,Ajax & Jquery: used in the interface MySQL Database: Use database project
6
1.2.2 Objectives
•Facilitate the Finance operation for the customer.•Control the Finance operation and the Tax payment easily.•Customize the system according to the organization needs.•Retrieve different information about the Tax and Payment easily By Maps.•Provide the system in many languages according to the customer choice.•Have enough statistics about the Tax and ownership.
1.2.3. Dissemination
This system will be widely spread over the world through the internet in many languages. So that any one can access the organization website and use the system.
1.2.4. Conclusion
DWW has many features , which make it worth to be used, it provide Finance managment operations, online Tax payment, and it is available in many languages. The ability to customize it according to the organization needs without needing a developer , reduce time and cost needed to make a computerized Tax and finance system for any organizations.
7
1.3. System Features:
1. High performance, due to the use of AJAX in the most of the website pages, a very little time is needed when doing any operation because no reload is needed , all the information and forms appear in a single div(part of the page) in the homepage page.
2. the system is available in many languages(Arabic & English), because the texts were inserted to the PHP data array, if we want to add any new language, we just need to enter texts in this language to the array and then the inserted language is available, the administrator can customize his system to be available for his customers in the language he want too.
3. The system now is available in two languages ( Arabic and English) but any new language is available any time, because the text is dynamic, it is changed according to the chosen language.
4. The system can be customized to fit many finance systems, the administrator can customize it according to the organization's needs and the tax type, the resource features, options,are specified by the admin.
5. some of the customer information is required in any Finance And guess operation,(name,mobile, credit card), and some are required in specific mode( address, passport number, age….) the administrator can add any new information to ask the customer about.
Each case can be in Yearly or in Monthly, according to the tax type
8
1.4 .Solved Problems we faced in the project
1. W decide to make our web page in both langueges (English,Arabic)we solve this problem by save Arabic characters in Arrays and retrieve the values from them:Ex: $a = array(); $a[0][en] = "ltr"; $a[1][en] = "User Id";$a[2][en] = "Password";
$a[0][ar] = "rtl"; $a[1][ar] = " المستخدم ;"رقم$a[2][ar] =" المرور ;"كلمة$a[3][ar] = " كمسؤول ;"الدخول
<?php echo $a[1][$lang] ?><?php echo $a[2][$lang] ?
2. At the beginning the Arabic characters were not supported through the php application, we solve it by writing this code after the php connection statement :
mysql_query('set names "utf8";');
3. .uniform the same features, options , categories in different languages problem: we start programming by giving different IDs for the same features, options, categories in different languages, but we can not uniform them so we give a Unique word that entered by the admin when he inserts them ,this word must be the same for each one in different language in order to deal with them as a single object.
4. Using the same language while moving through the different pages with out needing to choose the language in each page, we solve this problem by passing the selected language through our pages
Ex: function lang()if($lang=='en' ){header("location:record.php?lang=$lang");}else if($lang=='ar' )
9
{header("location:record.php?lang=$lang");}}
5. Dealing with the area piece numbers and electricity/water counters , we have aproblem while inserting data about specific area piece to choose appropriate electricity/water counters number , we solve this problem by using ajax function with our code that retrieve the appropriate electricity/water counters automatically according to the selected area piece numbers.
<script type="text/javascript">function countersFunction(){var xmlHttp;try { // Firefox, Opera 8.0+, Safari
var land=document.getElementById('land_id').value;//alert(land);//alert(land);xmlHttp=new XMLHttpRequest();
}catch (e) { // Internet Explorer try
{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e)
{
try {
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
} catch (e)
{
10
alert("Your browser does not support AJAX!"); return false; } } }
xmlHttp.onreadystatechange=function(){if(xmlHttp.readyState==4) {
var counters=xmlHttp.responseText; var counters_array=counters.split('/');
document.getElementById('wcn').value=counters_array[0]; document.getElementById('ecn').value=counters_array[1];
} } xmlHttp.open("GET","insert_building.php?x=1&land="+land,true); xmlHttp.send(null); }</script>
6. Separating between system users and owners in our data base by creating a separate table for each one, our system save data to all owners of all area piece numbers, but the processing data can just be shown to the system users only, and so there was a problem while inserting operation ;if the admin insert an owner ID which is not found in the data base in owners table,we alert him that this owner ID is not found and he must add this owner data before inserting the area piece number information.
7. In Flash there was a problem in dealing with the process data that will be shown on a flash map we need to convert our php code into an Xml code to be able to view our process results on the map.
11
1.5. Business Requirement:
1.5.1. Business Actor list:
-Director-General: The formation of committees to guess after coordination with the Minister of Finance for approval.
- Owner :The owner or a person acting as the king and will benefit from it directly benefited.
-Employee: Scans tax receivables or any other debts and bills on the taxpayer to be paid
-Accountant: a person who take money or enter valid credit card number for the customers.
-Corporate Banks: banks that some customers have credit in, and use their credit card to pay.
-GTFS" guessing and Tax file system": a preexisting system that used to handle customers and tax information.
1.5.2. Business Use Case List:
B1: Customer Check ownership tax in specific time and date
B2: Customer ask to know the ownership tax details.
B3: Customer ask to cancel the ownership of building and land.
B4: customer check the tax cost from the map details .
B5:accountant give the customer a confirmation paper for his tax.
B6:employee record the customer personal information and his tax information.
B7:The manager add, delete and update resources and get list of ownership and taxes.
12
(Tax manager)Choose operation
(Customer)Customer Check ownership tax if its available
(Customer)ask to know the ownership tax details cost
[available]
[Not available]
(Accountant)Ask for tax cost
(Employee)Record the tax payment information
1.5.3.Business Use Case Activity Diagram
13
1.6. System Requirement: 1.6.1.System Actor list:
-Online customer: a person who use the system to checka and payment tax online.
- Administrator: a person who has an administrative account and he log on to the system by enter username and password to add, delete and update resources to customize the system, control tax and ownership and create account.
1.6.2. Admin System Use Case List w ith relations :
U1: admin browse the index.( include u2)U2: admin log on to the system.(included by u1, extended by (u3,u10,u11,u16,u19), include u20 )U3: admin customize the system.(abstract, generalized by u4,u5, extend u2)U4: admin configure the system.(specializes u3)U5: admin configure the ownership and tax information. (specializes u3)U6: admin add building information.( include u7, included by u10,extended by u12)U7: admin add land information.( included by u6, extended by u13)U8: admin add water bill information.(included by u10)U9: admin add electricity bill information.(included by u10)U10: admin choose operation.(extend u2,include u6,u8,u9, extended by u14,u15)U11: admin create new owner accounts.(extend u2)U12: admin drop building information.(extend u6)U13:admin drop land information.(extend u7)U14: admin edit user account.(extend u10)U15: admin cancel user account. (extend u10)U16: admin specify customer information(extend u2).U17: admin Update building information.(extend u6).U18: admin Update land information.(extend u7).U19: admin fill about us page. (extend u2).U20: admin logoff. (included by u2)
1.6.3.Customer System Use Case List with relation:
U1:customer browse the index.( include u2, extended by u3,u9)U2: customer view the latest available ownership.( included by u1,extended by u6)U3:customer search for the Estate on the map (extend u1,include u4)U4: customer choose the desired description.(included by u3,include u5)U5: customer show his estate .(included by u4,extended by u6)U6: customer view the details of the specific Estate .(extend u5,u2,extended by u7)U7: customer check availability of payment.(extend u6,include u8)U8: customer fill his personal information.(included by u7)
14
1.6.4. Admin System Use Case List Details :
U1: browses the index(logon page):the admin browse the website (include u2)Precondition: none
1.the admin enter the system website address.2.include u2
Post conditions :none
U2:log on: the admin log on to the system.(included by u1, extended by (u3,u10,u11,u18,u19) , include u20)Precondition: access the log on page.
1.the admin enter his username. 2.the admin enter his password.3.the admin select log on button.
4.extend with u3,10,11,18,19.5. include u20
Post condition : the admin is logged on, and access the homepage.Abnormal path :
A1: if the admin username/password is incorrect, the system tell him invalid username or password.
U3: admin customize the system.(abstract, generalized by u4,u5, extend u2)Precondition: access the homepage and Choose the language he want.Post condition: the admin can customize the system or customize the tax information.
U4: admin configure the system.(specializes u3)Precondition: 'customize system' link is chosen.
1. fill the form.2. click Ok button
Post condition :the system information is saved.
U5: admin configure the tax and ownership information. (specializes u3)Precondition: 'customize system' link is chosen.
1 .fill the form.2 .click Ok button
Post condition :the tax information is saved.
U6: admin add building information.( include u7, included by u10,extended by u12)Precondition: customize the system.
1. choose the (Area piece ID ) you want to add the building in.
15
2. enter the value of the building attribute to be added.3. click confirm button.4. extend with u12.5. if the features are saved include u7
U7: admin add land information.( included by u6, extended by u13)Precondition: the feature that the land belongs to saved.
1. choose the (Area piece ID ) he want to add the land in.2. choose the feature you want to add to the land.3. click confirm button.4. extend with u13.
U8: admin add water bill information.(included by u10)Precondition: the system is customized.
1 .choose the (Area piece ID ) he want to add the water bill in.2 .enter the previous counter reading.
3 .enter the current counter reading.. Post condition: number of counter and the value reading are saved.
U9: admin add electricity bill information.(included by u10)Precondition: the system is customized.
1 .choose the (Area piece ID ) he want to add the water bill in.2 .enter the previous counter reading.
3 .enter the current counter reading.. Post condition: number of counter and the value reading are saved.
U10: admin choose operation.(extend u2,include u6,u8,u9, extended by u14,u15)Precondition: buildings, land, water-bill and electricity-bill information are saved.
1 .choose the language you want to add the operation in.2 .specify the resource's information for each land.
3 .specify the resource's information for each building. 4 .specify the resource’s information for each water bill. 5 .enter the resource’s information for each electricity bill.
6 .click confirm button.5. extend with u14,u15.6. include u6,u8,u9.
Post condition :resource’s information are saved.
16
U11: admin create new owner accounts.(extend u2)
Precondition: cusomer has an account. 1. fill the form.2. Determine account type by User number.3. click 'OK' button.
Post condition : an account according to the user number is created.
U12: admin drop building information.(extend u6)Precondition: the building information you want to drop was saved.
1. choose the building.2. click 'delete' link..
*supplementary requirement :s1.admin can drop another features by click 'drop another building information link Post condition : the selected feature is deleted.
U13:admin drop land information.(extend u7)Precondition: the building you want to drop land from were saved.
1. choose the feature you want to drop the land from.2. choose the land .3. click 'delete' link.
*supplementary requirement :s1.admin can drop another land by click 'drop another land link
Post condition : the selected land is deleted.
U14: admin edit user account.(extend u10)Precondition: user account are choosen.
1.select the desired options.2.select the user account.
3.click 'OK4. customer show the matched information.
5.click 'update' link.6.change the information in the form.
7.click 'send' button.Post condition : the changes are saved..
U15: admin cancel user account. (extend u10)Precondition: user account are chosen.
1.select the desired options.
17
2.select user account.4.click 'OK.'
5. customer show the matched resources.6.click 'delete' link.7.click 'send' button.
Post condition : the resource is deleted.
U16: admin specify customer information(extend u2).Precondition: the system was customize.
1. choose the language you want to add in.2. enter the number of the required information.3. click 'add' button.4. enter the required information and their identifiers.5. click 'confirm' button.
Post condition : additional customer information is saved.
U17: admin Update building information.(extend u6).Precondition: building information are chosen.
1.select the desired options.2.select the building.
3.click 'OK4. customer show the matched information.
5.click 'update' link.6.change the information in the form.
7.click 'send' button.Post condition : the changes are saved..
U18: admin Update land information.(extend u7).Precondition: land information are chosen.
1.select the desired options.2.select the land.
3.click 'OK4. customer show the matched information.
5.click 'update' link.6.change the information in the form.
7.click 'send' button.Post condition : the changes are saved..
U19: admin fill about us page. (extend u2).Precondition: homepage is accessed .
1.select the language you want to add the text in.2.click 'OK' button.
3.enter the text.4.click 'OK .'
18
Post condition : the about us page is ready.U20: admin logoff. (included by u2).Precondition: admin is logged on
1.click logoff button.2.click 'confirm' button.
Post condition : the admin exit from the system.
1.6.5. customer System Use Case List Details :
U1:customer browse the index.( include u2, extended by u3,u9)Precondition: none
1.enter the system website address.2.include u2
3.extend with u3,u9.Post conditions :none
U2: customer view the latest available ownership.(included by u1,extended by u6)Precondition: access the homepage.
1.navigate the homepage to see all estate.2.click to the desired estate.
3.view the estate details .4.extend with u6.
Post condition: none
U3:customer search for his estate and ownership (extend u1,include u4)Precondition: the map information is choosen.
1.include u4.post condition: selection form is appeared on the map
U4: customer choose the desired description.(included by u3, include u5)Precondition: none
1.select the desired options.2.select the building or land.
3.click 'OK.'5.include u5.
post condition : the matches information are listed
U5: customer show the available estate.(included by u4,extended by u6)Precondition: Estate is chosen
1.extend with u6.post condition: estate's details is appeared.
19
U6: customer view the details of the specific estatee .(extend u5,u2,extended by u7)Precondition: the resource's details is appeared
1.click”detail” link.2.extended with u7.
post condition: check availability form appears .
U7: customer check availability for payment.(extend u6,include u8)Precondition: payment link is clicked.
1. fill the form2. click 'send' button.3. include u8.
post condition: the availability is checked.
U8: customer show his personal information.(included by u7)Precondition:1.estate is available.
2.cutomer show his details estate information and choose payment link.1. fill the payment form2. click 'confirm' button.
post condition:. Payment operation is done.
20
1.6.6. Admin System Use Case Diagram
21
administrator
U1:browse the index
U2:log on
U6:log off
U3:add building Info
<extend><extend>
<include><include>
U4:edit building
U5:delete building
<extend>
DWW
Administrator Use Case
<extend>
U10:add electricity bill Info
U6:add land Info
U9:add water bill Info
<extend> <extend>
U8:edit landU7:edit land
<extend>
U11:user account
U13:delete account
U12:edit account<extend>
<extend>
<extend><extend>
1.6.7. Customer System Use Case Diagram
2.Analysis 22
customer
U1:browse the index
U6:view details of specific estate
U9:check previous reservation
<extend>
U2:View latest available ownership
<include>
U3:search for estate
U4:choose the desired description
U5:show his estate
U7:check availability of payment
U8:fill personal information
<include>
<extend>
<extend>
<include>
<include>
<extend>
DWWCustomer Use Case
2.2 Static analysis & class Diagram:
2.2Attributes
23
admin
tax type
Options
(description)
Operation
Resource
description
Category
Estate
If the system is predefin
ed
(log_in table)
account
admin
Customer
Credit card
Serial number
Customer details
Tax operation and payment
appointment
belong toha
s
choose
create
Clas
sifie
d in
to
has
has
Access by
has
If the system is customer defined
land
Building
Area-piece-
ID
has
24
Bank
Card_IDValueTax_ID
Bill
Bill_NOBill_ValueRelease_DatePayedRemainPaying_DateType
Building
building_id area_piece_id apartment_no floar room kitchen wc balcony living_room store shop garage description_of_use bshareno wcounter ecounter emp_id waste_id
Building_Record
Record_IDOfficeCountryRegionArea_Piece_IDShare_RateUser_IDEmployee_ID
Electricity_Bill
bill_num elec_couters_num
Employee
Employee_IDEmployee_namePassword
Land_Record
office country region area_piece_id user_id rate_share lrecordid emp_id
Land_Tax
Land_Tax_IDArea_Piece_IDYearGuess_valueFinal_guessTaxPrevious
Owner
First_NameSecond_NameLast_NameUser_IDAddressEmailTelephoneNote Tax_Type
Tax_IDTax_Name
Waste_tax
Waste_IDTypeValue
Water_Bill
bill_id water_counter_num wrelease_date wlast_date wprevious_reading wcurrent_reading wtotal_value wmaintainance area_piece_id previos_w
Building_Tax
Building_tax_IDArea_Piece_IDYearGuess_valueFinal_guessBuilding_taxPrvious_btM_taxPrevious_mtWaste_taxPrevious_wtWaste_ID
Land
Area_Piece_IDLand IdAreaPrice_permShare_NoEmployee_ID
Area-piecearea_piece_id
status
System-user-signupsys_user_id user_id password email
reigonreigon_id country_id region_name_en region_name_ar
countrycountry_id country_name_en country_name_ar
Water-counterwater_counter_num area_piece_id
2.3.Dynamic analysis:
25
Electricity-counter-number
elec_couters_num area_piece_id
1.1. Login 1.2. Check(account)
Communication Diagram for U2: admin login to the system.
admindice
account
-Operations :
3.Realization
Communication Diagrams
26
User interfaceOpen(web address: string)Show(estate: list)Select(estate: index)Search(estate: string )Check(account: structure)Select(:customer)Show(:customer details)Confirm(:id)Change(account: structure)Alert message(:string)Access(:tax detail)Show(tax details: string)Logoff(account: structure)Delete(account:string)Edit(account: string)Cancel( :customer,
:estate(Edit(:building details)Edit( :land details);
Guessing estateUpdate(:guessing)guess(:estate)Show(:building details)Edit(: building details)Change(:land details)Edit(:customer details)Change(:guessing details)Cancel(:estate)
Estate homeCreate( : customer,
:estate):guessing
Destroy(:guessing )
1. search(r)
customer
systemavailability
2. Check(r)
3. Retrieve (a)4. View (a)
a:available _re:estate
27
admin
DWW
f: feature
system
1.choose (f) 2.add(L)
3. create(L)4. View(L)
28
Communication Diagram for U7: admin add land information
29
Admin
System
1.add(building) 2.add(building)
admin
Dww
a: account
Administrator
1.1. LogOff(a)
Dww30
Communication Diagram for U6: admin add building information
Building
4.Design:4.1.Tools and languages used
We used in designing this system the following tools and languages:
MySQL:
It is a popular open source SQL (Structured Query Language) database implementation, available for many platforms, including Windows, Unix/Linux and Mac OS. it is commonly used with web pages. It can allow viewers to look up specific information from a large quantity of data stored in the database.
WAMP server:
WAMPs are packages of independently-created programs installed on computers that use a Microsoft Windows operating system. The interaction of these programs enables dynamic web pages to be served over a computer network, such as the internet or a private network.
.
31
PHP (Hypertext Preprocessor)
Hypertext Preprocessor is an open source software, it is a server-side scripting language, which is executed on the server, it supports many databases (MySQL, Informix, Oracle, Sybase, etc.)
PHP has many open-source libraries included with the core build, and many more are readily available, we used many of its libraries that help us in our project.
No doubt much of its popularity is due to its relative ease to learn, Arrays and variables in PHP are able to hold any type of object, variables need not be declared, and the syntax is remarkably simple. It also runs on different platforms (Windows, Linux, Unix, etc.), it is compatible with almost all servers used today (Apache, IIS, etc.) and it is easy to learn and runs efficiently on the server side, all of these reasons encourages us to use it in our project.
AJAX
Ajax (shorthand for asynchronous JavaScript and XML) is a group of interrelated web development techniques used on the client-side to create interactive web applications.
With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. The use of Ajax techniques has led to an increase in interactive or dynamic interfaces on web pages. Data is usually retrieved using the XMLHttpRequest object.
Flash:
Adobe Flash (formerly Macromedia Flash) is a multimedia platform that is popular for adding animation and interactivity to web pages. Originally acquired by Macromedia, Flash was introduced in 1996, and is currently developed and distributed by Adobe Systems.We used flash in order to create the map for tax guessing to help user friendly dealing with map color to define their lands and ownership.
JQuery:
jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML . It was released in January 2006 at BarCamp NYC by John Resig. jQuery is free, open source software Dual-licensed under the MIT License and the GNU General Public License.jQuery contains the following features:
DOM element selections using the cross-browser open source selector engine Sizzle, a spin-off out of the jQuery project
DOM traversal and modification (including support for CSS 1-3 and basic XPath) Events CSS manipulation Effects and animations
32
Ajax Extensibility Utilities - such as browser version and the each function
Javascript :
avaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>") can write a variable text into an HTML page
33
4.2..Database design ( schema ):
-Area-Piece (area_piece_id varchar(20) , status int(11)).
-Bank (card_id int(11) , value int(11) , tax_id int(11)).
-Bill (bill_no int(11) , bill_value float(10) , release_date date (10), payed float(10) remain float (10) , paying_date date (10), type int(11)).
-Building (building_id int(11), area_piece_id varchar(20) , apartment_no int(11), floar int(11) room int(11) , kitchen int(11), wc int(11) , balcony int(11) , living_room int(11) ,store int(11) ,shop int(11) , garage int(11) , description_of_use varchar(50) , bshareno float wcounter int(11) ecounter int(11) , emp_id int(11), waste_id int(11 )).
-Building_record (record_id int(11), office int(11), country int(11) ,region int(11) area_piece_id varchar(20) , share_rate float , user_id int(11), emp_id int(11) ).
-Building_Record(bulding_tax_id int(11), area_piece_id varchar(20) , year varchar(4) guess_value int(11),final_guess float ,bulding_tax float ,previous_bt float , m_tax float , previous_mt float , waste_tax float , pevious_wt float , waste_id int(11)).
-Country(country_id int(11) , country_name_en varchar(20) , country_name_ar varchar(20)).
-Electricity-Bill(bill_num int(11) , elec_couters_num int(11) , erelease_date date, elast_date date, eprevious_reding int(11) , ecurrent_reading int(11) , emaintainance float , etotal_value float , area-piece-id varchar(20)).
-Electricity –counter-number(elec_couters_num int(11) , area_piece_id varchar(20)).
-Employee(emp_id int(11), emp_name varchar(50) , password char(10)).
-Land(land_id int(11) ,area_piece_id varchar(20) , area float, price_perm float , guess_value float, emp_id int(11) , notes varchar(50) , wcounter int(11) , ecounter int(11)).
34
-Land-record(office int(11) ,country int(11) , region int(11) ,area_piece_id varchar(20) , user_id int(11), rate_share float , lrecordid int(11) ,emp_id int(11)).
-Land-Tax(land_tax_id int(11) ,area_piece_id varchar(20) , year varchar(4) ,guess_value float , final_guess float , tax float, previous float)).
-Owner(first_name varchar(50) ,second_name varchar(50), last_name varchar(50) , user_id int(11) ,address varchar(50) ,telephone int(11) ,note varchar(50)).
-Reigon(reigon_id int(11) ,country_id int(11), region_name_en varchar(20) , region_name_ar varchar(20)).
-System-User-signUp(sys_user_id int(11) , user_id int(11) , password varchar(20), email varchar(20) ).
-Tax-Type(tax_id int(11) , tax_name varchar(20) ).
-Waste-Tax(waste_id int(11), type varchar(50) ,value int(11)).
-Water-Bill(bill_id int(11) ,water_counter_num int(11) , wrelease_date date , wlast_date date ,wprevious_reading int(11) ,wcurrent_reading int(11) ,wtotal_value int(11) , wmaintainance float , area_piece_id varchar(20) , previos_w float)).
-Water-counters(water_counter_num int(11) ,area_piece_id varchar(20) ).
35
4.3.Database Tables:
Area_piece
Field Type Nullarea_piece_id varchar(20) No status int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 158 area_piece_id area_piece_id UNIQUE 158 area_piece_id
Building
Field Type Nullbuilding_id int(11) No area_piece_id varchar(20) No apartment_no int(11) No floar int(11) No room int(11) No kitchen int(11) No wc int(11) No balcony int(11) No living_room int(11) No store int(11) No shop int(11) No garage int(11) No description_of_use varchar(50) No bshareno float No wcounter int(11) No ecounter int(11) No emp_id int(11) No waste_id int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 2 building_id
36
wcounter UNIQUE 2 wcounter ecounter UNIQUE 2 ecounter
area_piece_id_2 INDEX 2 area_piece_id
Building_Record
Field Type Nullrecord_id int(11) No office int(11) No country int(11) No region int(11) No area_piece_id varchar(20) No share_rate float No user_id int(11) No emp_id int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 2 record_id area_piece_id INDEX 2 area_piece_id
user_id INDEX 2 user_id emp_id INDEX 2 emp_id
Bill
Field Type Nullbill_no int(11) No bill_value float No release_date date No payed float No remain float No paying_date date No type int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 0 bill_no
37
Bank
Field Type Nullcard_id int(11) No value int(11) No tax_id int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 0 card_id tax_id INDEX 0 tax_id
Building_Tax
Field Type Nullbulding_tax_id int(11) No area_piece_id varchar(20) No year varchar(4) No guess_value int(11) No final_guess float No bulding_tax float No previous_bt float No m_tax float No previous_mt float No waste_tax float No pevious_wt float No waste_id int(11) No
Indexes:
38
Keyname Type Cardinality FieldPRIMARY PRIMARY 0 bulding_tax_id
area_piece_id INDEX 0 area_piece_id waste_id INDEX 0 waste_id
CountryField Type Null
country_id int(11) No country_name_en varchar(20) No country_name_ar varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 4 country_id
Land_Tax
Field Type Nullland_tax_id int(11) No area_piece_id varchar(20) No year varchar(4) No guess_value float No final_guess float No tax float No previous float No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 0 land_tax_id area_piece_id INDEX 0 area_piece_id
Owner
Field Type Nullfirst_name varchar(50) No
39
Field Type Nullsecond_name varchar(50) No last_name varchar(50) No user_id int(11) No address varchar(50) No telephone int(11) No note varchar(50) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 50 user_id user_id UNIQUE 50 user_id
ReigonField Type Null
reigon_id int(11) No country_id int(11) No region_name_en varchar(20) No region_name_ar varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 2 reigon_id country_id INDEX 2 country_id
System-user-signupField Type Null
sys_user_id int(11) No user_id int(11) No password varchar(20) No email varchar(20) No
40
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 2 sys_user_id user_id_2 UNIQUE 2 user_id user_id INDEX 2 user_id
Employee
Field Type Nullemp_id int(11) No emp_name varchar(50) No password char(10) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 1 emp_id
Waste_taxField Type Null
waste_id int(11) No type varchar(50) No value int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 0 waste_id
Tax_TypeField Type Null
tax_id int(11) No tax_name varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 0 tax_id
41
Electricity_BillField Type Null
bill_num int(11) No elec_couters_num int(11) No erelease_date date No elast_date date No eprevious_reding int(11) No ecurrent_reading int(11) No emaintainance float No etotal_value float No area-piece-id varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 3 bill_num ecounter UNIQUE 3 elec_couters_num
area-piece-id INDEX 3 area-piece-id
Water_Bill
Field Type Nullbill_id int(11) No water_counter_num int(11) No wrelease_date date No wlast_date date No wprevious_reading int(11) No wcurrent_reading int(11) No wtotal_value int(11) No wmaintainance float No area_piece_id varchar(20) No previos_w float No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 9 bill_id wcounter UNIQUE 9 water_counter_num
42
area_piece_id INDEX 9 area_piece_id
Electricity counter number
Field Type Nullelec_couters_num int(11) No area_piece_id varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 155 elec_couters_num area_piece_id INDEX 155 area_piece_id
Land
Field Type Nullland_id int(11) No area_piece_id varchar(20) No area float No price_perm float No guess_value float No emp_id int(11) No notes varchar(50) No wcounter int(11) No ecounter int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 7 land_id area_piece_id_2 UNIQUE 7 area_piece_id
wcounter_2 INDEX 7 wcounter ecounter_2 INDEX 7 ecounter
43
Land record
Field Type Nulloffice int(11) No country int(11) No region int(11) No area_piece_id varchar(20) No user_id int(11) No rate_share float No lrecordid int(11) No emp_id int(11) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 5 lrecordid userid INDEX 5 user_id
area_piece_id INDEX 5 area_piece_id emp_id INDEX 2 emp_id
Water CounterField Type Null
water_counter_num int(11) No area_piece_id varchar(20) No
Indexes: Keyname Type Cardinality Field
PRIMARY PRIMARY 157 water_counter_num area_piece_id INDEX 157 area_piece_id
44
4.Documentation :
Interface Designs:
Sign in Forms
45
Admin Operations:
Operations on buildings:1. Insert
46
2. Update and delete
Operations on lands:
1. Insert
47
2. Update and delete
Water/Electricity Counters:
48
Operations on users Accounts
By user:
49
By addmin:
6.Glossary
DEFINITIONTERMS
Tax due on all the buildings and land located within the municipal boundaries of 1954, as amended.
Property tax (business object)
Image is for records guessing at the request of the owner to provide details of buildings and land of its own.
Certificate of the personal record)system class(
A person who collects the tax from taxpayers and property owners.
Accountant (business object)
A customer whose identity card number and credit card number is worthiness he can use the system online
Online customer(business object)
50
The owner or a person acting as the king and will benefit from it directly benefited
Owner(business object)
The inventory of land and buildings within the boundaries of municipalities and appreciation and be subject to tax.
Guessing(system class)
All land and buildings inside and outside the municipal limits depending on the map belonging to the municipality.
Property( business object)
Existing buildings on the land, whether inhabited or not used, everything else fixed it
Real Estate ( business object)
7. References
1. Finance Management Department .
2. Nablus Municipality.
(electricity and water management department)
3. Internet.
51