Professional Documents
Culture Documents
The CPB Game Farm Management System
The CPB Game Farm Management System
INTRODUCTION
In this modern age period computer has become a way of life that help
people that make them live at ease and comparatively well. Most of Game
Farming Industries transactions and managing systems are still done on paper.
We all know that modern Game Farms are now operating and working out due to
“sabong” in the Philippines. But the time rolled by, the number of the chicken has
As we look back years ago computers were not common in this industry.
The owners of the Game Farm today are considered digital natives who are now
not just smarter but truly intelligent. Today, peoples knowledge is as twice as
much as the idea referring to both knowledge exist from the use of computer
regarding in business industry, and in this Game Farming is one of their assets
and investments, new ideas seem to appear an increasing rate in every part of
every country. This new ideas led to transform the manual and old system.
creative progression.
1
meet the needs of farm managers, staff, and customers by working
collaboratively with various members, of their work group as well as with their
other clients. The proposed study provides a high quality system that is more
effective and accurate for recording and finding their records inside the farm than
the manually work. The proponents together with the programmers come up with
an idea of developing the newest and latest version of software programs and
application.
According to M.H Tili (2020), the spectacle of fighting animals has long
been a part of human history. From bullfighting all the way down to cockfighting,
the fighting has existed across many cultures in some form. In the Philippines,
been existing for more than a hundred years. Filipinos from all social classes
partake on this gambling sport which has been integrated into the Filipino culture.
Cockfighting has become part of the Filipino identity. Due to it’s popularity,
cockfighting has become a billion dollar industry with thousands of arenas and
estimated of more than a million cocks killed across the entire country. Money
changes hands from bettors, breeders, organizers, and feed seller alike.
Cockfighting or locally known as “sabong” has climbed to a whole new level that
has not only captured the heart of the entire nation, but also the world at large.
2
are killed each year. “Sabong” is more than just entertainment. The sport is
the country dates back 6000-years ago, which could have a played a big role in
its legalization.
The CPB game farm located in Darasa, Tanauan City is owned by Claude
P. Bautista who lived from Malita, Davao Occidental. He is former governor way
back 2016, and reelect year 2019. He started to have a farm in 1990, he started
year 2000 to have some breed rooster to have specific breed that he will be
known off. And after some year, the breed that he called Zamboanga white was
become popular, this is the time when he became known of some “sabungero”.
He deployed some branch in Batangas, one in Lipa and manage by Cesar Tan
and also in Tanauan, that being manage by Howie Inafuku. Bautista started
having 400 rooster in davao and have 2 helper feeds and 2 handlers. And in
Tanauan, he has 1000 rooster, 90% of this is cock and 10% is stags and have 8
employee. He built farm in Tanauan because of the venue of cock fight. Ever
since the farm built they have a manual process. They have manual recording
system which they record all the data in a log book. One way of having an
PROJECT CONTEXT
3
The CPB Game Farm Management System was developed to enhance
the Farm Management and generates the workflow inside their farm. The
proposed study is an advanced tool for game farming and “sabong” industry,
farm. This system will maintain all the records in an accessible and convenient
way in storing, generating reports and organizing data. The system will also help
the game farm staffs to have more accurate and have a capable way of gathering
data of the fighting roosters. This system can easily performed by the use of
minimize all papers works and manual record keeping, therefore allowing farm
managers and staff ease in keeping track of fighting rooster's records – a system
that user-friendly, time effective and efficient. The administrator will be the one
who manage the system and the only one who can add, edit and update the
In this system, the administrator can manage the list of rooster and can
edit and update the rooster’s information as well as the schedule of the rooster’s
fight, history and the rooster’s record. Also, the administrator can manage the list
of employees, list of stock and the list of expenses of the game farm. The
administrator can print and generate the list of rooster and the expenses of the
game farm.
4
PURPOSE AND DESCRIPTION
System for CPB Gamefarm in Darasa, Tanauan City. The information of the farm
will be easily recorded and manageable than the manual recording. The system
will help the farm manager and the farm staff to save time and human effort in
distribution of the farm regarding the services. The propose study intended to
eliminate the manual way of recording method that the CPB gamefarm currently
because it is a user-friendly and easy to navigate. The administrator will click the
button for rooster and he/she will see the list of rooster and their information as
well as their schedule. Just one click for the list of employees and the
administrator will see their schedule and all their information. Also, the
administrator will be at ease printing and generating the list of rooster and list of
expenses.
This system contains farm’s information that will shows all recorded
information of the roosters and the farm’s information itself that can easily update
or edit the recorded information. Also, the system has one administrator who
5
would manage all the information of the system. Wherein the administrator can
Darasa, Tanauan City for it will reduce the workload of recording done in manual
way; organizing information for retrieval when needed; reducing labor for
lasty, it reduced the required time and effort to reconstruct vital information even
The following are the general and specific objectives that this proposed
GENERAL OBJECTIVES:
management system for CPB game farm located in Darasa, Tanauan City to
improve and make the system from manual to computerized that would enable
the farm for faster and more efficient storage and updating of the game farm
record.
Specific Objectives:
information.
6
1.1. Add and update rooster’s information;
instantly
The study will be helpful to aid the current system in CPB Game Farm.
The most important thing is, this system was made for the easy to manipulate the
data of CPB Gamefarm such as history information or blood lines of the roosters.
7
Game Farm. The proposed system will simplify and automate everyday
farm task and can help maximize time spent with the task there by providing
better services.
Farm staff. They will no longer manually search, update, and write the
Future Researchers. This will benefit other researchers who wish to have
similar studies as they can get background information from the result of this
Darasa, Tanauan City“ aimed to create a system that will provide an organized,
This study will replace the old system that is currently used in CPB Game
farm. Also the system will organize and manage rooster’s record by administrator
who would manage the data, they can add and update the rooster’s information
and manages and organize the rooster’s fight, rooster’s history and rooster’s
schedule. In addition the administrator can manage the game farm’s stock, the
8
list of staff and also the expenses of the farm. And also the system can generate
and print rooster’s information, rooster’s fight schedule and the expenses of the
gamefarm.
Apart from that, this study does not allow deleting information inside the
system and the system is stand alone. The information will be gathered only in
DEFINITION OF TERMS
In the case of electronic data, security measures such as pass words, locking
down drives or sites, encryption etc. should be used to ensure that only
colleagues that need to see those documents can access them. In the case of
paper/hard copy files, they should be subjected to physical controls e.g. locked
cabinets, drawers or rooms. This serves as the main term of the developed
system; for as the word access and its function were used by the developed
system wholly. Every nook and cranny of the developed system will be functional
and accessed.
9
Breeders. A person who breeds livestock. Racehorses, other animals, or
plants. In this study breeders is a person who breeds the chicken in the game
Cockfight. The sport of setting two gamecocks to fight each other. Such
birds often have had their legs fitted with metal spurs.
small-run jobs from desktop publishing and other digital sources are printed using
large-format and/or high-volume laser or inkjet printers. The researcher used this
Game Farm. A place where game animals are raised to stock wildlife
and also the act or skill of controlling and making decisions about business,
10
Records. Documents that memorializes and provides objective evidence
more.
CHAPTER II
DESIGN CONCEPT
A. RELATED STUDIES
To develop the automated management system for CPB game farm, the
researcher had to analyze readings to generate some ideas and concepts about
related studies. This helped them conceptualized their own system. The following
are some reviewed studies or systems which serves as a guide to meet the
systems objectives. This also provide and helps on the system development.
allows the user to manage and review the farm related items within mobile
11
poultry, and crop farm enables the user to streamline operations, increase
Both system are related in some ways they both do an application where
they can managed and the information of the farm. Also, they are similar in
increase efficiency and ease interaction with workers and maximize revenues.
Hence, the previous system lacks in updating user requirement that needed
some time to update their system while the present system updating the
The system by Ibitoye (2017) helps the Boniks Pharmacy to eliminate the
manual process of recording, adding and ordering of drugs. The system helped
the stock. It aimed to improve the efficiency of the system by ensuring effective
inventory system. Both systems have stock monitoring capabilities. Both system
also used electronic report for the benefit of both the administrator and the
management.
status, needs, and activities of local churches and ministries. The software
application offers a wide range of tools and features that help churches grow
12
their ministry and do better in promoting spiritual growth. This church
Application for Micro, Small and Medium-sized Enterprise. The study focuses on
the current inventory process of Family Milk Tea, a family owned, beverage
business in the Philippines. The current process shows loss of sales due to stock
out and additional charges due to overstocking. Aside from this, tracking of sales
is done manually through writing or typing in a work sheet using Microsoft Excel.
Seiton, a mobile application will be used to alleviate the problem. Due to mobile
13
In 2017, students from Pangasinan State University proposed a
to maintain and secure the student's records and easy retrieval of student
records, to lessen the workload of the staffs. The features of the proposed
System would be password security for the server and client in accessing the
system. Processes involved in the current Record Management of QNHS are still
B. RELATED LITERATURE
and security of files. The focused of the system is to eliminate the difficulty in
information and records of each patient are secured; assigned staff of each
department or section of the hospital can encode information and process the
14
recommendations to trained warehouse teams, allowing increased efficiency
from product picking to dispatching. The WMS uses data to forecast demand
ahead of peak shopping periods so that brands and sellers can better allocate
their resources. These services help brands and sellers to optimize their
inventories and ship out parcels more efficiently, which translates to increased
Both systems have the same function such as eliminating the manual
process used by the management. Both systems also focused on processing the
records. The difference between the previous and the present system is that the
manual transaction of the Mom’s Restaurant. The system helped to check the
available stocks, its quantity and the expiration date of each product. It had an
alert system to remind the cashier about the stock’s quantity, availability and the
expiration date. It helped the cashier to record and checks the daily, monthly and
yearly profit of the restaurant. It can compute the data more accurately than the
administrator is the only one who can access the database and manage the
products. The administrator can view the sale history, inventory and print. It can
The system is related to the developed system in a way that both systems
eliminate the manual transaction of the user. The two systems are capable of
monitoring stocks and allowed to print information. The difference between the
15
two systems is that the previous one has an alert message which is not a feature
introduce new program and improve the present condition of the company. It also
eliminate the loss of data and inaccuracy of information of the inventory report.
that with the help of this technology most organizations can make their
necessity.
management and updating records. Both systems also help the administration in
storing, updating and retrieving of data records. Both systems also helps the
formed by the information itself. It means that the diversity and multiplicity of
16
which automatically led to a certain, separate groups of information which are
formed into information systems. And the development of information system can
set of interrelated components that work together to achieve the desired results.
images, sounds). Thus, the definition of Whitten & Bentley concluded that the
information technology that interact to collect, process, store, and provide the
TECHNICAL BACKGROUND
This section shows the technical background of the project that discusses
the system.
SOFTWARE SPECIFICATION
Category Specifications
17
Programming Language VB.NET
The researcher used Microsoft SQL server 2014 as database server which is
a software product with the primary function of storing and retrieving data as
requested by other software applications, which may run either on the same
computer where the system was built. And the researcher use .Net framework
4.0, it made up of tools, programming languages, and libraries for building many
HARDWARE SPECIFICATION
Hardware Description
RAM 1 GB
Keyboard USB
18
Mouse USB, optical mouse
running on windows 7, Intel Core i3 Processor and 2GB RAM to create the
system.
CONCEPTUAL FRAMEWORK
19
Figure 1: Conceptual Framework
different flows such as, input, process and output. In the input, the researcher
gathered data to the CPB game farm to identify the lack of the game farm. This
part includes the feasibility studies which are related to the study. The
researcher gathered all the requirements needed by the user. The researcher,
studied the user needs to reach the definition of the system, hardware and
software requirements.
In the designing process, this is the part where the researcher will select
and choose the software development life cycle model that will fit to the project.
The first phase is analysis and quick design. This phase, the researcher
of the client demand. The important task of this analysis is to guarantee that the
system is applicable to the users. After the conducted data gathering, the
researcher made a primary design for proposed system. In design, the system
The second is the data analysis. The researcher analyzed the data that
was obtained from the initial data gathering. The analyzed data will be used
towards the design and development of the system, thus making sure that all
recommendations of the end-user were meet. The next is prototype cycle, this
Demonstrate, Refine and Develop. After the analysis of the gathered data, the
20
researcher had started the system development which was based on the
recommendations form the end-users. After the prototype has been developed,
demonstration of the system was done to the end-users. If there are some
the results from the demonstration. The next is the testing. It is considered as a
routine process because every part of the system must be tested to make sure
that there is no problem in system. The last two are the implementation and
maintenance. In the implementation, the users get a chance to use the system
for the first time. This part entails that the system is ready to be presented to the
users. The last is the maintenance phase wherein services are not only focused
in the installation of the system but also the maintenance and updating when
needed.
CHAPTER III
developing the system. As well as the systems analysis and design, and the
requirements needed to run the system at its best performance to reach its
maximum result.
managing the records and information of the game farm. In this project, the
researchers finalized all the necessary requirements for the system development.
21
The researchers used the developmental research method since the study
Requirements Analysis
System Design
Development
Testing
Maintenance
The researchers used the modified waterfall model to show the process
they made in order to accomplish the said study. The first step is the
demand. The important task of this analysis is to guarantee that the system is
applicable to the users. The next phase is System design, in system design
phase, the system layouts, diagrams and the other documentations were done.
The design function must be described in detail, including the layouts, business
rules, process diagrams, and other documentation. And it includes the coding
design that involves the actual process of system development. It also involves
22
the back end codes, how the data was stored and how the researcher came up
programmers in the Waterfall method, as they take the project requirements and
specifications, and code the applications. The next phase is, system testing
which all the units developed in the implementation phase are integrated into a
system after testing of each unit. Post integration the entire system is tested for
any faults and failures. In addition, the system deployment is the phase where
the researchers deployed the proposed system to the client once the functional
and non-functional testing is done. And the last is maintenance, there are some
issues which come up in the client environment. To fix those issues, patches are
released. Also to enhance the product some better versions are released.
references were used as the foundation of the study, like how their projects
23
Several changes are happening in the electronic today which increase the
Tanauan City is developed using Microsoft Visual Basic.net 2014 with .Net
storage or Back end. Updates of this software are also necessary in the
development.
Microsoft windows and the familiar “drag and drop” feature. The researcher used
MySql for storing data. They focused on using an application that is easy to
understand, has a high level of security, has a connection code for programming
language and has many operations and functions which are needed by the
more syntax is generally straight forward than the others are. Visual Basic.NET is
SOFTWARE SPECIFICATION
24
Category Specifications
The researcher used Microsoft SQL server 2014 as database server which is
a software product with the primary function of storing and retrieving data as
requested by other software applications, which may run either on the same
computer where the system was built. And the researcher use .Net framework
4.0, it made up of tools, programming languages, and libraries for building many
HARDWARE SPECIFICATION
Hardware Description
25
RAM 1 GB
Keyboard USB
running on windows 7, Intel Core i3 Processor and 2GB RAM to create the
system.
SYSTEM DESIGN
26
Figure 3. System Design
This system has only one user interface, the administrator who can
managed all the data in the system. The administrator can edit, update and add
data to the system. And also, the administrator is the only one allowed to use the
system and the only one who can manipulate and can see the gamefarm data.
The administrator can generate and print the inventory and expense of the
gamefarm.
In addition, staff is the one who provides the information about the rooster
and the farm. The staff manage the rooster’s stocks and inventory, they’re the
SYSTEM ARCHITECTURE
27
Figure 4. System’s Architecture
Figure 4 shows the features and functions of the system. The system will
be managed by the administrator, who will be the only one who can add, update
and edit the information in the system. The administrator will log-in to the system
and can see the dashboard that will have the announcement of the gamefarm;
the rooster’s information which can be add, update and edit the information; the
inventory of the stocks; the list of employee and their schedule and duty; and
also the administrator can manipulate the schedule and can create new schedule
DATABASE SCHEMA
28
Figure 5. Database Schema
Figures 5 shows the data flow inside the database in relation to the flow of
the system. First, the admin needs to login for security purpose of the records.
Once logged in, the admin can freely browse and input records on his/her desire
paths or sections showed on the system. Upon selecting path, will lead the admin
to the tabular form where he/she can add, update, delete and print a record.
29
The following diagrams represent the current system that has led for the
researchers to come up with the Automated Management system for CPB Game
Farm. Also there are diagrams that will feature the scope and functions of the
user in the system. The proponents showed the details and the processes that
the system can perform. It includes context flow diagram and data flow diagram
and what the logical pattern of the software is. The administrator will have to log-
in to the system to view and manage the information of the game farm. After the
successful log-in the administrator will view the information that the database
has. The administrator can add, edit, update the information of the rooster and
ADMIN
30
Figure 7. Use Case Diagram of Admin
The administrator will have full access on the system that will enable him
add, edit or delete a record of a rooster if the rooster no longer there or already
31
System testing plays a vital role in the system’s developmental progress
because it checks whether the system meets the functional requirements or not.
Several types of testing are practiced by the researchers that aim to test the
the system is being tested and checked if the individual part is functioning as
expected. Actual code units are being assessed in this type of testing making it
when combined or connected. This type of testing is very important because one
must really ensure if the system’s functions are with chemistry and if the other
actually meets the client’s needs. There are two types of clients that benefits with
the developed project- librarian and faculty staff. The system is being
demonstrated to them and the client tested the system’s functionality, reliability,
METHOD OF TESTING
working. Through this, all the error that system can come across while it is being
executed can be corrected and fixed. This will guarantee that the system is ready
to be used as a finished program. For testing the program, the black-box method
32
is used which is performed by both the proponents and an experienced and
qualified tester.
In the black-box method, the testing can be done even though the tester
doesn't have any knowledge in the interior workings of the application. This
testing occurs throughout the software development and testing life cycle. The
tester will only test the user interface by providing inputs to the program and
examining the outputs without knowing how and where the inputs are worked
upon and the tester doesn't need to access its source code.
by the researchers while developing the system. Here, the researchers are
guessing where the errors can be hidden. This technique doesn't use any
specific tools just pure art of guessing based on previous experience and
judgment. There is also a graph-based testing under black box method which is
also performed. The objects in the program are identified and a graph is
prepared. From this object graph, each object relationship is identified and test
Associated with the above testing methods was the use of survey
making questions included in the survey questionnaire. Certain criteria like the
33
Functionality refers to the specified properties or attributes of the system.
It determines whether the system satisfies the needs of the user, and if all the
functions provide the desired output of the user. Reliability refers to the ease of
which the system functions can be easily learned and understood. In the
efficiency category, the time and resource behavior of the system are being
monitored. With this, the response time to a given throughput is important and
being observed. Table 5 indicates the scale of rating and the verbal interpretation
of each assessment.
Functionality. The system features will be checked if they are all working
34
The statistical treatments for this study were frequency and percentage
distributions for data presentation and weighted mean to determine the results in
the system evaluation. Below are the evaluation criteria used by the researchers.
Security is the capability of the system to protect the information and important
Usability is the method for improving ease-of-use during the design process.
understand whether the software is suitable and how it can be used for the tasks
Learnability is the capability of the system to enable the user to learn the
Operability is the capability of the system to enable the user to operate and
control it.
user.
causes of failures in
the system.
35
Stability is the ability of the system to avoid unexpected effects from modification
of the system.
Please give a grade about the importance of the sub-characteristics scale where
Functionality 5 4 3 2 1
36
The system is working correctly.
FORMULATING
THESIS TITLE
TITLE PROPOSAL
COLLECTING
DATA
SYSTEM
PLANNING
DOCUMENTATIO
N WRITING
DESIGNING
PROGRAM
CODING
SYSTEM
BUILDING
TESTING
MAINTAINANCE
IMPLEMENTATIO
N
The researchers’ schedule and timeline showed in the Gantt Chart below,
the weekly activities being done and conducted by the team. By using Gantt
37
and monitoring of you’re the project. And to keep track on what are the things
Second is the Application Designer who will be responsible for designing the
project. Next is the Data Researcher who is responsible for collecting data that
will be helpful for the system. Lastly is the Document writer who will assign to
38
CHAPTER IV
This chapter presents the results and discussion related to the specified
objectives of the developed system. Also, the analysis and interpretation of data
TECHNICAL DESCRIPTION
screenshots of the system as the objectives of the study and how the
screenshots work. This study aim to help the CPB gamefarm in Darasa, Tanauan
City to have an easy and effective way of record keeping of the farm.
The following figures show the system design interface of the system. This
shows the different dynamics of the system, with the use of appealing system
design.
39
Figure 8: Login Page
The figure 8 shows the login page of the system, where the Administrator
40
Figure 9 show the home page of the system, a page that will shows the
Figure 10 show the rooster’s list page that shows list of rooster and their
specification and can add another rooster. Also this page can edit and update the
rooster information and can generate print the rooster’s information. The
41
Figure 11: Inventory Page
Figure 11 shows the list of stocks and their quantity. Also this page can
add, edit and update the stocks. And the administrator can print and generate
Figure 12 shows the page where the administrator can manage the
schedule of fight of the rooster. And also the information of the rooster will be
42
seen in this page. The administrator can add, edit and update the schedule and
administrator can see the vitamins or feeds that the scheduled rooster take
43
before the scheduled fight. In this page, the administrator can generate and print
the page.
This figure 14 shows the staff page where the administrator can only view
44
Figure 15: Add Staff page
This figure 15 shows the adding of the staff and their personal information
to the system. The administrator will be the one who can add and update their
45
This figure 16 shows the administrator account page where the administrator can
change their password, username and their recovery pin that automatically set in
default.
Each category has a corresponding question. The survey was given to the users
efficiency of the system. They tested the ability of the system to perform the task
required and the user tested all buttons to determine if all working based on their
specified tasks and user friendliness of the system created by the researcher. It
system.
Barangay Respondents
46
There were 326 barangay residents in the set of respondents who
providing complete tools and solutions. On the other hand, there were 66
The weighted mean, 3.29 of the Functionality criteria under the Barangay
resident’s category falls on the HIGHLY ACCEPTABLE scale. The result means
that the system provides complete set of tools for CPB Gamefarm.
system. Based on the result, the users agreed on the ability to allow the user to
see the information with a mean of 4.18. The system allows to print out the
47
rooster’s information, rooster’s schedule of fight, and print the inventory with a
mean of 4.20. In addition, the users agreed on the ability of the system which the
system allows user to add, edit, update the gamefarm information with a mean of
4.28. As the result of, 4.22 is the total composite mean with verbal interpretation
of “Strongly Agree”.
4 The system icons and buttons are all working 4.50 Strongly Agree
48
In terms of usability, table 11 shows result, the users agreed on the design
of the user interface is attractive and understandable by the user with a mean of
4.21. They also agreed that it is user friendly and can be accessed by the user
with a mean of 4.33. In addition, the users agreed that the application helps to
save time of the gamefarm’s administrator.with a mean of 4.28. And users also
agree to the ability of the systems’ icons and buttons are all working with a mean
of 4.50.As the result, 4.33 is the total composite mean with verbal interpretation
of “Strongly Agree”.
1 The system lessens the processing time and 4.50 Strongly Agree
responds immediately to the user’s need.
2 The system allows the user to make fast 4.70 Strongly Agree
and real time transactions.
system. Based on the result of maintainability, the composite mean of 4.50, the
49
respondents strongly agreed that the system lessens the processing time and
responds immediately to the user’s need. The respondents strongly agreed that
the system allows the user to make fast and real time transactions by the
composite mean of 4.70. As the result, 4.6 is the total composite mean with
2 The security of the system and its data are 4.18 Strongly Agree
on high level.
50
Lastly, Table 13 shows the results of evaluation in terms of reliability of the
system. Based on the result, the users agreed that the response of the system is
accurate with the composite mean 4.20. And it also agreed that the security of
the system and its data are on high level with the composite mean 4.18. In
addition, the user agreed that the system is working correctly with the composite
mean 4.55. As the result, 4.31 is the total composite mean with verbal
of the application. The researcher also asked some of the respondents some
CHAPTER V
This chapter presents the summary of findings and conclusions that were
recommendations that can serve as basis for the future enhancement of the
SUMMARY OF FINDINGS
51
The project was designed for CPB Gamefarm in Darasa, Tanauan City.
enhance the current procedure that the gamefarm is using in managing the
be done easier and faster, it will help the gamefarm to make less paper work and
can save more time in other work. In addition, the system enables the
administrator to easily add, edit and update rooster’s information, and can easily
implementation plan of the developed website for the orientation and deployment
of the developed system to help the users to easily understand the flow of the
program
CONCLUSIONS
the system that was analyzed and developed to achieve the satisfaction of the
target users. Based on the findings, the automated management system for CPB
managing all of their data and can save a lot of time doing paper works. Several
tests and survey of the developed system were done by the researchers to
enhance the manual process CPB Gamefarm in Darasa, Tanauan City. Thus, it
RECOMMENDATIONS
52
Based on the findings and conclusions of the project, the following
another researcher that have same research to add a live fight feature to the
system. Also to add the SMS notification feature using a free SMS services to the
developed system.
BIBLIOGRAPHY
Definition of Access. Retrieved from
https://www.merriam-webster.com/dictionary/access
53
https://www.google.com/search?q=breeder
A.M Margate; M.C Ravina; J. Pido; M.N Young A Mobile Inventory Management
System Application for Micro, Small and Medium-sized Enterprise. Retrieved
from https://ieeexplore.ieee.org/document/9484183
54
Name: Age:
Please give a grade about the importance of the sub-characteristics scale where
Functionality 5 4 3 2 1
55
The system allows to print out the
rooster’s information, rooster’s schedule
of fight, and print the inventory
The system allows me to add, edit,
update the gamefarm information
Usability
USER’S MANUAL
56
Login Page
Shows the login page of the system, where the Administrator can only manage
the system.
Home Page
Show the home page of the system, a page that will shows the
57
Show the rooster’s list page that shows list of rooster and their
specification and can add another rooster. Also this page can edit and update the
rooster information and can generate print the rooster’s information. The
Inventory Page
Shows the list of stocks and their quantity. Also this page can add, edit
and update the stocks. And the administrator can print and generate the
inventory page.
58
Shows the page where the administrator can manage the schedule
of fight of the rooster. And also the information of the rooster will be seen in this
page. The administrator can add, edit and update the schedule and can search
can see the vitamins or feeds that the scheduled rooster take before the
scheduled fight. In this page, the administrator can generate and print the page
Staff Page
Shows the staff page where the administrator can only view the list of staff
59
Add Staff page
Shows the adding of the staff and their personal information to the system.
The administrator will be the one who can add and update their information to the
system.
Shows the administrator account page where the administrator can change their
password, username and their recovery pin that automatically set in default.
Source Code
Imports System.IO
Imports System.Text
Imports DevComponents.DotNetBar
Imports DevComponents.DotNetBar.Controls
Imports DevComponents.Editors
Imports MySql.Data.MySqlClient
60
Public MAXID1 As Integer
Public stat = "deduction"
Public nameofeeds As String
Public nameofvitamins As String
Public IDnum1 As String
End Sub
'conditioning
txtbox_cbreed.Clear()
txtbox_cwband.Clear()
txtbox_lband.Clear()
txtbox_nwins.Clear()
txtbox_nfights.Clear()
txtbox_age.Clear()
txtbox_bloodline.Clear()
lb_fage.Text = ""
flabel.Text = "yyyy-MM-dd"
TextBoxX11.Clear()
TextBoxX1.Clear()
End Sub
Public Sub disabledtxt()
textbox_fbreed.Enabled = False
textbox_fbloodline.Enabled = False
textbox_flegband.Enabled = False
textbox_fmarkings.Enabled = False
textbox_fnumberofwins.Enabled = False
textbox_fwingband.Enabled = False
'conditioning
txtbox_cbreed.Enabled = False
txtbox_cwband.Enabled = False
txtbox_lband.Enabled = False
txtbox_nfights.Enabled = False
txtbox_age.Enabled = False
txtbox_bloodline.Enabled = False
61
End Sub
Public Sub categoryconditioning()
Try
myCmd = myConn.CreateCommand
myCmd.CommandText = "SELECT `ProductName` FROM `tbl_stocks` WHERE
`Category` LIKE '" & "Vitamins" & "'"
myConn.Open()
myReader = myCmd.ExecuteReader
If myReader.HasRows Then
While myReader.Read
nameofvitamins = myReader("ProductName")
If cmb_vitamins.Items.Contains(nameofvitamins) Then
cmb_vitamins.Items.Contains(nameofvitamins)
Else
cmb_vitamins.Items.Add(nameofvitamins)
End If
End While
End If
myConn.Close()
Catch ex As Exception
End Try
Try
myCmd = myConn.CreateCommand
myCmd.CommandText = "SELECT `ProductName` FROM `tbl_stocks` WHERE
`Category` LIKE '" & "Feeds" & "'"
myConn.Open()
myReader = myCmd.ExecuteReader
If myReader.HasRows Then
While myReader.Read
nameofeeds = myReader("ProductName")
If cmb_feeds.Items.Contains(nameofeeds) Then
cmb_feeds.Items.Contains(nameofeeds)
Else
cmb_feeds.Items.Add(nameofeeds)
End If
End While
End If
myConn.Close()
Catch ex As Exception
End Try
End Sub
Public Sub refresh_dtgv()
Try
'stock
62
ds = New DataSet
adapter = New MySqlDataAdapter("SELECT `PId`, `Category`,
`ProductName` , `NumberofStocks`, `TotalAmount` , `Perweekcomsume` ,
`PerweekExpenses`, `PerweekAdd`, `DateofDeduction`, `DateofAdding` FROM
`tbl_stocks` WHERE`Status` LIKE '" & "Add" & "' and `Category` LIKE '" &
cmb_category.Text & "'and `ProductName` LIKE '" & cmb_Pname.Text & "' or
`ProductName` LIKE '" & txtbox_Pname.Text & "' ", myConn)
adapter.Fill(ds, "tbl_stocks")
If ds.Tables("tbl_stocks").Rows.Count > 0 Then
For i As Integer = 0 To ds.Tables("tbl_stocks").Rows.Count - 1
With dtgv_stocks.Rows.Add
dtgv_stocks.Rows(i).Cells(1).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(1))
dtgv_stocks.Rows(i).Cells(2).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(2))
dtgv_stocks.Rows(i).Cells(5).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(7))
dtgv_stocks.Rows(i).Cells(4).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(4))
dtgv_stocks.Rows(i).Cells(3).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(3))
dtgv_stocks.Rows(i).Cells(6).Value =
(ds.Tables("tbl_stocks").Rows(i).Item(9))
End With
Next
End If
'stock
'conditioning
dtgv_conditioning.Rows.Clear()
adapter6 = New MySqlDataAdapter("SELECT `roosterno`,`breed`,`feeds`,
`vitamins`, `DateofFight`,
`Bloodline`,`markings`,`wingband`,`legband`,`AgeLabel`,`Numberofwins`,`Numberofwin
s`,`Rpic` FROM `tbl_roosterlist` WHERE `DateofFight` NOT LIKE '" & "" & "' ",
myConn)
adapter6.Fill(ds6, "tbl_roosterlist")
If ds6.Tables("tbl_roosterlist").Rows.Count > 0 Then
For i As Integer = 0 To ds6.Tables("tbl_roosterlist").Rows.Count -
1
With dtgv_conditioning.Rows.Add
dtgv_conditioning.Rows(i).Cells(0).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(1))
dtgv_conditioning.Rows(i).Cells(1).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(2))
dtgv_conditioning.Rows(i).Cells(2).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(3))
dtgv_conditioning.Rows(i).Cells(3).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(4))
dtgv_conditioning.Rows(i).Cells(4).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(5))
63
dtgv_conditioning.Rows(i).Cells(5).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(6))
dtgv_conditioning.Rows(i).Cells(6).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(7))
dtgv_conditioning.Rows(i).Cells(7).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(8))
dtgv_conditioning.Rows(i).Cells(8).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(9))
dtgv_conditioning.Rows(i).Cells(9).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(10))
dtgv_conditioning.Rows(i).Cells(10).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(11))
' dtgv_conditioning.Rows(i).Cells(11).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(12))
' dtgv_conditioning.Rows(i).Cells(12).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(13))
dtgv_conditioning.Rows(i).Cells(13).Value =
(ds6.Tables("tbl_roosterlist").Rows(i).Item(0))
End With
Next
End If
Catch ex As Exception
End Try
'comditioning
Try
ds1 = New DataSet
adapter1 = New MySqlDataAdapter("SELECT `PId`, `Category`,
`ProductName` , `NumberofStocks`, `TotalAmount` , `Perweekcomsume` ,
`PerweekExpenses`, `PerweekAdd`, `DateofDeduction`, `DateofAdding` FROM
`tbl_stocks` WHERE `Status` LIKE '" & stat & "' and `Category` LIKE '" &
cmb_category.Text & "' and `ProductName` LIKE '" & cmb_Pname.Text & "' ", myConn)
adapter1.Fill(ds1, "tbl_stocks")
If ds1.Tables("tbl_stocks").Rows.Count > 0 Then
For i As Integer = 0 To ds1.Tables("tbl_stocks").Rows.Count - 1
With dtgv_deduction.Rows.Add
dtgv_deduction.Rows(i).Cells(1).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(1))
dtgv_deduction.Rows(i).Cells(2).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(2))
dtgv_deduction.Rows(i).Cells(3).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(3))
dtgv_deduction.Rows(i).Cells(4).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(5))
dtgv_deduction.Rows(i).Cells(5).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(6))
dtgv_deduction.Rows(i).Cells(6).Value =
(ds1.Tables("tbl_stocks").Rows(i).Item(8))
End With
Next
End If
myConn.Close()
64
ds3 = New DataSet
dtgv_schedule.Rows.Clear()
adapter = New MySqlDataAdapter("SELECT
`roosterno`,`breed`,`Bloodline`, `markings`, `wingband`, `legband`,
`rAge`,`AgeLabel`,`Numberofwins`,`DateofFight` FROM `tbl_roosterlist` WHERE
`Dateofconditioning` like '" & "" & "' ", myConn)
adapter.Fill(ds3, "tbl_roosterlist")
If ds3.Tables("tbl_roosterlist").Rows.Count > 0 Then
For i As Integer = 0 To ds3.Tables("tbl_roosterlist").Rows.Count -
1
With dtgv_schedule.Rows.Add
dtgv_schedule.Rows(i).Cells(0).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(1))
dtgv_schedule.Rows(i).Cells(1).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(2))
dtgv_schedule.Rows(i).Cells(2).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(3))
dtgv_schedule.Rows(i).Cells(3).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(4))
dtgv_schedule.Rows(i).Cells(4).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(5)) 'leg abnd
dtgv_schedule.Rows(i).Cells(5).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(7))
dtgv_schedule.Rows(i).Cells(6).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(9))
dtgv_schedule.Rows(i).Cells(7).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(8))
dtgv_schedule.Rows(i).Cells(10).Value =
(ds3.Tables("tbl_roosterlist").Rows(i).Item(0))
End With
Next
End If
Catch ex As Exception
End Try
End Sub
65
`PerweekAdd`,`DateofAdding`,`Status`) VALUES (@Category, @ProductName ,
@NumberofStocks, @TotalAmount ,@PerweekAdd, @DateofAdding, @Status) "
myConn.Open()
If cmb_Pname.Text <> "" And totalstocks > 0 Then
Else
End If
refresh_dtgv()
If getnameofstocks = "" Then
cmb_Pname.Enabled = False
End If
myConn.Close()
66
MessageBox.Show("New record has been succesfully Added!!",
"Information", MessageBoxButtons.OK, MessageBoxIcon.Information)
refresh_dtgv()
clearall()
'FOR
DEDUCTION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ElseIf btn_Additem.Text = "Deduct Item" Then
MAXID = 0
MAXID1 = 0
Dim totalnumber As Integer
For i As Integer = 0 To ds.Tables("tbl_stocks").Rows.Count - 1
Dim ID As String = (ds.Tables("tbl_stocks").Rows(i).Item(0))
myCmd = myConn.CreateCommand
myCmd.CommandText = "SELECT MAX(PId) as LastNum from
`tbl_stocks` WHERE `Category` LIKE '" & cmb_Pname.Text & "' and `ProductName`
LIKE '" & txtbox_Pname.Text & "' "
myConn.Open()
myReader = myCmd.ExecuteReader
While myReader.Read
Try
MAXID1 = myReader("LastNum")
Catch ex As Exception
End Try
End While
myConn.Close()
myCmd = myConn.CreateCommand
myCmd.CommandText = "SELECT `NumberofStocks` FROM `tbl_stocks`
where `PId` like '" & MAXID1 & "'"
myConn.Open()
myReader = myCmd.ExecuteReader
If myReader.HasRows Then
While myReader.Read
totalnumber = myReader.GetString("NumberofStocks")
txtbox_stocks.Text = totalnumber
End While
End If
myConn.Close()
Next
67
myCmd = New MySqlCommand(InsertSQL, myConn)
' myCmd.Parameters.AddWithValue("@roosterno", IDnumber)
myCmd.Parameters.AddWithValue("@Category", cmb_category.Text)
myCmd.Parameters.AddWithValue("@ProductName", cmb_Pname.Text)
myCmd.Parameters.AddWithValue("@NumberofStocks", totalnumber)
myCmd.Parameters.AddWithValue("@Perweekcomsume",
txtbox_quantity.Text)
myCmd.Parameters.AddWithValue("@PerweekExpenses",
LabelX19.Text)
myCmd.Parameters.AddWithValue("@DateofDeduction", datenow)
myCmd.Parameters.AddWithValue("@Status", stat)
myCmd.ExecuteNonQuery()
myConn.Close()
myCmd.ExecuteNonQuery()
myConn.Close()
68