Problem with CSV in pro module for inventory
Posted: Sun Sep 10, 2023 8:11 am
Version 1.0.8.20
PHP version 1.8.21
I have added a few new columns into the admin/stats_inventory.php file to include some of the other data stored in the database after adding other Pro modules such as Cost Price and MSRP. On the admin backend when opening the file it shows correctly with all the new headings and columns showing all the correct information, so working as it should.
The problem comes when clicking on the Create CSV button. For some reason the csv that is created does not include all the new column and I cannot figure out why. I have cleared the server cache, computer cache and cannot see anything in the page code that should make it only show the original columns.
Can someone test this just to see whether its me or a problem with the code, or maybe I am just plain missing something somewhere.
PHP version 1.8.21
I have added a few new columns into the admin/stats_inventory.php file to include some of the other data stored in the database after adding other Pro modules such as Cost Price and MSRP. On the admin backend when opening the file it shows correctly with all the new headings and columns showing all the correct information, so working as it should.
The problem comes when clicking on the Create CSV button. For some reason the csv that is created does not include all the new column and I cannot figure out why. I have cleared the server cache, computer cache and cannot see anything in the page code that should make it only show the original columns.
Can someone test this just to see whether its me or a problem with the code, or maybe I am just plain missing something somewhere.