Title: JS Error
Last modified: October 16, 2020

---

# JS Error

 *  [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/js-error-112/)
 * Hi,
 * Please be informed that “Report” section in the frontend emits this erro:
 *     ```
       ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'total_sales' of undefined
       TypeError: Cannot read property 'total_sales' of undefined
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [anhvnit](https://wordpress.org/support/users/anhvnit/)
 * (@anhvnit)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/js-error-112/#post-13550064)
 * Free or Paid version ?
 *  Thread Starter [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/js-error-112/#post-13550479)
 * Hi,
 * It’s the free version.
    I don’t know if you fixed it, I’ve checked today and 
   it works fine. Howver, Total Sales doesn’t subtract Refunds.
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JS Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/openpos_3b88c3.svg)
 * [OpenPos - A Point Of Sales For Woocommerce](https://wordpress.org/plugins/openpos/)
 * [Support Threads](https://wordpress.org/support/plugin/openpos/)
 * [Active Topics](https://wordpress.org/support/plugin/openpos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/openpos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/openpos/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/js-error-112/#post-13550479)
 * Status: not resolved