GARMENTS AUTOMATION SYSTEM _FULL DOC
GARMENTS AUTOMATION SYSTEM _FULL DOC
By
MANIKANDAN M
( Reg.No.: 2222K1503 )
Guided by
Dr. S. SANGEETHA M.Sc., M.C.A., M.Phil., Ph.D.,
Assistant Professor of Computer Science,
Bharathidasan College of Arts & Science, Erode.
MARCH 2025
MULTI-RESCUE DISPATCH SYSTEM
MANIKANDAN M
( Reg.No.: 2222K1503 )
Project submitted in partial fulfillment of the requirements for the award of Bachelor of Computer Science of
Bharathidasan College of Arts and Science affiliated to Bharathiar University, Coimbatore-46.
PRINCIPAL
I hereby declare that project work entitled “MULTI-RESCUE DISPATCH SYSTEM” done at
Bharathidasan College of Arts & Science, Erode submitted to Bharathiar University in partial fulfillment of
requirements for the award of Bachelor of Computer Science as a record of work done by me under the
guidance of Dr.S.SANGEETHA M.Sc., M.C.A., M.Phil., Ph.D., Assistant Professor of Computer Science,
Bharathidasan College of Arts & Science, Erode – 638116.
Place: Erode
Date:
MANIKANDAN M
( Reg.No.: 2222K1503 )
ACKNOWLEDGEMENT
I am extremely happy to thank our Bharathidasan College of Arts & Science Management. I also thank all
the staff members of Computer Science Department who extended their help to complete my project work
successfully. I am also thankful to the computer lab programmers for their kind co-operation. I also thank
our Librarian for the support in completing my project work.
Last but not the least, I proudly thank and express my gratefulness to all my friends for the kind help
rendered by them. I extend my heartfelt gratitude to my parents.
MANIKANDAN M
CONTENTS
CHAPTER NO TITLE PAGE NO
ACKNOWLEDGEMENT i
CONTENTS ii
SYNOPSIS iii
1. INTRODUCTION
1
1.1 ABOUT THE PROJECT
The project entitled “GARMENTS AUTOMATION SYSTEM” has been developed for
the computerization of garments purchasing process. The project helps to achieve high response
time in purchasing system, ease of stock management and at last the most important advantage is
the high productivity of employee. Generally, a Stock Management System means a system that
comes under some systematic and defined protocols with some sequential rules and regulations,
data storage with convenient searching and retrieval, a clear interaction between the subsystems
all of which are strictly maintained by computer software and hardware.
The main purpose of a system is to collect and store information for all materials in at
Industry in an efficient and effective manner, so that information can be collected with ease as
required. Hence the overall goal of this project is to computerize the existing manual system, so
that the company can manage their Production in an easy way and reach the market on-time with
good quality products.
TABLE OF CONTENTS
CHAPT
ER TIT PAGE NO
LE
NO
1 INTRODUCTION
Once the access to the application has been granted the user can continue with his work on
the application selected, which is a very easy task as all module have been designed with the
common toolbar.
Each module has buttons attached by which the set of coding has been reduced, which
otherwise would have been a tedious process in designing has the same set of menu bar attached
with its corresponding shortcuts. The menu designed to include all the following options where
in each one provides certain functions to be carried out.
The end-user can take hard copy from reports. If the computer system has its printer, it is
very easy to take hard copy of the data in the reports.
1.2 SYSTEM SPECIFICATION
FEATURES OF PHP
PHP is a widely-used, open source scripting language used for scripts that are executed
on the server and it is freeware. It is a server side scripting language used to develop attractive
and dynamic web pages. PHP is widely-used, free, and efficient alternative to competitors such
as Microsoft’s ASP.We make available with database used with PHP is MYSQL – which is also
an open source which is an added advantage. PHP’s simple programming style, we attempt to
design in a way that enables anyone with basic programming knowledge to learn and shift to
never-ending opportunity available.
PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994.
PHP is a server side scripting language that is embedded in HTML. It is used to manage
dynamic content, databases, session tracking, even build entire ecommerce sites.
PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on
the Unix side. The MySQL server, once started, executes even very complex queries with huge
result sets in record-setting time.
PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4
added support for Java and distributed object architectures (COM and CORBA), making n-tier
development a possibility for the first time.
PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close
them.
PHP can handle forms, i.e. gather data from files, save data to a file, through email you
can send data, return data to the user.
You add, delete, modify elements within your database through PHP.
Access cookies variables and set cookies.
Using PHP, you can restrict users to access some pages of your website.
It can encrypt data.
CHARACTERISTICS OF PHP
Simplicity
Efficiency
Security
Flexibility
Familiarity
In order to develop and run PHP Web pages three vital components need to be installed
on your computer system.
Web Server − PHP will work with virtually all Web Server software, including
Microsoft's Internet Information Server (IIS) but then most often used is freely
available Apache Server.
Database − PHP will work with virtually all database software, including Oracle and
Sybase but most commonly used is freely available MySQL database.
PHP Parser − In order to process PHP script instructions a parser must be installed
to generate HTML output that can be sent to the Web Browser. This tutorial will
guide you how to install PHP parser on your computer.
PHP Parser Installation
Before you proceed, it is important to make sure that you have a proper environment
setup on your machine to develop your web programs using PHP. If this displays a page showing
your PHP installation related information, then it means you have PHP and Webserver installed
properly. Otherwise you have to follow given procedure to install PHP on your computer.
Apache Configuration
If you are using Apache as a Web Server then this section will guide you to edit Apache
Configuration Files.
PHP.INI File Configuration
The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's
functionality.
Windows IIS Configuration
To configure IIS on your Windows machine you can refer your IIS Reference Manual
shipped along with IIS.
Escaping to PHP
The PHP parsing engine needs a way to differentiate PHP code from other elements in the
page. The mechanism for doing so is known as 'escaping to PHP'. There are four ways to do this.
CakePHP uses well-known software engineering concepts and software design patterns,
such as convention over configuration, model–view–controller, active record, association data
mapping, and front controller.
FEATURES of PHP
It is most popular and frequently used worldwide scripting language, the main reason of
popularity is; It is open source and very simple.
Simple
Faster
Interpreted
Open Source
Case Sensitive
Simplicity
Efficiency
Platform Independent
Security
Flexibility
Simple
It is very simple and easy to use, compare to other scripting language it is very simple
and easy, this is widely used all over the world.
Interpreted
Faster
Open source means you no need to pay for use php, you can free download and use.
Platform Independent
PHP code will be run on every platform, Linux, Unix, Mac OS X, Windows.
Case Sensitive
PHP is case sensitive scripting language at time of variable declaration. In PHP, all
keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are
NOT case-sensitive.
Introduction of SQL
Introduction The Structured Query Language (SQL) is the language of databases. SQL
was, is, and will stay for the foreseeable future the database language for relational database
servers such as IBM DB2, Microsoft SQL Server, MySQL, Oracle, Progress, Sybase Adaptive
Server, and dozens of others. SQL supports a small but very powerful set of statements for
manipulating, managing, and protecting data stored in a database. This power has resulted in its
tremendous popularity. Almost every database server supports SQL or a dialect of the language.
Currently, SQL products are available for every kind of computer, from a small handheld
computer to a large server, and for every operating system, including Microsoft Windows, Mac
and many UNIX variations.
What is a Database?
What is SQL?
Structured Query Language (SQL) is a relational database language which allows you to
create, delete, access and manipulate databases. The following is a list of the main operations
that can be formulated with SQL:
Deleting a database
Executing queries against a database o retrieving data from a database o inserting records
in a database o updating records in a database o deleting records from a database
MySQL
MySQL can also be accessed using many tools. It can be easily communicated with via
PHP (PHP Hypertext Preprocessor), a scripting language whose primary focus is to manipulate
HTML for a webpage on the server before it is delivered to a client’s machine. A user can submit
queries to a database via PHP, allowing insertion, retrieval and manipulation of information
into/from the database.
XAMPP
XAMPP is a freely available software package which integrates distributions for Apache
web server, MySQL, PHP and Perl into one easy installation. If you wish to set up a web server
on your home computer, this is the recommended route. We will be using XAMPP for the
purposes of this course. The teacher will guide through the process of installing XAMPP in the
class
CHAPTER II
SYSTEM STUDY
The existing system maintains all purchase and sales activities through manual work. All
ledgers have to be worked through manual entry and keep it in separate ledgers.
Normally the purchase and sales department contains many divisions such as Stock
section, sales counter, Cutting and Stitching section etc. All these details have to be maintained
under separate ledgers. Manpower is used for maintenance and processing of details till the
delivery of goods.
▪ All data processing and procedures are done manually. There may be a chance of error
occurrence at the time of entering the data.
▪ As it is done manually it becomes a time consuming process.
▪ Checking the stock level on each day is a difficult task.
▪ Maintenance of reports is a tough task because there may be chance for missing the data.
▪ Salary calculation is tedious
2.2 PROPOSED SYSTEM
In order to overcome the existing systems drawbacks, the whole system is planed to
computerize under one platform to solve the maintenance problem of spinning mill. In this
computerized system it is very easy to maintain all details and also retrieving any information
from any kind of details.
This software would be able to provide flexibility in accessing sales and purchase
information. User can access any type of information. The data is completely checked for
validity before storing in the database.
All procedures, requirements must be analyzed and documented in the form of detailed
data flow diagrams (DFDs), data dictionary, logical data structures and miniature specifications.
System Analysis also includes sub-dividing of complex process involving the entire system,
identification of data store and manual processes.
3.2 INPUT DESIGN
Input Design is one of the most expensive phases of the operation of computerized
system and is often the major problem of a system. A large number of problems with a system
can usually be tracked backs to fault input design and method.
Needless to say, therefore, that the input data is the lifeblood of a system and have to be
analyzed and designed with at most case and consideration.
The decisions made during the input design are
⮚ To provide cost effective method of input
⮚ To achieve the highest possible level of accuracy
⮚ To ensure that input is understand by the user.
System analysis decide the following input design details like, what data to input, what
medium to use, how the data should be arranged or coded, data items and transaction need
validations to detect errors and at last the dialogue to guide user in providing input.
Input data of a system may not be necessarily is raw data captured in the system from
scratch. These can also be the output of another system or subsystem. The design of input covers
all phases of input from the creation of initial data to actual entering the data to the system for
processing. The design of input involves identifying the data needed, specifying the
characteristics of each data item, capturing & preparing data for computer processing and
ensuring correctness of data. The input has been designed as
Purchase details
Sales details
Process details
Employee details
Customer details
Stock details
3.3 OUTPUT DESIGN
Output Design generally refers to the result and information that are generated by the
system for many end-user, output is the main reason for developing the system and the basis on
which they evaluate the usefulness of the application.
The objective of a system finds its shape in terms of the output. The analysis of the
objective of a system leads to determination of output. Output of a system can face various
forms. The most common are report, screen display, printed forms, graphical drawing etc., the
output also vary in terms of their contents frequency, timing & format. The users of the output
from a system are the justification for its existence. If the outputs are inadequate in any way, the
system is itself is adequate. The basic requirement of output are that it should be accurate, timely
and appropriate, in terms of content, medium and layout for its intended purpose.
When designing output, system analysis most accomplish thing like, to determine what
information to be present, to decide whether to display or print the information and select and
output medium and to decide how to distribute the output to intended recipients.
External outputs are those destinations will be outside the organization and which require
special attention as they project the image of the organization.
Internal outputs are those whose destination is within the organization. It is to be carefully
designed, as they are the user main interface with the system.
The output has been formed as the reports. They are followed as
▪ Sales reports
▪ Purchase reports
▪ Suppliers information
▪ Employee information
3.4 DATA BASE DESIGN
The database design is a must for any application developed especially more for the
data store projects. The general theme behind a database is to handle information as an
integrated whole. A database is the collection of interrelated data stored with minimum
redundancy to serve many users quickly and efficiently. The general objective is to make
information PHP very easy, quick, inexpensive and flexible for the user.
A table is a collection of data about a specific topic. For example a table can contain
data about customers, suppliers and the products. Tables organize data into columns (called
fields) and rows (called records). Database is the storage media where the data given by the
user are stored as such or processed and stored. The system accepts data from the database to
generate required information for the user database determines the purpose and exact
application of the system. While designing decided which facts are to be stored in it and divide
the subjects & create tables for each subject and determine the relationship between the data in
each table to other data in the other table. Verify the data by entering the sample records to
produce the results. Data Integration
Data integrity
DATA INTEGRATION
In a database, information from several files are coordinated, accessed operated upon as
through it is in a single file. Logically, the information are centralized, physically, the data may
be located on different devices, connected through data communication facilities.
DATA INTEGRITY
Data integrity means storing all data in one place only how each application to access
it. This approach results in more consistent information, one update being sufficient to achieve
a new record status for all applications, which use it. This leads to less data redundancy; data
items need not be duplicated; a reduction in the direct access storage requirement
3.5 SYSTEM DEVELOPMENT
● Master Module
● Purchase Module
● Sales Module
● Process Module
● Reports Module
MASTER MODULE
The master menu is designed to collect details about Supplier master, employee master,
new stock master. The Supplier menu contains the adding new supplier details as like supplier
code, supplier name, supplier address and all other information about the supplier. The supplier
details containing the details of the all supplier for the company and having the option for to add
modify, delete the supplier details.
PURCHASE MODULE
This module takes care maintaining the Purchase and Purchase Return details of the
company. For Purchase, the details like PurchaseNo, NoOfthreadCones, TypeOfFabric,
RatePerPiece, Color and Quantity are stored. Similarly to manage details for purchase return,
purchaseorderno, TypeOfFabric, Color, Quantity and ReasonForReturn are collected.
SALES MODULE
This module takes care maintaining the Sales and Sales Return details of the company.
For Sales, the details like SalesNo, PurchaseNo, TypeOfFabric, RatePerPiece, Color, Quantity,
Amount, Tax and TotalAmount are collected.. Similarly to manage details for sales return,
saleseorderno, TypeOfFabric, Color, Quantity and ReasonForReturn are collected.
PROCESS MODULE
This is the main module designed to mange the main processes involved in the garments.
The transaction menu contains sub menu as Cutting, Stitching, Stock, and Salary details.
Separate forms will be designed to collect details for Cutting and Stitching. Stock will be
automatically updated based on the purchase and sales of respective items. Salary to employees
will be given based on their completed jobs in cutting and stitching section.
REPORTS MODULE
The system is designed to generate user friendly reports. Here the reports are created by
crystal format by using of crystal report structure in PHP. The following reports are to be listing
as
▪ Sales reports
▪ Purchase reports
▪ Suppliers information
▪ Employee information
CHAPTER IV
SYSTEM TESTING AND MAINTENANCE
SYSTEM TESTING
Testing is a process of executing a program with the intent of finding an error. So system
testing is a critical element of software quality assurance and represents the ultimate reviews of
specification, design and coding. This process involves testing in every phase of the system
development. During the requirements phase, the emphasis is upon validation to determine that
the defined requirements meet the needs of the company. Hence all the requirements specified by
the garments management are satisfied by system. It provides all the necessary information
needed for the department.
LEVELS OF TESTING
UNIT TESTING
In unit testing the user tests the programs making up a system. This test focuses on the
modules, independently of one another to locate errors. This enables the tester to deduct errors in
coding and logic that are contained within that module alone. Those resulting from the
interaction between modules are initially avoided.
In this system, demand of each query, customer entry and registration, employee details,
stock details are separate modules. They are checked with valid codes and their response is
studied. For invalid inputs they are terminated with messages that are easy to identify.
INTEGRATION TESTING
All the modules in the system are combined a single system. It also tests to find
discrepancies between the system and its original objective, current specifications, system
documentation. The primary concern is the compatibility of individual modules.
OUTPUT TESTING
After performing the integration testing, the next step is output testing of the proposed
system. Since no system would be useful if it does not produce the required output in a specified
format. The output generated are displayed by the system under consideration are tested by
asking the users about the format required to them. Hence, the output format is considered into
two ways. One is on screen and another is printed format. The output format on screen is found
to be correct
as the format was designed in the system design phase according to the user needs. For the hard
copy also, the output comes out as the specified requirements by the user. Hence, output testing
does not result any correction in the system.
ACCEPTANCE TESTING
The users find no major problems with its accuracy the system passes through a final
acceptance test. This last test confirms that the system meets the original goals, objectives and
requirements established during design.
User acceptance of a system is the key factor for the success of any system. The system
under consideration is tested for user acceptance by constantly keeping in touch with the
prospective system users at the time of developing and making changes where ever required.
The new system developed was tested by the acceptance testing method. Acceptance test
incorporates both unit testing and integration testing. The user provided test area. Thus the
system was successfully tested and it satisfies the user requirements. Afterwards it was
implemented successfully.
SOFTWARE TESTING
The system undergoes integrated testing before the users could use it. It provides a means
for assembling the software. All the related system has been corrected and each unit of data has
been given as inputs to the system and tested. By making slight changes in the units, the over all
system has been obtained with integration.
SYSTEM IMPLEMENTATION
Implementation means, “Converting a new system into operation”. This is the crucial
phase in the system development life cycle. This involves creating computer compatible file,
training the operating system development life cycle, training the operating staff and installing
the hardware before the system is setup on running. The success of the new system can be
measured during the implementation. This phase of the system consist of
Each program is tested individually at the time of development using the data and has
verified that this program linked together in the way specified in the programs specification,
the computer system and its environment is tested to the satisfaction of the user. The system
that has been developed is accepted and proved to be satisfactory for the user. And so the
system is going to be implemented very soon.
CHAPTER V
CONCLUSION
1. The Garments Management System can to save money and time after implementing
this project.
2. Modification and maintenance can be made very easily since the software is very
much flexible.
3. Very large data can be stored and also can be retrieved very easily.
4. Speed and accuracy is maintained.
5. Data is entered in formatted manner.
6. The report can be taken in any format.
7. Elimination of manual processing in user department
FUTURE ENHANCEMENTS
Every application has its own merits and demerits. The project has covered almost all the
requirements. Further requirements and improvements can easily be done since the coding is
mainly structured or modular in nature. Changing the existing modules or adding new modules
can append improvements. The main objective of the business is the Customer satisfaction. This
system helps the clients to give their problems online at whatever point the client needs, without
any constraints implied on them. This system helps the clients to briefly explain their complaint
without any hesitation. Through this system the clients are helped with some predefined
objections and quick arrangements which spare the valuable time of the clients. The clients get
the answers for their protestation inside multi-day and the client can likewise see the status of the
complaint at any time utilizing the complaint no. Through this system, the clients get the brief
solution for their complaint.
The system has scope for future enhancement i.e. if in case the organization feels that the
changes to be made to this system it can be done through authorized people. This system can be
developed with more information by adding new modules to it.
Some of the new features that can be considered for future enhancements are:
I.BOOK REFERENCE:
1. Elias M.Awad, “System Analysis and Design”, Galgotia Publications (p) Ltd, Second Edition, 1996.
2. Gary Cornell, “Visual Basic 6.0”, TataMc Graw-Hill Publications, Fourth Edition, 1999.
3. Naveen Prakash, “Introduction To Database Management System”, Tata Mc Graw Hill Publication,
Second Edition 1995.
4. Rogers Pressman, “Software Engineering”, TataMc Graw-Hill Publications, Fourth Edition, 1994.
5. Silberschatz, Korth, Sudharsan, “Database System Concept”, Tata McGraw-Hill, First Edition, 2002.
II.WEBSITES:
● http://www.sourcecode.com
● http://download.ms-access.com
● http:/Visualbasicnetblogspot.com
APPENDICES
A.DATA FLOW DIAGRAM
Sales Details
Sales
Garments management
Add CategoryDetails
category
Sales Details
Delivery
Reports
B.TABLE STRUCTURE
Primarykey: CustId
Primarykey: Empid
Primarykey: ItemId
Primarykey: Suppid
Primarykey: Pid
Primarykey: Itemid
Primarykey: Ordno
Primarykey: Billno
Primarykey: Itemid
Primarykey: Ordno
$result->bindParam(':userid', $res);
$result->execute();
for($i=0; $row = $result->fetch(); $i++){
?>
<html>
<head>
<title>
POS
</title>
})
</script>
</head>
<body>
<div id="maintable"><div style="margin-top: -19px; margin-bottom:
21px;">
<a id="addd" href="index.php" style="float: none;">Back</a>
</div>
<input type="text" name="filter" value="" id="filter"
placeholder="Search Customer..." autocomplete="off" /><a
rel="facebox" id="addd" href="addcustomer.php">Add
Customer</a><br><br>
<table id="resultTable" data-responsive="table">
<thead>
<tr>
<th width="5%"> Name </th>
<th width="21%"> Address </th>
<th width="11%"> Contact </th>
<th width="11%"> Membership Number
</th>
<th width="12%"> Action </th>
</tr>
</thead>
<tbody>
<?php
include('../connect.php');
$result = $db->prepare("SELECT * FROM
customer ORDER BY customer_id DESC");
$result->execute();
for($i=0; $row = $result->fetch(); $i++){
?>
<tr class="record">
<td><?php echo
$row['customer_name']; ?></td>
<td><?php echo $row['address']; ?
></td>
<td><?php echo $row['contact']; ?
?></td> ></td>
<td><?php echo
$row['membership_number'];
<td><a rel="facebox"
href="editcustomer.php?id=<?php echo $row['customer_id']; ?>">
Edit </a> | <a href="#" id="<?php echo $row['customer_id']; ?>"
class="delbutton" title="Click To Delete">Delete</a></td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="clearfix"></div>
</div>
<scriptsrc="js/jquery.js"></script>
<script type="text/javascript">
$(function() {
$(".delbutton").click(function(){
$.ajax({
type: "GET",
url: "deletecustomer.php",
data: info,
success: function(){
}
});
$(this).parents(".record").animate({ backgroundColor:
"#fbc7c7" }, "fast")
.animate({ opacity: "hide" }, "slow");
return false;
});
});
</script>
</body>
</html>
D.SAMPLE SCREENS