Professional Documents
Culture Documents
Lazaru’s Pharmacy.
the logbooks
total price.
reports.
1
2. Development and Description of the Sales and Inventory
below:
Phase I – Planning
phase of development:
system better and ask them what are the problems that
2
3. The researchers also observed the facility and
Activities 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Planning
Software
Analysis
System Design
Development
Testing
Implementation
Maintenance
Figure 5
Gantt Chart
activities:
3
1. The researchers analyze the problems that encountered
4
Cashier’s System
START
No
Available?
Yes
Set the
quantity and
total price of
the product.
Payment
Manual issuing of
receipt.
End
Figure 2
5
Manager’s System
Start
View whether
stocks or
reports
Stocks Reports
Choose a Choose a
product store report
Manually list
Manually list
and calculate
the quantities
the total
of products
sales.
End End
Figure 3
6
Start
HOME
Login
whether
cashier or
manager
Cashier Manager
Add/Edit of
View Miscellan
Check the products
Reports eous
product at and stocks
the POS
2 3 4
No
Available
?
Yes 6
Add and Set
the
quantity of
End
the product
Figure 4
Program Flowchart
7
1 2
Edit
Stocks
Product
Name, Brand
Name,
Database Supplier,
Expiration
Date, Unit,
Price
Figure 5
8
3 4
Purchased
List Input
Brand
Store Report
Add Unit of
Measure
Add and Set
the Date
Input Unit
of Measure
Print the
Reports
Add Business
Type
6
Input
Business
Type
Add
Employees
Full name,
Username,
Password,
Gender,
Database
Position,
Branch,
Birthday,
Address,
Contact Number
Figure 6
9
5
Add Supplier
Name, Business
Type, Address,
Database
Contact
Personnel,
Contact Number
Figure 7
10
Phase IV – Development
following activities:
different devices.
designs.
web development.
engineering.
11
Figure 3
Sample Database
Figure 4
12
Figure 5
Figure 6
13
Phase V – Testing
Phase VI – Implementation
Figure 7
Admin’s Page
14
Figure 8
Cashier’s Page
Phase VII was conducted from 1st week of March 2018 to 2nd
following:
15
Existing System Operating Cost (ESOC)
Table 3
16
Existing System Operating Cost
Table 4
Receipt and
3(Bundle) P 300.00 P 3,600.00
invoice
17
Proposed System Operating Cost (PSOC)
Table 5
Receipt and
5(Bundle) P 200.00 P 2,400.00
invoice
18
Table 6
19
Proposed System Development Cost
Table 7
year
RJ 45 4 P 5 P 20
20
Table 8
Figure Value
ESOC 323,040.00
PSOC 347,040.00
Savings 24,000
Interest 5%
Table 9
21
Payback Period
Where:
x – Number of X marks
DC – Development Cost
Payback Period
= 1 + 0.51
= 1 + 6.16 or
Computation:
= 60,000– 51,520
22
Return of Investment
Computation:
Return of Investment
= 0.164 * 100%
Pharmacy.
3.1 Functionality
Table 10
3.2 Reliability
23
St.Lazaru’s Pharmacy. based on its reliability. From the
Table 11
3.3 Usability
Table 12
3.4 Efficiency
description as “______”.
24
Table 13
3.5 Portability
Table 14
3.6 Maintainability
Table 15
Table 16
System
25
Chapter V
recommendations.
Summary
Maintenance.
Maintainability.
Conclusion
conclusions:
system.
27
2. The researchers successfully developed the proposed
(SDLC).
maintainable.
Recommendations
personnel only.
28
Appendix A
SURVEY QUESTIONNAIRE
Name: ________________________________________________
Cabanatuan City.
SA = Strongly Agree
A = Agree
MA = Moderately Agree
DA = Disagree
SD = Strongly Disagree
29
1. Functionality
STATEMENT SA A MA DA SD
STATEMENT SA A MA DA SD
30
3. Usability
STATEMENT SA A MA DA SD
4. Efficiency
STATEMENT SA A MA DA SD
31
5. Portability
STATEMENT SA A MA DA SD
6. Maintainability
STATEMENT SA A MA DA SD
32
Appendix B
SAMPLE CODE
<?php
//CONNECT AND GET THE DATABASE DATA
require '../core/dbconfig.php';
//DATE and TIME of CURRENT.. FORMATED
date_default_timezone_set("Asia/Manila");
$now = new DateTime();
$cNowDate = $now->format('F d,Y h:i:s A');
//SQL CONNECTION QUERY STATEMENT PREPARATION
$qry = $con->stmt_init();
// VARIABLES OF DATA
$bID = $_SESSION['branch'];
$uID = $_POST['uID'];
$prdID = $_POST['as_prdName'];
$ivNum = $_POST['as_ivNum'];
$deliver = $_POST['deliver'];
$d = new DateTime($deliver);
$dd = $d->format('F d, Y');
$qty = $_POST['qty'];
//SQL QUERY's
//References and Legendes
/*
ivNum = Invoice Number
uID = Shipping manager who added the Stocks to a specific PRoduct
prdID = to Specify the PRODUCT to products table on to the databse
*/
//SELECT QUERY
$s_product = "SELECT a.genName, b.uPrice, c.ivID FROM products a LEFT
JOIN product_details b ON b.prdID = a.prdID LEFT JOIN invoice c ON
c.prdID = a.prdID WHERE a.prdID='".$prdID."' ";
//INSERT QUERY
$i_stock = "INSERT INTO invoice(ivNumber, prdID, ivDate, qty, uID,
branch_id)
VALUES('".$ivNum."','".$prdID."','".$dd."','".$qty."','".$uID."','".$bI
D."')";
// PROCEED THE ACTION TO ADD/INSERT DATA TO DATABASE
if($qry->prepare($i_stock)){
$qry->execute();
audit($_SESSION['usrID'], $_SESSION['username'], "Added ". $qty ."
to product number ".$prdID, $_SESSION['branch']);
//SELECT THE PRODUCT SELECTED ON COMBO BOX
if($qry->prepare($s_product)){
$qry->execute();
$result = $qry->get_result();
if($result->num_rows > 0){
while($row = $result->fetch_row()){
//THIS PROCESS is TO GET THE PRODUCT PRICE TO INSERT THE TOTAL AMOUNT
OF INVOICE
$prdPrice = $row[1];
$invoice = $row[2];
33
//UPDATE QUERY
$u_stock = "UPDATE invoice SET uPrice = '".$prdPrice."'
WHERE ivID='".$invoice."' ";
$u_product = "UPDATE product_details SET qty =
qty+'".$qty."' WHERE prdID='".$prdID."' ";
//UPDATE THE PRODUCT TOTAL AMOUNT
if($qry->prepare($u_stock)){
$qry->execute();
if($qry->prepare($u_product)){
$qry->execute();
echo "Success!";
}
}
//END OF UPDATE STOCK
}
}
//END OF SELECT PRODUCT
}
34
Bibliography
https://www.lifewire.com/what-is-a-web-application-3486637
https://www.nngroup.com/articles/mobile-native-apps/
http://www.jguru.com/faq/view.jsp?EID=129328
http://www.studymode.com/essays/Library-System-With-Web-
And-38962705.html
35