You are on page 1of 35

PROJECT REPORT

ON
“Milk Dairy Management”

SUBMITTED BY
Mr. Abhishek Arunpant Barad
Mr. Rohit Gajanan Tantarpale
Mr. Kirankumar Omprakash Jamdhade
Mr. Ankush Ashok Narkhede

BCA III (SEM II)

GUIDED BY
Prof. P. R. LANDGE
(Department of computer science)

SHRI HANUMAN VYAYAM PRASARAK MANDAL’S

DEGREE COLLEGE OF PHYSICAL EDUCATION AMRAVATI.


(A Multi-faculty Autonomous College)
2021-22

SHRI HANUMAN VYAYAM PRASARAK MANDAL’S


DEGREE COLLEGE OF PHYSICAL EDUCATION, AMRAVATI
(A Multi-faculty Autonomous College)
(Department of computer science)

CERTIFICATE
This is to certify that, the project entitled “Milk Dairy Management” is
submitted and delivered by Mr.Abhishek Arunpant Barad, Mr.Rohit Gajanan
Tantarpale, Mr.Kirankumar Omprakash Jamdhade, Mr.Ankush Ashok
Narkhede of BCA III-Sem II (Bachelor of Computer Application), D.C.P.E.,
H.V.P.M., Amravati. This project is delivered in partial fulfilment of the award
of degree “Bachelor of Computer Application” during the academic year 2021-
22.

Prof. P. R. LANDGE Dr. K. R. Patil


(Project Guide) (Project In-Charge)

(Dept. of Computer Science) (Dept. of Computer Science)

Dr. A. P. Chendke Dr. K. K. Debnath


(Course In-charge of BCA) (Principal)
D.C.P.E., H.V.P.M., Amravati D.C.P.E., H.V.P.M., Amravati

INDEX
S.N. Contents Page No.
1. INTRODUCTION 1

2 STUDY AND ANALYSIS OF EXISTING SYSTEM


3 TECHNOLOGY USED FOR PROPOSED SYSTEM
2.1 Front end
2.2 Back end

4 SYSTEM FLOW CHART


4.1Input/output Design Forms of proposed system
4.2 DFD
5 DATABASE DESIGN

6 CODING

7 PROPOSED SYSTEM SAMPLE SCREENSHOT

8 LIMITATION OF THE SYSTEM

9 FUTURE SCOPE

10 CONCLUSION

11 REFRENCES

INTRODUCTION
The mission of the Milk Production House Project is to create to communication between
rural area people and dairy management. Our main goal to develop this application to
encourage a dairy industry.DAIRY MILK MANAGEMENT SYSTEM is a software application
to maintain day to day transactions in a Milk Distributor Office. This software help to register
all the suppliers, Buyer details, purchase, Sales details etc., The project entitled DAIRY MILK
MANAGEMENT SYSTEM is a pilot project for new Milk Distributor to be start soon in the
city. The management planned this Milk Distribution center to operate on the next month.
They have a big plan to collect the Milks from many different sources and distribute the same
for the Milk buyers. To manage all these they require a full-fledged software which will take
care all these.

Dairy Management System is an application or software designed to manage activities


related to your daily work such as milk collections from members, sales to the customer and
plant and all the dairy-related processes. It became tough for dairy owners to manage all
dairy work manually. To reduce manual work, A dairy management System can help to make
day-to-day dairy related activities easier. It helps to maximize the profit by improving herd
fertility.

You can also track the movement of raw material to the plant storehouse or milk
procurement to the distribution of the product. The whole process you can manage with one
app. Dairy software also assists in demand scheduling, plant system, reporting, and
accounting.

STUDY AND ANALYSIS OF EXISTING SYSTEM


Why we need Dairy management system:

To Manage various functions of Dairy, dairy owners need a dairy management system. it can
ease a variety of a dairy process like cattle management, member management, report
analysis, accounting and finance, milk supply and many more.

Problem-related to dairy management system:

1.Deterioration of perishable goods and items.

2.Unsatisfactory Quality and commodities.

3.Mismatch demand and supply. Some time demand for the product is more as compared to
supply.

4. In India, only 15 % of the organization in dairy management are organized and the other
85% are unorganized

5.Long waiting time and inefficiency. Some times dairy is not managed properly so the farmer
has to wait for a long time for selling their product.

Benefits of Dairy Management:

1. You can get day to day update of your dairy farm.

2. All information can be accessed at any time anywhere.

3. To improve capital and labor productivity.

4. You can identify top performing assets and Non-performing assets.

5.Bridge a gap between demand and supply

TECHNOLOGY USED FOR PROPOSED SYSTEM

 Front end

1. HTML
2. PHP (Server Side Scripting)
3. CSS
4. Javascript
5. Bootstrap

 Back end

1. MySQL

Reasons behind using php :

The main features of php is: it is open source scripting language so you can free download
this and use. PHP is a server site scripting language. It is open source scripting language.
It is widely used all over the world. It is faster than other scripting language.

 Simple
 Open Source
 Platform Independent
 Case Sensitive
 Error Reporting
 Real-Time Access Monitoring
 Loosely Typed Language

Reasons behind using MYSQL as Backend :


MySQL is a Relational Database Management System that is used to store, retrieve, and
manage data into the database. MySQL is based on Client and Server Architecture. Here, the
Client machine requests specific data by querying using Structured Query Language (SQL)
and the server responds with the desired output to the client machine after processing the
request. MySQL server is multithreaded, multitasking, and is designed to work also on
heavy-load production systems. It has both transactional and non-transactional engines.

 Ease of Management

MySQL is an easy to use and simple database system, but in terms of productivity, it is also
an efficient database software and is much less complex to set up and administer. MySQL
Workbench facilitates users to manage databases and layout databases using the graphical
user interface.

 High Performance

MySQL is faster, robust, and cheaper. Its server responds with high-performance result set in
comparison to other databases without compromising with essential functions of the software.
MySQL makes use of Stored procedures and Triggers that allow the users to give higher
performance.

 Client-Server Architecture

MySQL is based on client-server architecture and can be accessed from anywhere as it can
work on distributed networks. Every client machine can communicate to the server using an
internet connection. The server processes client requests and returns the desired output back
to the client machine.

 Compatible and Portable

The MySQL server is multi-threaded, so many clients can request data at the same time. Each
client can use multiple databases simultaneously. MySQL provides several interfaces like
command-line interface, GUI interface, or Web browsers that let you enter queries and view
the desired results.

 Connectivity and Security

MySQL can be distributed over the network and databases can be accessed from anywhere on
the Internet. Only authorized users can access the database by giving proper credentials. To
provide additional security, MySQL supports encryption technology to secure its connections
using the Secure Sockets Layer (SSL) protocol.

SYSTEM FLOW CHART

Dairy Management
System
Admin

Manage Milk Manage


Rate Seller
Manage Staff

DATABASE DESIGN

tblproducts tbladmin

D
DFSMS
tblorder
tblcategory
tblcompany

All Tables :

Admin Table:
This table is used to store information of admin.
Categories Table:
This table stores all information about products categories.

Products table:
This table stores all information about products.
Orders Table:
This table stores all information about orders.

Company table:
This table stores all information about brands products.
Code
Index.php

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(isset($_POST['login']))
{
$adminuser=$_POST['username'];
$password=md5($_POST['password']);
$query=mysqli_query($con,"select ID from tbladmin where
UserName='$adminuser' && Password='$password' ");
$ret=mysqli_fetch_array($query);
if($ret>0){
$_SESSION['aid']=$ret['ID'];
header('location:add-category.php');
}
else{
echo "<script>alert('Invalid details. Please try again.');</script>";
echo "<script>window.location.href='dashboard.php'</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no" />
<title>Login Page</title>
<meta name="description" content="A responsive bootstrap 4 admin
dashboard template by hencework" />

<!-- Favicon -->


<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.ico" type="image/x-icon">

<!-- Custom CSS -->


<link href="dist/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

<!-- HK Wrapper -->


<div class="hk-wrapper">

<!-- Main Content -->


<div class="hk-pg-wrapper hk-auth-wrapper">
<header class="d-flex justify-content-between align-items-center">
<a class="d-flex auth-brand align-items-center" href="#">
<span class="text-white font-30">Dairy Farm Shop Management
System</span>
</a>

</header>
<div class="container-fluid">
<div class="row">
<div class="col-xl-5 pa-0">
<div id="owl_demo_1" class="owl-carousel dots-on-item owl-
theme">
<div class="fadeOut item auth-cover-img overlay-wrap"
style="background-image:url(dist/img/banner2.png);">
<div class="auth-cover-info py-xl-0 pt-100 pb-50">
<div class="auth-cover-content text-center w-xxl-75 w-
sm-90 w-xs-100">

</div>
</div>
<div class="bg-overlay bg-trans-dark-50"></div>
</div>
<div class="fadeOut item auth-cover-img overlay-wrap"
style="background-image:url(dist/img/banner1.png);">
<div class="auth-cover-info py-xl-0 pt-100 pb-50">
<div class="auth-cover-content text-center w-xxl-75 w-
sm-90 w-xs-100">

</div>
</div>
<div class="bg-overlay bg-trans-dark-50"></div>
</div>
</div>
</div>
<div class="col-xl-7 pa-0">
<div class="auth-form-wrap py-xl-0 py-50">
<div class="auth-form w-xxl-55 w-xl-75 w-sm-90 w-xs-100">
<form method="post">
<h1 class="display-4 mb-10">Welcome Back :)</h1>

<div class="form-group">
<input class="form-control" placeholder="Username" type="text"
name="username" required="true">
</div>

<div class="form-group">
<div class="input-group">
<input class="form-control" placeholder="Password" type="password"
name="password" required="true">
<div class="input-group-append">
<span class="input-group-text"><span class="feather-icon"><i data-
feather="eye-off"></i></span></span>
</div>
</div>
</div>

<button class="btn btn-warning btn-block" type="submit"


name="login">Login</button>
<p class="font-14 text-center mt-15">Having trouble logging in?</p>

</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /Main Content -->

</div>
<!-- /HK Wrapper -->
<!-- jQuery -->
<script src="vendors/jquery/dist/jquery.min.js"></script>

<!-- Bootstrap Core JavaScript -->


<script src="vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- Slimscroll JavaScript -->


<script src="dist/js/jquery.slimscroll.js"></script>

<!-- Fancy Dropdown JS -->


<script src="dist/js/dropdown-bootstrap-extended.js"></script>

<!-- Owl JavaScript -->


<script src="vendors/owl.carousel/dist/owl.carousel.min.js"></script>

<!-- FeatherIcons JavaScript -->


<script src="dist/js/feather.min.js"></script>

<!-- Init JavaScript -->


<script src="dist/js/init.js"></script>
<script src="dist/js/login-data.js"></script>
</body>

</html>

Add_Category.php

<?php
session_start();
//error_reporting(0);
include('includes/config.php');
if (strlen($_SESSION['aid']==0)) {
header('location:logout.php');
} else{
// Add Category Code
if(isset($_POST['submit']))
{
//Getting Post Values
$catname=$_POST['category'];
$catcode=$_POST['categorycode'];
$query=mysqli_query($con,"insert into
tblcategory(CategoryName,CategoryCode) values('$catname','$catcode')");
if($query){
echo "<script>alert('Category added successfully.');</script>";
echo "<script>window.location.href='add-category.php'</script>";
} else{
echo "<script>alert('Something went wrong. Please try again.');</script>";
echo "<script>window.location.href='add-category.php'</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no" />
<title>Add Product</title>
<link href="vendors/jquery-toggles/css/toggles.css" rel="stylesheet"
type="text/css">
<link href="vendors/jquery-toggles/css/themes/toggles-light.css"
rel="stylesheet" type="text/css">
<link href="dist/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- HK Wrapper -->
<div class="hk-wrapper hk-vertical-nav">
<!-- Top Navbar -->
<?php include_once('includes/navbar.php');
include_once('includes/sidebar.php');
?>
<div id="hk_nav_backdrop" class="hk-nav-backdrop"></div>
<!-- /Vertical Nav -->
<!-- Main Content -->
<div class="hk-pg-wrapper">
<!-- Breadcrumb -->
<nav class="hk-breadcrumb" aria-label="breadcrumb">
<ol class="breadcrumb breadcrumb-light bg-transparent">
<li class="breadcrumb-item"><a href="#">Product</a></li>
<li class="breadcrumb-item active" aria-current="page">Add</li>
</ol>
</nav>
<!-- /Breadcrumb -->
<!-- Container -->
<div class="container">
<!-- Title -->
<div class="hk-pg-header">
<h4 class="hk-pg-title"><span class="pg-title-icon"><span
class="feather-icon"><i data-feather="external-link"></i></span></span>Add
Product</h4>
</div>
<!-- /Title -->
<!-- Row -->
<div class="row">
<div class="col-xl-12">
<section class="hk-sec-wrapper">
<div class="row">
<div class="col-sm">
<form class="needs-validation" method="post" novalidate>
<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Category</label>
<input type="text" class="form-control" id="validationCustom03"
placeholder="Category" name="category" required>
<div class="invalid-feedback">Please provide a valid category name.</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Category Code</label>
<input type="text" class="form-control" id="validationCustom03"
placeholder="Category Code" name="categorycode" required>
<div class="invalid-feedback">Please provide a valid category code.</div>
</div>
</div>
<button class="btn btn-primary" type="submit"
name="submit">Submit</button>
</form>
</div>
</div>
</section>
</div>
</div>
</div>
<!-- Footer -->
<?php include_once('includes/footer.php');?>
<!-- /Footer -->
</div>
<!-- /Main Content -->
</div>
<script src="vendors/jquery/dist/jquery.min.js"></script>
<script src="vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="vendors/jasny-bootstrap/dist/js/jasny-bootstrap.min.js"></script>
<script src="dist/js/jquery.slimscroll.js"></script>
<script src="dist/js/dropdown-bootstrap-extended.js"></script>
<script src="dist/js/feather.min.js"></script>
<script src="vendors/jquery-toggles/toggles.min.js"></script>
<script src="dist/js/toggle-data.js"></script>
<script src="dist/js/init.js"></script>
<script src="dist/js/validation-data.js"></script>

</body>
</html>
<?php } ?>

//Add_product.php
<?php
session_start();
//error_reporting(0);
include('includes/config.php');
if (strlen($_SESSION['aid']==0)) {
header('location:logout.php');
} else{
// Add product Code
if(isset($_POST['submit']))
{
//Getting Post Values
$catname=$_POST['category'];
$company=$_POST['company'];
$pname=$_POST['productname'];
$pprice=$_POST['productprice'];
$query=mysqli_query($con,"insert into
tblproducts(CategoryName,CompanyName,ProductName,ProductPrice)
values('$catname','$company','$pname','$pprice')");
if($query){
echo "<script>alert('Product added successfully.');</script>";
echo "<script>window.location.href='add-product.php'</script>";
} else{
echo "<script>alert('Something went wrong. Please try again.');</script>";
echo "<script>window.location.href='add-product.php'</script>";
}
}

?>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no" />
<title>Add Product</title>
<link href="vendors/jquery-toggles/css/toggles.css" rel="stylesheet"
type="text/css">
<link href="vendors/jquery-toggles/css/themes/toggles-light.css"
rel="stylesheet" type="text/css">
<link href="dist/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

<!-- HK Wrapper -->


<div class="hk-wrapper hk-vertical-nav">

<!-- Top Navbar -->


<?php include_once('includes/navbar.php');
include_once('includes/sidebar.php');
?>

<div id="hk_nav_backdrop" class="hk-nav-backdrop"></div>


<!-- /Vertical Nav -->

<!-- Main Content -->


<div class="hk-pg-wrapper">
<!-- Breadcrumb -->
<nav class="hk-breadcrumb" aria-label="breadcrumb">
<ol class="breadcrumb breadcrumb-light bg-transparent">
<li class="breadcrumb-item"><a href="#">Product</a></li>
<li class="breadcrumb-item active" aria-current="page">Add</li>
</ol>
</nav>
<!-- /Breadcrumb -->

<!-- Container -->


<div class="container">
<!-- Title -->
<div class="hk-pg-header">
<h4 class="hk-pg-title"><span class="pg-title-icon"><span
class="feather-icon"><i data-feather="external-link"></i></span></span>Add
Product</h4>
</div>
<!-- /Title -->
<!-- Row -->
<div class="row">
<div class="col-xl-12">
<section class="hk-sec-wrapper">

<div class="row">
<div class="col-sm">
<form class="needs-validation" method="post" novalidate>

<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Category</label>
<select class="form-control custom-select" name="category" required>
<option value="">Select category</option>
<?php
$ret=mysqli_query($con,"select CategoryName from tblcategory");
while($row=mysqli_fetch_array($ret))
{?>
<option value="<?php echo $row['CategoryName'];?>"><?php echo
$row['CategoryName'];?></option>
<?php } ?>
</select>
<div class="invalid-feedback">Please select a category.</div>
</div>
</div>

<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Company</label>
<select class="form-control custom-select" name="company" required>
<option value="">Select Company</option>
<?php
$ret=mysqli_query($con,"select CompanyName from tblcompany");
while($row=mysqli_fetch_array($ret))
{?>
<option value="<?php echo $row['CompanyName'];?>"><?php echo
$row['CompanyName'];?></option>
<?php } ?>
</select>
<div class="invalid-feedback">Please select a company.</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Product Name</label>
<input type="text" class="form-control" id="validationCustom03"
placeholder="Product Name" name="productname" required>
<div class="invalid-feedback">Please provide a valid product name.</div>
</div>
</div>

<div class="form-row">
<div class="col-md-6 mb-10">
<label for="validationCustom03">Product Price</label>
<input type="text" class="form-control" id="validationCustom03"
placeholder="Product Price" name="productprice" required>
<div class="invalid-feedback">Please provide a valid product price.</div>
</div>
</div>

<button class="btn btn-primary" type="submit"


name="submit">Submit</button>
</form>
</div>
</div>
</section>

</div>
</div>
</div>

<!-- Footer -->


<?php include_once('includes/footer.php');?>
<!-- /Footer -->

</div>
<!-- /Main Content -->
</div>

<script src="vendors/jquery/dist/jquery.min.js"></script>
<script src="vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="vendors/jasny-bootstrap/dist/js/jasny-bootstrap.min.js"></script>
<script src="dist/js/jquery.slimscroll.js"></script>
<script src="dist/js/dropdown-bootstrap-extended.js"></script>
<script src="dist/js/feather.min.js"></script>
<script src="vendors/jquery-toggles/toggles.min.js"></script>
<script src="dist/js/toggle-data.js"></script>
<script src="dist/js/init.js"></script>
<script src="dist/js/validation-data.js"></script>

</body>
</html>
<?php } ?>

Invoice.php

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if (strlen($_SESSION['aid']==0)) {
header('location:logout.php');
} else{
// Code for deletion
if(isset($_GET['del'])){
$cmpid=substr(base64_decode($_GET['del']),0,-5);
$query=mysqli_query($con,"delete from tblcategory where id='$cmpid'");
echo "<script>alert('Category record deleted.');</script>";
echo "<script>window.location.href='manage-categories.php'</script>";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no" />
<title>Manage Invoices</title>
<!-- Data Table CSS -->
<link href="vendors/datatables.net-dt/css/jquery.dataTables.min.css"
rel="stylesheet" type="text/css" />
<link
href="vendors/datatables.net-responsive-dt/css/responsive.dataTables.min.css"
rel="stylesheet" type="text/css" />
<link href="vendors/jquery-toggles/css/toggles.css" rel="stylesheet"
type="text/css">
<link href="vendors/jquery-toggles/css/themes/toggles-light.css"
rel="stylesheet" type="text/css">
<link href="dist/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- HK Wrapper -->
<div class="hk-wrapper hk-vertical-nav">
<!-- Top Navbar -->
<?php include_once('includes/navbar.php');
include_once('includes/sidebar.php');
?>
<div id="hk_nav_backdrop" class="hk-nav-backdrop"></div>
<!-- /Vertical Nav -->
<!-- Main Content -->
<div class="hk-pg-wrapper">
<!-- Breadcrumb -->
<nav class="hk-breadcrumb" aria-label="breadcrumb">
<ol class="breadcrumb breadcrumb-light bg-transparent">
<li class="breadcrumb-item"><a href="#">Invoice</a></li>
<li class="breadcrumb-item active" aria-current="page">View</li>
</ol>
</nav>
<!-- /Breadcrumb -->

<!-- Container -->


<div class="container">

<!-- Title -->


<div class="hk-pg-header">
<h4 class="hk-pg-title"><span class="pg-title-icon"><span class="feather-
icon"><i data-feather="file"></i></span></span>View Invoice</h4>
</div>
<!-- /Title -->

<!-- Row -->


<div class="row">
<div class="col-xl-12">
<section class="hk-sec-wrapper hk-invoice-wrap pa-35">
<div class="invoice-from-wrap">
<div class="row">
<div class="col-md-7 mb-20">
<h3 class="mb-35 font-weight-600"> DFSMS </h3>
<h6 class="mb-5">Dairy Farm Shop Management System</h6>
</div>

<?php
//Consumer Details
$inid=$_SESSION['invoice'];
$query=mysqli_query($con,"select distinct
InvoiceNumber,CustomerName,CustomerContactNo,PaymentMode,InvoiceGe
nDate from tblorders where InvoiceNumber='$inid'");
$cnt=1;
while($row=mysqli_fetch_array($query))
{
?>
<div class="col-md-5 mb-20">
<h4 class="mb-35 font-weight-600">Invoice / Receipt</h4>
<span class="d-block">Date:<span class="pl-10 text-dark"><?php echo
$row['InvoiceGenDate'];?></span></span>
<span class="d-block">Invoice / Receipt #<span class="pl-10 text-dark"><?php
echo $row['InvoiceNumber'];?></span></span>
<span class="d-block">Customer #<span class="pl-10 text-dark"><?php echo
$row['CustomerName'];?></span></span>
<span class="d-block">Customer Mobile No #<span class="pl-10 text-
dark"><?php echo $row['CustomerContactNo'];?></span></span>
<span class="d-block">Payment Mode #<span class="pl-10 text-dark"><?php
echo $row['PaymentMode'];?></span></span>
</div>
</div>
</div>
<?php } ?>
<hr class="mt-0">
<div class="row">
<div class="col-sm">
<div class="table-wrap">
<table class="table mb-0" border="1">
<thead>
<tr>
<th>#</th>
<th >Product Name</th>
<th>Category</th>
<th>Company</th>
<th width="5%">Quantity</th>
<th width="10%">Unit Price</th>
<th width="10%">Price</th>

</tr>
</thead>
<tbody>
<?php
//Product Details
$query=mysqli_query($con,"select
tblproducts.CategoryName,tblproducts.ProductName,tblproducts.CompanyNam
e,tblproducts.ProductPrice,tblorders.Quantity from tblorders join tblproducts on
tblproducts.id=tblorders.ProductId where tblorders.InvoiceNumber='$inid'");
$cnt=1;
while($row=mysqli_fetch_array($query))
{
?>
<tr>
<td><?php echo $cnt;?></td>
<td><?php echo $row['ProductName'];?></td>
<td><?php echo $row['CategoryName'];?></td>
<td><?php echo $row['CompanyName'];?></td>
<td><?php echo $qty=$row['Quantity'];?></td>
<td><?php echo $ppu=$row['ProductPrice'];?></td>
<td><?php echo $subtotal=number_format($ppu*$qty,2);?></td>
</tr>
<?php
$grandtotal+=$subtotal;
$cnt++;
} ?>
<tr>
<th colspan="6" style="text-align:center; font-size:20px;">Total</th>
<th style="text-align:left; font-size:20px;"><?php echo
number_format($grandtotal,2);?></th>

</tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
</div>
</div>
<!-- /Row -->
</div>
<!-- /Container -->
<!-- Footer -->
<?php include_once('includes/footer.php');?>
<!-- /Footer -->
</div>
<!-- /Main Content -->
</div>
<!-- /HK Wrapper -->

<script src="vendors/jquery/dist/jquery.min.js"></script>
<script src="vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="dist/js/jquery.slimscroll.js"></script>
<script src="vendors/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="vendors/datatables.net-bs4/js/dataTables.bootstrap4.min.js"></
script>
<script src="vendors/datatables.net-dt/js/dataTables.dataTables.min.js"></
script>
<script src="vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></
script>
<script
src="vendors/datatables.net-buttons-bs4/js/buttons.bootstrap4.min.js"></script>
<script src="vendors/datatables.net-buttons/js/buttons.flash.min.js"></script>
<script src="vendors/jszip/dist/jszip.min.js"></script>
<script src="vendors/pdfmake/build/pdfmake.min.js"></script>
<script src="vendors/pdfmake/build/vfs_fonts.js"></script>
<script
src="vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
<script src="vendors/datatables.net-buttons/js/buttons.print.min.js"></script>
<script
src="vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></
script>
<script src="dist/js/dataTables-data.js"></script>
<script src="dist/js/feather.min.js"></script>
<script src="dist/js/dropdown-bootstrap-extended.js"></script>
<script src="vendors/jquery-toggles/toggles.min.js"></script>
<script src="dist/js/toggle-data.js"></script>
<script src="dist/js/init.js"></script>
</body>
</html>
<?php } ?>
PROPOSED SYSTEM SAMPLE SCREENSHOT
Homepage

Admin Dashboard

Categories
Manage Products

Sales Report
Invoice report

Limitation of the Dairy management system


1. knowledge about computers.

2. Useful for only literate people.

3. The latest technology is involved so it required a high cost.

4. Not useful for every farmer/member.

5. A good internet connection is required. Without the internet, dairy work has been stopped.

6.Deterioration of perishable goods and items.

7.Unsatisfactory Quality and commodities.

8.Mismatch demand and supply. Some time demand for the product is more as compared to
supply.

9. In India, only 15 % of the organization in dairy management are organized and the other
85% are unorganized

10.Long waiting time and inefficiency. Some times dairy is not managed properly so the
farmer has to wait for a long time for selling their product.

FUTURE SCOPE

1. Facilitate easily maintenance o

2. Maintain Daily inventory reports and records of Members.

3.Quick access to all records.


4.Generate Regular basis Salary

5.Reduce manual work

6.Prevent and reduce human error

7. Record medical supplies with the use of feed stuff and the cost of medical treatment as
well.

8. Help with the automatic registration of dairy people.

9. Allow multiple users to use the software at the same time.

10. Helping the dairy owner to mitigate the losses and increase productivity.

CONCLUSION

What we are witnessing today are concerted efforts towards increased milk production
through promotion of dairying in high potential areas. Unfortunately there is no parallel
effort directed towards post production handling of surplus milk. With the collapse of the
TDL, this development endeavour has been threatened with stagnation. Milk consumption
level has dropped. High prices and falling standard of living seem to be the most important
contributing factors. We need to address this situation at earliest possible time. Milk
processing and marketing strategies has to be developed. Small scale producers need to be
mobilized to form producer - processor cooperatives at grass root level. MOA has a vital roll
to play; using its Cooperative department in mobilizing farmers. Deliberate efforts need to
be undertaken to encourage private enterprenuers (concessions?) to invest.

Milk being bulky and highly perishable collection and processing need to be well located.
Cost effective methods must be employed to keep prices of dairy products at levels where
most consumers can afford. Advertising and promotion will form an essential part of
marketing. Processed products have to be moved closer to the consumer in order to
promote sales. Organisations such as Tanzania Bureau of standards has an important role to
play to ensure that high quality products and services are rendered. In undertaking
processing the range of products to be produced must be directed towards consumer
needs.

REFRENCES

You might also like