Comments (9)
But what if you want to return it before it’s delivered? Just get a refund... then we save on the shipping. I think we don’t do that check because you then can’t change your mind and get your refund right away.
From: thpierce [mailto:[email protected]]
Sent: November-25-14 8:08 PM
To: gminaker/databases
Subject: [databases] Return if no delivery (#20)
We shouldn't be able to return stuff with no delivery date, right? I feel like we currently can, and should check this!
—
Reply to this email directly or view it on GitHub #20 .Image removed by sender.
from databases.
Ok fair, but then we should probably delete that thing from process deliveries
from databases.
I don’t know what’s in process delivery. Haven’t worked on that file.
from databases.
I guess what I mean is more general: if everything is returned, this purchase should not exist anymore. There was no purchase, so no need to process in other things, such as process delivery, top selling items, etc.
from databases.
I disagree, just because something gets returned doesn’t mean you remove the record of it. Once a transaction has happened you don’t want to edit it. We still want to know that something was purchased even if all are returned.
from databases.
Tried returning 1 from receipt 3926
Warning: array_push() expects parameter 1 to be array, null given in C:\Users\Annie\databases\views\clerk\process_refund.php on line 155
If I try returning it again:
1 of UPC, 616402673105, have/has already been returned on this receipt.
Warning: array_push() expects parameter 1 to be array, null given in C:\Users\Annie\databases\views\clerk\process_refund.php on line 150
from databases.
@anniechen92 try it now, pushed to master with change. It was an error checking scope thing.
from databases.
Doesn't update stock
from databases.
Fixed
from databases.
Related Issues (20)
- Format error messages HOT 4
- User feedback HOT 2
- Have User name at top of screen HOT 1
- Searching causes results to go bottom of screen
- Cannot Purchase items HOT 15
- /?page=purchase Shouldn't exist? HOT 1
- Add Items Errors HOT 3
- cart allows negative quantities
- Add error handling for all mysqli queries HOT 1
- Customer Registration HOT 6
- Remove exit() in purchase_items.php
- Checkout Bill HOT 2
- remove exit() in process_refund.php HOT 5
- Process Delivery Page Looking Wierd HOT 2
- View cart no item found bug also nothing in cart should draw nothing HOT 2
- Receipt format displays total etc HOT 4
- Create Short User Manual HOT 1
- Clearing the Shopping Cart HOT 1
- Optional ideas if time allows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databases.