"Water Bottle Tracker": (For Water Refilling Stations)
"Water Bottle Tracker": (For Water Refilling Stations)
Presented by:
Presented to:
PROF. MARTZEL BASTE
April 2017
Background of the Study
Water Refilling Stations are very common in the Philippines this a small
but very profitable business. This business is very light and easy to manage
but there is this one big problem that all water refilling station owner face. The
issue of lost bottles, this problem is very common to all owners because they
can't track who borrowed it and where will it go.
Business Rule
Data Model
tbl_Borrowing
Nul
Column Type Default Links to
l
tbl_CustomerManagem
cm_Id int(11) Yes NULL
ent -> cm_Id
tbl_BottleManagement
bm_Id int(11) Yes NULL
-> bm_Id
DateBorrow datetim CURRENT_TIMESTA
No
ed e MP
tbl_BottleManagement
tbl_CustomerManagement
Links
Column Type Null Default Comments MIME
to
cm_Id (Primary) int(11) No
cm_LastName varchar(30) No
cm_FirstName varchar(30) No
cm_MiddleName varchar(30) No
cm_address varchar(100) No
cm_ContactNo varchar(11) No
onsalebottles
tbl_BottleMangement table:
tbl_CustomerManagement table:
tbl_Borrowing table:
Chapter V
create table tbl_BottleManagement(bm_Id int primary key auto_increment, bm_Status varchar(10) not
null default 'Active', bm_DateAdded datetime not null default now())
Show borrowed bottles and the info of customer who borrowed it:
Borrow Bottle:
while(rs.next())
count++;
while(rs.next())
count++;