Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customer Purchases - Wrong Values?
01-13-2018, 06:10 AM (This post was last modified: 01-13-2018 06:36 AM by VortecCPI.)
Post: #1
Customer Purchases - Wrong Values?
CustomerPurchases.php shows Price and Amount of Sale but neither value include discount.

Is this correct and as expected per design?
I changed my script to show actual Price and actual Amount of Sale based upon discount.

See attached file for reference...


Attached File(s)
.php  CustomerPurchases.php (Size: 4.38 KB / Downloads: 2)

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
01-13-2018, 08:14 AM
Post: #2
RE: Customer Purchases - Wrong Values?
Looks good to me Paul, it just needs to be committed.

Thanks
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
01-13-2018, 09:00 AM
Post: #3
RE: Customer Purchases - Wrong Values?
Fix committed to SVN.
Find all posts by this user
Quote this message in a reply
01-16-2018, 06:38 AM (This post was last modified: 01-16-2018 06:40 AM by VortecCPI.)
Post: #4
RE: Customer Purchases - Wrong Values?
I added Units and Discount columns and made a few more small changes to this script so it more closely matches output from OrderDetails.php.


Attached File(s)
.php  CustomerPurchases.php (Size: 4.54 KB / Downloads: 2)

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2018, 08:23 AM
Post: #5
RE: Customer Purchases - Wrong Values?
Looks good to me,

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2018, 08:43 AM
Post: #6
RE: Customer Purchases - Wrong Values?
Changes committed to SVN.
Find all posts by this user
Quote this message in a reply
01-16-2018, 10:31 PM (This post was last modified: 01-17-2018 05:09 AM by VortecCPI.)
Post: #7
RE: Customer Purchases - Wrong Values?
Thank you both and sorry about the need for a double commit.

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 02:26 AM
Post: #8
RE: Customer Purchases - Wrong Values?
No worries on a 'double commit', it happens.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)