siamon123 / warehouse-inventory-system Goto Github PK
View Code? Open in Web Editor NEWOpen source inventory management system with php and mysql
Home Page: http://www.oswapp.com
License: MIT License
Open source inventory management system with php and mysql
Home Page: http://www.oswapp.com
License: MIT License
This shows up when I try to generate a sales report.
( ! ) Parse error: syntax error, unexpected '[' in C:\wamp\www\warehouse-inventory-system-master\sale_report_process.php on line 115
Error on this Query :
SHOW TABLES FROM oswa_inv-313233220b LIKE "users"
When I change the sale vale it does not update on the sales report
Getting the error of , it is not good to depend on system time. Can you please help us where to set the time and change UTC to IST and fix the issue.
I Siamon123, I had copy all the fils to the server and changed the password via MD5 for admin user in database table but still it is saying wrong password/ username can you help me.
Thanks
This is a nice product u created.
When click the Add Sale, nothing happens.
Thanks.
cant really install this well and given some ish
Your warehouse invetory system is cool. but part of the report is still error. hehe. approximately in the section where the error?
Hello, The "add sale" option is missing.
How could I add the function to add new sales?
Thank you very much
Parse error: syntax error, unexpected '.', expecting ',' or ';' in C:\wamp\www\inventory\warehouse-inventory-system\includes\upload.php on line 10
Call Stack
1 0.0005 136064 {main}( ) ..\index.php:0
2 0.0009 157688 require_once( 'C:\wamp\www\inventory\warehouse-inventory-system\includes\load.php' ) ..\index.php:3
how to add group call permissions and after that which tab should i open first? it's very confusing and if you can share full documentation of this very then it could be very easy to understand revert as soon as possible
Hi,
Thanks for the great tool, I want to add two users in the application one is admin and second is for entries only who can not add or remove users.
Thanks
I see you are doing escaping, but still, string concatenation, seems risky. mysqli is already there, just make all the queries parameterized to prevent injection
can't add/change the cents.
When you click the find it button at sale -> add sale -> find it, ajax.php does not seem to respond or display the result. I typed ipad. It didn't show anything.
Hi, i have this error in
monthly_sales.php
SELECT s.qty, DATE_FORMAT(s.date, '%Y-%m-%e') AS date,p.name,SUM(p.sale_price * s.qty) AS total_saleing_price FROM sales s LEFT JOIN products p ON s.product_id = p.id WHERE DATE_FORMAT(s.date, '%Y' ) = '2020' GROUP BY DATE_FORMAT( s.date, '%c' ),s.product_id ORDER BY date_format(s.date, '%c' ) ASC
daily_sales.php
SELECT s.qty, DATE_FORMAT(s.date, '%Y-%m-%e') AS date,p.name,SUM(p.sale_price * s.qty) AS total_saleing_price FROM sales s LEFT JOIN products p ON s.product_id = p.id WHERE DATE_FORMAT(s.date, '%Y-%m' ) = '2020-06' GROUP BY DATE_FORMAT( s.date, '%e' ),s.product_id
Hello,
I have a problem, I have created few users, and somehow they cannot login to the system
Could you help me fix this problem ?
Thanks.
Hi,
I get a parse error by visiting my local warehouse-inventory-system
PHP Parse error: parse error, expecting
','' or ';'' in /Users/henkvalk/Sites/warehouse/warehouse-inventory-system/includes/upload.php on line 10
public $userPath = SITE_ROOT.DS.'..'.DS.'uploads/users';
public $productPath = SITE_ROOT.DS.'..'.DS.'uploads/products';
After changing it with full relative path the login will show up:
public $userPath = '/Users/henkvalk/Sites/warehouse/warehouse-inventory-system/uploads/users';
public $productPath = '/Users/henkvalk/Sites/warehouse/warehouse-inventory-system/uploads/products';
Hi
In the file add_sale.php I can see this lines
`
and I can see you send a parameter to ajax.php
`<?php
// Auto suggetion
$html = '';
if(isset($_POST['product_name']) && strlen($_POST['product_name']))
{
$products = find_product_by_title($_POST['product_name']);
if($products){
foreach ($products as $product):
$html .= "<li class="list-group-item">";
$html .= $product['name'];
$html .= "";
endforeach;
} else {
$html .= '<li onClick=\"fill(\''.addslashes().'\')\" class=\"list-group-item\">';
$html .= 'No encontrado';
$html .= "</li>";
}
echo json_encode($html);
}
?>`
the problem is I want to change the parameter but I dont see the pamarameter called "product_name" from add_sale.php to ajax.php..can you explain me pleasee. I need this project for my school..=)
Wich is your logic, please let me know .
Is really interested your system.
Thanks
Hi. I encountered this issue at the time of deploying it in xampp.
Wasrning: mysqli_connect(): (HY000/1045): Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs....\includes\database.php on line 18
Database connection failed:Access denied for user 'admin'@'localhost' (using password: YES).
Sale Order Added System Do not truncate balances Or how to check the balance?
Any thought on using a secure and fun framework?
Take a look at this one below
I get the following each and every time I attempt to add or remove anything in the system.
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /folder1/folder2/folder3/folder4/includes/load.php:2) in /folder1/folder2/folder3/folder4/includes/session.php on line 2
SHOW TABLES FROM uw-inventario LIKE "users"
I have this problem on my first login as admin/admin, i can not login on system...
Someone has a problem like this?
Obs: the "uw-inventario" is my db name.
Generate Sales Report is Having Issues. Hoping this will be fixed because I need this software in my shop.
It has this issues
Notice: Undefined variable: profit in C:\xampp\htdocs\WIS\includes\functions.php on line 83
Cannot Generate Sales Report :(
Hi to all!
i ve found today this beautiful script and customizing for my need.
Any idea how create a view product page with image?
i try to do but i cannot show image, i retrive all data...
thx
best regards
``
msg("d","Missing product id."); redirect('product.php'); } ?> </strong>
</div>
<div class="panel-body">
<div class="col-md-7">
<img src="uploads/products/<?php echo $product['image']; ?>" alt="product-image" class="img-circle img-inline">
<br><hr>
NAME:<?php echo remove_junk($product['name']);?><br>
COD:<?php echo remove_junk($product['code']);?><br>
Q.TY<?php echo remove_junk($product['quantity']); ?><br>
ACQ<?php echo remove_junk($product['buy_price']);?><br>
EBAY<?php echo remove_junk($product['sale_price']);?><br>
DATA_ENTRY<?php echo read_date($product['date']); ?>
</div>
Cross-Site Request Forgery (CSRF) on edit_user.php
page allows changing the admin password from a 3rd party site.
For fix see: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html
Hello
I'm using a local Wamp server. After installing I had a blank screen. When i activated the PHP Error display option this is what I got.
Parse error: syntax error, unexpected '.', expecting ',' or ';' in C:\wamp\www\inventorysystem\includes\upload.php on line 10
I can not pass this stage.
Parse error: syntax error, unexpected '.', expecting ',' or ';' in C:\wamp\www\warehouse-inventory-system\includes\upload.php on line 10 como lo puedo resolver
how to change the datetime of system?
Can't sign up or login new users, even new users are made from admin panel. help please
I import all file to my host and change the config.php file with my db information, but no load the index page. An error comes out: "An Exception was thrown while handling: not found" when i search the url "localhost/project/warehouse-inventory-system/index.php" in browser.
Thankssss for all.
function total_price($totals){
$sum = 0;
$sub = 0;
foreach($totals as $total ){
$sum += $total['total_saleing_price'];
$sub += $total['total_buying_price'];
$profit = $sum - $sub;
}
return array($sum,$profit); <= not yet defined so if i want to fix it how ?
function total_price($totals){
$sum = 0;
$sub = 0;
$profit = 0; <= can i change to be like this ?
foreach($totals as $total ){
$sum += $total['total_saleing_price'];
$sub += $total['total_buying_price'];
$profit = $sum - $sub;
}
return array($sum,$profit);
When I enter a sale and change the date, it always stores the date of today.
No matter if I choose a date from the selector or enter it myself.
I have downloaded the source codes and so far I found out that the file for edit user and logout are missing.
When i have uploaded files on web server the redirect ('admin.php',false) would not work in auth page. Does anyone of you made a fix to it. please help. thanks in advance
Hi guys, i have installed oswap in my local server, but i ask you if it is possible to use a barcode reader to load articles faster, thanks.
Hi. You code is so clear that I can read it without difficulty, Thanks a lot for allowing me to use it. I've added some small function but it's still have trouble. I write it in https://github.com/Qmoliang/accounting-star-system. Besides, I want to know in which environment you build those files, for example, includes and layout. Is it built and designed by yourself or by software default? If it's from software, can you tell me which software? PHPstorm or sublime? Since I can't establish your files' structure automatically.
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /Users/username/Downloads/warehouse-inventory-system/includes/load.php:1) in /Users/username/Downloads/warehouse-inventory-system/includes/session.php on line 2
any idea?
function total_price($totals){ $sum = 0; $sub = 0; $profit = 0; /*add variable for the profit result*/ foreach($totals as $total ){ $sum += $total['total_saleing_price']; $sub += $total['total_buying_price']; $profit = $sum - $sub; } return array($sum,$profit); }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.