Thread Rating:
  • 0 Vote(s) - 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.)
#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 Files
.php   CustomerPurchases.php (Size: 4.38 KB / Downloads: 2)
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-13-2018, 08:14 AM,
#2
RE: Customer Purchases - Wrong Values?
Looks good to me Paul, it just needs to be committed.

Thanks
Tim
Reply
01-13-2018, 09:00 AM,
#3
RE: Customer Purchases - Wrong Values?
Fix committed to SVN.
Reply
01-16-2018, 06:38 AM, (This post was last modified: 01-16-2018, 06:40 AM by VortecCPI.)
#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 Files
.php   CustomerPurchases.php (Size: 4.54 KB / Downloads: 2)
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-16-2018, 08:23 AM,
#5
RE: Customer Purchases - Wrong Values?
Looks good to me,

Tim
Reply
01-16-2018, 08:43 AM,
#6
RE: Customer Purchases - Wrong Values?
Changes committed to SVN.
Reply
01-16-2018, 10:31 PM, (This post was last modified: 01-17-2018, 05:09 AM by VortecCPI.)
#7
RE: Customer Purchases - Wrong Values?
Thank you both and sorry about the need for a double commit.
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-17-2018, 02:26 AM,
#8
RE: Customer Purchases - Wrong Values?
No worries on a 'double commit', it happens.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)