Professional Documents
Culture Documents
Fruit Store Management System For Jayani Fresh Fruits - RUP
Fruit Store Management System For Jayani Fresh Fruits - RUP
2014/2015
I certify that this dissertation does not incorporate, without acknowledgement, any
material previously submitted for a Degree or Diploma in any University and to the
best of my knowledge and belief, it does not contain any material previously published
or written by another person or myself except where due reference is made in the text.
I also hereby give consent for my dissertation, if accepted, to be made available for
photocopying and for interlibrary loans, and for the title and summary to be made
available to outside organizations.
Countersigned by:
(Name of Supervisor)
The proposed FSMS system consists of two main components. First is backend system
that employees use to do their day to day operations like selling, stock handling and
second one in static web page that customers can get information about the shop give a
feedback and so on.
FSMS can be used to store the details of Sales, Stock, and generate reports, keeping
information about debtors and creditors, keeping track of cash flow, Making employee
salaries as well. The most important task of the system is Managing Stock and Selling
goods.
The system coding was done using the PHP web programming language and MySQL
is used as the DBMS mainly. HTML, CSS, JavaScripts, Bootstrap Models, JQuery as
using technologies to the system. PhpStorm, MS Visio, MS Word, MySQL
Workbench, Photoshop CC, Google Chrome softwares that use for cording,
documentation, diagram drawing, image editing, database designing, and browsing
purposes.
There are number of persons who I want to thanks for helping and guiding me during
the period of the project and in the preparation of this dissertation, I hereby wish to
gratefully acknowledge their invaluable contribution. The compilation of this
dissertation could not have been possible without the help and support of them.
Finally but not least I offer my gratitude to all my friends who helped, my loving
mother and father and members of my family for their encouragement and assistance
given to me at all time.
DECLARATION..........................................................................................................II
ABSTRACT.................................................................................................................III
ACKNOWLEDGEMENT..........................................................................................IV
TABLE OF CONTENTS..............................................................................................V
LIST OF FIGURES.................................................................................................VIII
LIST OF TABLES.......................................................................................................IX
LIST OF ACRONYMS.................................................................................................X
CHAPTER 1: INTRODUCTION................................................................................1
1.1 JAYANI FRESH FRUITS.............................................................................................1
1.2 PROBLEM DOMAIN AND NEED OF THE PROJECT...................................................1
1.3 MOTIVATION FOR THE PROJECT............................................................................2
1.4 GENERAL OBJECTIVES OF THE PROJECT............................................................2
1.5 SPECIFIC OBJECTIVE..............................................................................................2
1.6 SCOPE....................................................................................................................... 3
1.7 STRUCTURE OF THE DISSERTATION.....................................................................3
CHAPTER 2: ANALYSIS.............................................................................................5
2.1 FACT GATHERING TECHNIQUES............................................................................5
2.2 ANALYZING THE CURRENT MANUAL SYSTEM......................................................6
2.2.1 USE CASE DIAGRAM OF CURRENT MANUAL SYSTEM...........................................7
2.3 EXISTING SIMILAR SYSTEMS..................................................................................8
2.4 FUNCTIONAL REQUIREMENTS...............................................................................9
2.4.1 STOCK MODULE.................................................................................................... 9
2.4.2 SALES MODULE.................................................................................................... 9
2.4.3 ORDERS MODULE............................................................................................... 10
2.4.4 EMPLOYEES MODULE........................................................................................ 10
2.4.5 REPORTS MODULE.............................................................................................. 11
2.4.6 TRANSACTIONS MODULE..................................................................................12
2.4.7 SUPPLIERS MUDULE........................................................................................... 13
2.4.8 USERS MODULE.................................................................................................. 13
2.4.9 MASTER FILES AND OPTIONS MODULES..........................................................13
2.5 NON-FUNCTIONAL REQUIREMENTS....................................................................14
2.6 METHODOLOGY FOR THE PROPOSED SYSTEM................................................15
GLOSSARY.................................................................................................................86
LIST OF ACRONYMS
HARDWARE RELATED
Jayani Fresh Fruits started in year 2000 and not take that much of time to become the
dominant fruit seller in Galle area. Mrs. Indrani Hewawasam the owner had that
abilities and ideas to get this shop this far and move forward in this competitive
market.
They have suppliers from island wide bring fruits to the JFF daily. Throughout past 15
years they build a strong customer base and earned their trust by providing fresh and
good quality fruits. Among those customers there are government suppliers, hotel
suppliers and small business owners in Galle district. The main store at Karapitiya is
open for 12 Hours and them planning on opening another 2 shops around Galle area.
Due to their defects in manual data entry system and increase in sales, purchases and
employee count during last decade make them feel the need of an automated system.
JFF is a crowed place during their working 12 hours. There are hundreds of
transactions been done in those hours. Among those transactions there are Invoices,
GRNs, PRNs, Cash in, Cash out, Customer Payments, Supplier Payments, Taking
Orders, Completing Orders, Pay daily and monthly basis employee salaries and so on.
Hench they not using any automated system they doing that all thing by manually. In
one hand they having problems with paper wastage, inefficiency and wasting of time
for that kind of works. And the other hand they having problems on miss leadings,
stock availability, collecting customer payments on time, banking cheques on time,
getting ledger, count sales, count expenses, employee salary calculations, getting list of
customer and supplier outstanding and many of sales, stock and employee managing
As a candidate to BIT Degree Program I have to submit a final year individual project
for successful completion. And I wanted to create an opportunity to develop my skills
and gain experience in the software development field.
As the whole working process at JFF is handled through manual data entry system they
have to face many problems in ledger maintenance, accounts handling and stock
management secessions.
The proposed computerized system will give solutions to the most of above problems
by handling sales, stock and accounts modules.
The main objective of this project is establish an efficient and reliable system that
handles stock with covering point of sales needs and manage employee salaries. Also
create reports that can easily read about sales, stock and outstanding details.
1.6 SCOPE
Dissertation chapters are focused on the work that carried out during the various
Stages of the project. Every chapter will consist of required details to understand the
project with the help of appropriate figures, graphs and reports.
Frist chapter (Introduction) is aiming to provide basic idea, the nature and the scope of
this project to the reader.
Third chapter (Design) will be based on the System Design. Then the techniques and
tools that are used for system design will be introduced. All significant design
decisions will be discussed. In last part of this chapter about User Interfaces. It will
provide main user interfaces with appropriate screen shots.
Next the forth chapter (Implementation) will cover all the issues in implementation.
Here some of the codes are listed and explained. Also implementation environment,
and other related issues are summarized.
Last two chapters (Evaluation & Conclusion) deal with evaluation and conclusion.
There it will be discussed and assessed all the results of the project. And will outline
failures and problems came across during the project and will give suggestions of
future work.
In addition,
CHAPTER 2: ANALYSIS
System analysis is one of the major phases in the software development life cycle.
System analysts will help to get an overall view of the system and will be able to
produce a high level description of the system through this phase. Main objectives of
Using relevant methods and techniques and giving a significant amount of time to
analyze manual system main segments, the functional and the non-functional
requirements of the system were discovered. Some of those are Authentication and
Authorization for the different user roles to the system, Employee Management, Stock
Management, Sales Management, Customer & Supplier Management and Generate
Reports.
After completing the initial stage, the requirements were validated, classified and
structured and listed in an order of priority.
The main requirements were gathered by an interview held with the owner and got an
excellent knowledge of the problem domain and the discussion was recorded. Open-
ended and close-ended interviews were used. Sampling documents, bills, invoices
were gathered in order to get to know about of the business domain and procedures are
being performed in the manual system. Every process was observed by visiting the
site. Observation provided such informations which plays a critical role in the system.
The captured facts were represented as scenarios and Use-Case diagrams to give a
clear picture on basic requirements and interaction sessions of the system, which can
be understood by both technical and non-technical personnel.
Likewise each and every employee has a unique process to be performed in the manual
system and these employees are demotivated by this manual system because it is an
inefficient time wasting thing.
Considering the available open source and proprietary software such as QuickBooks
[9], Insightly [10], Marg [11] (which is packed with unnecessary features and lacks
some that are critical to the client), is way beyond the amount client is willing to spend
on a system.
Since this System depends on products supplied from outside, there’s want to be a way
to Add products that supplied, Adjust product if wrong entry occurs and want to
Remove product if there are defects of damaged and quick look at current stock
balance.
After the products in the stock are managed there has to be a way to sale them. In the
sales module focus on covering that part.
After that main two functions client needs a formal way to handle orders that coming
from hotel suppliers, government suppliers and many more. From that client need to
add and remove orders, view dates that orders are placed.
Another major requirement of the client is that handle employee with keeping track of
employee details, Automate salary calculation process. In employee module we focus
on that requirement of the client.
Employee Details – In here an authorized one can add, edit, and delete details
about employees.
Employee Salaries – In here an authorized one can add basic salaries to
employees.
Manage Salaries – An authorized one can add leaves, half days, shot leaves,
bonuses, allowances, mark advances taken by employees in this page.
Salary Calculation - An authorized person can calculate final salaries to all
employees and it is one button click operation. It can be done once in a month.
Pay Sheet – This is where one can view pay sheets of employees.
Reports are vital to almost any system. In my opinion reports must be easily readable
and if one can use charts or pictorials to represent data it is an advantage. So covering
this two recommendations we created a Reports Module.
In this module,
Most of this kind of systems there are two features that must have and it is indeed a
client’s requirement. That is cash flow of in and out. JFSMS is have that two features
embedded in Transactions Module.
When I’m explaining invoice cancellation in discussing about the system with client
her ask me two questions,
What if a customer returned one item on an invoice that he/she bought lot other
items?
What if we want to return one product on a GRN that we bought from a
supplier have lot other items?
For the answer to that I introduced Purchase Return Notes (PRN). I included it in to
Transaction Module.
1. Supplier Payments
2. Supplier Details
In Supplier Payments tab we are showing an interface of payments that client needs to
pay for suppliers. An authorized person can settle payments from this tab.
In Supplier Details there is company or personal details about suppliers. That includes
Supplier Company or Persons Name, Address, Contact Number, Contact Person, and
Main Telephone Number.
On an every system authentication and authorization is vital. That two main things
handle by Users and User Roles. In JFSMS those things included in Users Module.
In Users Module,
Master Files
o Category
o Sub Category
o Product
o Suppliers
o Customers
Options
o Payment Methods
o Unit Types
Some functionalities in proposed system is require accurate data especially like Stock
Module. When maintaining current quantity of product, maintaining stock history with
each stock transaction accuracy in vital.
System should be only operated by authorized users and authorized modules. Any
change that made in the database must be able to track who made the change.
User friendliness
User interfaces should have consistent look and feel and should design the manner that
user can navigate the system easily. User can be able to change their passwords if they
wish and error massages provided by system should be understandable and meaningful
that user can know directly what did he/she done wrong.
Modifiability
For the above models Rational Unified Process (RUP) model were chosen. Where
elements of the process can be changed according to the user’s needs, called a
adaptable process framework. RUP is that kind of framework. Inception, Elaboration,
Construction and Transition are the main phases of RUP life cycle.
Inception phase is where the business case is defined that includes the
business context of the project. Lifecycle Objective Milestone is achieved in
this phase.
Transition phase is where the built system is transferred to the end users and
they are trained and beta testing and system validations are carried out. If all
the objectives are met, the Product release Milestone is met and the
development lifecycle ends [3]
The following Figure 3 illustrates the phases of the RUP life cycle,
Requirements gathered in analysis phase were used to create detailed specification and
data model for the system. UML 2.0 diagrams such as Use-case, Class and Sequence
diagrams were created during this phase.
And also user interfaces were designed and created it in such a way that the users will
get motivated to use the system. The environment that system actually running and the
mind-set of the system users were analysed before the design of user interfaces.
Client having idea of expanding their market shear by opening another 2 show rooms
in Galle area. If so it is a standalone system, developer must visit each 3 branches for
To design the static behaviour of the system class diagrams are used. Using identified
set of candidate classes, set of classes was filtered. After that attributes and the main
method was identified. To provide pictorial view of all classes in the system diagrams
were drawn.
Attributes and methods of the classes are not displayed in the class diagrams and all of
that are listed in the Design Documentation section (Appendix - B) of this dissertation.
Activity diagrams are used to show the workflow of the system and it also providing a
way to model the workflow of the system.
Diagram in Figure 4 depicts the overall high level Use-Case of Stock Module.
Post Condition
In stock those item quantities must be decreased.
Table 1 - Remove Wastages Use Case
The following Class diagrams in Figure 5 and Figure 6 depicts the overall classes of
the system. Please refer to Figure 6 for the methods and attributes of each class in
Figure 5.
Provides Access with the information it requires to join the information in the
tables together as needed.
Helps support and ensure the accuracy and integrity of your information.
The database design of the system is in the third normalization form (3NF)
Interface design goner make major impact on system success. Due to poor interface
designing, many user errors can be occurred. User expectations should be matched by
To make sure that system interfaces well throughout the system, some major facts are
considered. Those are as follows,
Consistent – Views and actions should be consistent each and every interface.
Provide Feedback – There should be meaningful error messages and
confirmation massages.
For easy understanding, more meaningful headings and buttons were used.
To make interfaces pleasant to view appropriate background and text colors,
well aligned fields and tables were used.
Users can navigate through pages easily.
Avoiding situations that wrong entries can happen by HTML 5 or JavaScripts
validation. Table 5 shows some example of this error messages.
According to different user privileges interfaces are rendered.
After every saving, updating or deleting a record, every form should show the
successful message. Figure 9 shows the example of that messages.
System goner provide meaningful error messages when fields are empty or a
user enter an invalid value. Table 6 shows some of them.
Before deleting a record, system should take permission from the user. Figure
10 show confirmation message that appear when deleting a record.
Situation Message
Situation Message
Following Figure 11 illustrate the login page that is initial interface of the system.
This is a common interface for all the users to login to the system. Only authorized
users can access to the system.
The Figure 12 illustrate the home page of the administrator. Due to privileges
defined to each user role, home page render the modules according to user role of the
logged in user. User can navigate easily through modules that he/her have privileged
and each module have reference to home page.
In this page a privileged user can add, edit or delete Categories, Sub Categories,
Products, Suppliers and Customers. Also user can search Categories, Sub Categories,
Products, Suppliers and Customers by its name. Figure 14 illustrates Master Files
interface.
This is the interface used to receive goods that supplier deliver. This interface is get
information about products like Cost Price, Received Quantity to the system. When
Save GRN button were pressed stock update by received quantity. Figure 15
illustrates GRN interface.
There are more than 15 reports generated in this system. Following two figures
illustrates some sales related reports that this system generating. Most of other reports
are shown in Appendix-D.
This report used to get ledger of sales done in current day and up to that particular
time.
This report is used to get sales report in item wise. Since this is an advance report user
can select date range that he/her want to see and possible to select sold item quantity
wise or sold amount wise two option as they desire. Figure 17 and Figure 18
shows date and options selecting view and the report respectively.
CHAPTER 4: IMPLEMENTATION
When finalizing the implementation environment, important aspects were taken into
consideration. To get copyrights for the system, it is wise to use free and open source
softwares when developing.
Hardware Software
i. Intel(R) i3 5th Generation i. Microsoft Windows 8.1
2.4 GHz ii. XAMPP 3.2.1
ii. 4 GB DDR III RAM o PHP 5.6.8
iii. 500 GB SATA HDD o Apache 2.4.12
o phpMyAdmin 4.3.11
o MySQL 5.6.24
iii. HTML 5 compatible web
browser
Table 7 - Implementation Environment
The JFSMS developed under MS Windows 8.1 OS. Since it is a web based system all
it need is HTML 5 compatible browser only.
TECHNOLOGIES USED,
Followings are open source and free modules that used in when developing the
JFSMS.
GOOGLE CHARTS
This is a free API developed by Google Corporation and it used to generate reports in
JFSMS with purpose of displaying reports as visually pleasing, interactive and easily
understandable reports.
There is lot of details to show in some pages of JFSMS. Sometimes it will slow the
system because of large amount of data to be load in those pages. By using bootstrap
pagination we managed that.
BOOTSTRAP TABS
In JFSMS bootstrap tabs are used to make the system more user friendly and
understandable. Because of using bootstrap tabs user can easily navigate pages inside
module at ease.
FACEBOX
Facebox is a JQuery-based, Facebook-style light box which can display images, divs,
or entire remote pages. The reason to use facebox is, it’s simple to use and easy on the
eyes. In JFSMS we used facebox in most of Adding, Editing and Options selecting
views.
4.3 SECURITY
Since this is a web base system, the database is available on a hosted environment,
security is a major feature that want to be considered. To be ensure that data is not
compromised or misused access methods and other security measures are
implemented.
USING SESSIONS
When a user been logged in system automatically render his/hers privilege level using
user role and automatically redirect to the home page with only authorized modules
enabled to that user. Also if a user try to access unauthorized pages by typing those
address in address bar or something else user will be automatically redirect to home
page with an error “YOU ARE NOT AUTHORIZED TO ACCESS THAT PAGE” by
help of sessions and RBAC.
When a user trying to do a critical calculation or a critical process in the system (e.g.:
Calculate Salaries or Assign Salary) even though he/her using the system as logged in
user he/her have to enter username and password again to confirm that he/her
authorized to do that process. We can prevent some issues like,
“If an authorized user forget to log out when he is leaving or something like that and
any other user can take advantage or misuse that account.”
USER VALIDATION
<?php
//Start a session
if (!isset($_SESSION)) {
session_start();
}
//To check the username and password in the table (sql query)
$sql = "SELECT * FROM user WHERE User_name='$username' &&
password='$password'";
if ($count != 0) {
$sqluser = "SELECT * FROM user u,employee e,
user_role ur WHERE u.User_name = '$username' AND u.password
= '$password' AND u.Employee_emp_id = e.emp_id AND
u.User_Role_User_Role_id = ur.User_Role_id";
$resultuser = mysqli_query($conn, $sqluser) or die("Query
having an error" . mysqli_error($conn));
} else {
//Invalid user name or password
$msg = base64_encode("INVALID USER NAME OR PASSWORD");
header("Location:index.php?msg=$msg");
}
?>
This code is in the validate.php file. When a user entered his/hers username and
password and submit, the form is pass that username and password to this page.
(validate.php) what this page doing is fist check whether is there a user in the database
having this username and password. Then if there is a user some of that user’s
<div class="data_operator_btns">
<a href="../modules/master_files/category_view.php"
id="remove_undln" >
<button name="Master_Files" class="hm_btn" type="button"
>
<div class="Master_Files_btn"></div>
<span class="home_btn_fonts">Master Files</span>
</button>
</a>
<a href="../modules/sales/check_in_view.php"
id="remove_undln" >
<button name="Sales" class="hm_btn " type="button" >
<div class="Sales_btn"></div>
<span class="home_btn_fonts">Sales</span>
</button>
</a>
<a href="../modules/options/payment_method_view.php"
id="remove_undln" >
<button name="Options" class="hm_btn" type="button" >
<div class="Options_btn"></div>
<span class="home_btn_fonts">Options</span>
</button>
</a>
</div>
<?php } ?>
Above code is a segment of userMenu.php file. As you can see this code segment is
shows what modules are enabled to the users of having user role id 4. In JFSMS there
are 5 user roles having 5 different working scopes. And for all of that user roles there
are code segments in userMenu.php like above with privileged modules enabled for
that specific user role.
USER LOGOUT
?>
Above code segment is in logout.php file. If a user clicked logout button from
anywhere in the system it will process to this page and free all session variables and
after closing all sessions logout.php file will redirect user to index.php file.
CHAPTER 5: TESTING
To evaluate the system or its components to see whether it satisfies the specific
requirements, the testing process were done. Also testing is take part of identifying any
errors or missing requirements, bugs or gaps in the system. [7]
One can say software testing is a verification and validation process and it should be
done during the development process.
As a guide for all testing processes and cover all types and phases, the test plan were
used. The test plan were designed before implementation phase.
Once the test plan was design test cases were created. Test cases include,
Data
Procedure
Expected Result
Following Table 8 and Table 9 shows two of test cases used to testing with test
result. To reduce complexity test cases was designed separately module by module.
Note that same testing procedure like Goods Received Note was applied for Wastage
Notes, and Add Order functions because interfaces are above mention are relatively
same as those.
CHAPTER 6: EVALUATION
To manage Stock and Sales is the main functionality required from the system. To
provide better working hand environment, it was decided to get helping hand from the
Information Technology. The objectives of the system were achieved as we decided
and proposed.
Feedbacks from the client, end users and other related persons was positive and
encouraging. Although JFSMS satisfy the client’s requirements, to consider the
project’s success it should be accepted by end users. For that a questionnaire were
created to capture end users feedback clearly. Table 10 shows a sample result of a
questionnaire.
No Questions A B C D
1 Ease of understanding. X
2 Look and feel of interfaces. X
3 Completeness of required functionalities. X
4 Consistency of navigation menus and command buttons X
5 Ability to find a way to perform transactions rollback X
any action (cancellation)
6 Speed of transactions per minute. X
CHAPTER 7: CONCLUSION
This project covers stock handling section, point of sale section, employee details and
salary management and also orders management. System also provide interactive
reports to accountant or privileged uses. Users can easily view stock details, sales
details and other related information using this system while increasing efficiency of
the whole system.
Before the implementation of this system they not have a formal method to keeping
track of sales and stock in hand. Therefore they faced some issues. After the system
were implemented it was a huge impact in their day to day transactions. Users got
ability to see how much exact quantity they have in hand in specific product, easy view
of payables and collectables, view sales ledger at ease.
7.1 ACHIEVEMENTS
I earned huge knowledge and experience during this project process. I gained better
ideas about how to apply theories and techniques to practical scenarios. Also project
management and software engineering skills were polished vastly. The most important
achievement is experience that taken from information gathering, requirement
analysing activities and skills like communication, planning and scheduling the tasks.
Also huge level of technical knowledge were improved during this process of the
project. In areas such as
PHP
MySQL
CSS
JavaScripts, etc.
And thanks to this dissertation report writing skills were also vastly improved. As a
summary not only my knowledge also my other skills are improved equally.
However we can improve some of critical functionalities and add some new
functionalities to JFSMS. Some of those are listed below.
For that kind of purposes we need to obtain a SSL certificate for all transactions
through a secure channel with HTTPS. And when comes to payments we need to
obtain secure channel for the payment gateway such as pay pal. It is a reliable way to
deal with currency.
After implementation user asked for change a function that print every invoice
with use of a POS printer. Since that’s not client ask before and time
manageable issues I’m goner do that change in upcoming months after this
exams.
When I starting the project I have no good experience or skills to develop such a
project. I have to go through tutorials, internet and that sort of things to update my
developing knowledge and skills.
Although this project helped me to applying theories and methods it also improved my
developing knowledge with new technologies like AJAX, JQuery, PHP, and MySQL.
REFERENCES
WORLD WIDE WEB
[5] AJAX
http://www.w3schools.com/ajax/
[10] Insightly
https://www.insightly.com/
[11] Marg
http://www.margcompusoft.com/
APPENDIX A: SYSTEM
DOCUMENTATION
To assist the software engineers, managers and administrators to install servers, refer if
there are any changes to be made in the system and to install the system, the system
documentation were created.
The server that this system might installing should meet following hardware
requirements.
HARDWARE REQUIREMENTS
SOFTWARE REQUIREMENTS
HOW TO SETUP
DATABASE SETUP
JFSMS SETUP
1. Copy the “JFSMS” folder from supplementary CD that given and paste it
webapps folder in extracted apache folder (apache-tomcat-[version]\webapps).
2. Go to “System\Common” folder inside “JFSMS” folder
(JFSMS\System\Common) that copied and open dbconnection_inc.php file and
configure the database connection with giving the username and password.
SYSTEM USAGE
From a preferred web browser you can open the system by typing following URL in
the address bar:
http://localhost/JFSMS/System/Login
http://127.0.0.1/ JFSMS/System/Login
APPENDIX B: DESIGN
DOCUMENTATION
B: 1 USE CASES
B: 2 ACTIVITY DIAGRAMS
APPENDIX C: USER
DOCUMENTATION
Note that only a few of main modules with selected interfaces of the system were
covered from this documentation.
LOGIN
By typing the URL in browsers address bar user can view the Login page Figure 25.
Then user can log in to the JFSMS by providing valid username and password. After
authorized access system will redirect user to Home page Figure 26.
HOME
An authorized user can browsed through the modules and user can log out from the
button on the top right corner.
Go to Users module.
After that user will direct to Users module Figure 27. An authorized user can add a
user by clicking and getting Add User interface Figure 28, edit a user (With
password changing) by clicking Edit button in front of every specific user and getting
Edit User interface Figure 29 or Delete a user by clicking Delete button in front of
every specific user from that interface.
Inside every module I followed a common interface structure. In the figure shows that
common structure of module. Please refer Legends to what in those numbers.
(1) Navigation Buttons – A user can use those to Go Back, Go to Home Page,
Reload or Go Forward.
(2) Sub Modules – This are the modules that inside a main module.
(3) Log Out Button – User can log out from this system using that button.
(4) Search Bar – It is a live search that users can search things based on the sub
module.
(5) Add Button – Authorized user can add things unique to that sub module.
(6) Edit Button – User can edit specific thing that previously added.
(7) Delete Button – User can delete specific thing that previously added.
After the user click Goods Received Note sub module interface in Figure 31 appears.
SUPPLIER PAYMENTS
Go to Suppliers module.
When a user click on Suppliers module interface in Figure 32 appears. From this
interface an authorized user can settle payments to suppliers for a specific GRN or user
can use “Settle All” button to settle all payables to a specific supplier.
APPENDIX D: MANAGEMENT
REPORTS
Since this is an advance report user having the privilege of select the date range as in
Figure 33 that report want to be generated. And after user select the date range and
press “View Report” button Advance Sales Ledger report appears as in Figure 34.
GRN LISTING
This is also an advance report. Because of that user have that privilege to select the
date range. Figure 35 illustrate that. After date selection and press “View Report”
button user will get the report as in Figure 36.
This report may give management about what items are sold today and how much
earned by them.
Note that same testing procedure like Add a Customer was applied to Add Category,
Edit Category, Add Sub Category, Edit Sub Category, Add Product, Edit Product, Add
Supplier, Edit Supplier and Edit Customer because interfaces are above mention
relatively same as those.
SUPPLIER PAYMENTS
Note that same testing like supplier payments was applied for customer payments
because all interfaces are above mention relatively same as those.
Note that same testing like Customer PRN was applied for Supplier PRN because all
interfaces are above mention relatively same as those.
CASH IN
CANCEL INVOICE
Figure 38 shows the code segment in canceling an invoice. The overview of this
code is when a user entered a valid invoice number and entered correct username
password if the invoice is made today delete that items and update stock and or if
invoice is made before update stock and update the cash in hand by min the amount of
this invoice with cash in hand. In the code,
1st If condition check whether user check in for the day before canceling an
invoice.
After that elseif condition look for whether user is checked out for the day and
if not user will proceed to the body. If user checked out system will redirect
user to the cancel invoice page with an error.
Figure 39 shows the code segment of check in process. Check in process want to be
done as a rooting in every day before other stuff. Without check in for the day user will
not allowed to make invoices, make PRNs, do Cash in or out and most of things in
JFSMS.
This code first check whether items are added to the invoice.
Then calculate the total amount.
Then update the invoice table.
Then check the payment method and if a credit it will update customer table
and if it is a cheque it will update cheque_details table.
Then system will redirect user to invoice interface with successful message.