ToutPratique 1d1a2def5f push prod
2016-05-17 15:54:37 +02:00

227 lines
8.4 KiB
Plaintext

Order Tax Profit Report
http://www.businesstech.fr/en/contact-us
Change history for "Order Tax Profit Report"
---------------------------------------
Version 2.9.1 (09/02/2016)
- Updated API URL
- Updated for validator
Version 2.9.0 (23/11/2015)
- Update to manage the margin when a discount amount of 100% is applied
- Bug fix for PS 1.3 with total_products_no_tax
- Add calculation details
Version 2.8.4 (13/04/2015)
- Update getOrdersDetail() and getOrderDetailIds() for shop without product attribute
Version 2.8.3
- make the module compatible with some stantards of PrestaShop Addons (validator)
- Bug fix for product_price column when a group reduction and a specific price are applied at the same time. PS calculate the product unit price tax excluded from specific price first and apply the group reduction after.
- Bug fix for product quantity in product report, for product with more one supplier.
Version 2.8.2
- Bug fix for wholesale_price populate
- Update getOrdersDetail() function
Version 2.8.1
- Small bug fix for populate wholesale_price in module installation.
Version 2.8.0
- Added better management for wholesale_price
Version 2.7.1 (01/10/2014)
- Update to respect validator
Version 2.7.1 (01/10/2014)
- Small bug fix for french translations
- Small bug fix for "order by" missing in getOrderDetails() function. In some cases, the order by is not well-done by Mysql and order's details were truncated and mismatched the wrapping order ID.
Version 2.7.0 (05/06/2014)
- Make the module compatible PS 1.6
- Added new layout look like PS 1.6
- Added type of filter at the top of report with range of date or number
Version 2.6.3 (25/02/2014)
- Small bug fix for Ecotax addition to the total tax, it is included by default in price with tax and the same for Tax amount. We have removed ecotax addition to the total.
- Small bug fix for Order slip made only on shipping amount in order to add properly by testing if key exists and not with isset() function. Because PrestaShop returns NULL as value when there is no order slip made for product tax Excl.
Version 2.6.2 (18/02/2014)
- Small bug fix for SQL function name in module-dao class. it made an issue around MySql update during installation.
Version 2.6.1 (07/01/2014)
- Added order date filter
- changed the way to insert data into their own ables around Shipping and wrapping tax, loop on MySql resource in order to perform SQl INSERT
- Changes MySql query on tax table to matching with inactive tax too.
Version 2.6.0 (27/11/2013)
- Added filter on multiple countries + display EAN and UPC code for product report
- Small bug fix for encoded string. String was UTF-8 decode twice and display ? characters with CSV output.
Version 2.5.4 (25/11/2013)
- Added Spanish and Italian translations
Version 2.5.3 (09/09/2013)
- small fix bug on default text when manufacturers, categories and products have been removed from the back-office. The text was displayd with HTML tags and the csv export didn't work in this case, all columns were shifted.
Version 2.5.2 (05/09/2013)
- Fix on total product tax excluded calculated with rounding on 2 digits by Prestashop in ps_orders table. Make a wrong rounding on total product tax excl. and net and gross margin.
Version 2.5.1 (20/08/2013)
- Fix on tax rate columns for when tax is disabled altogether on the shop
Version 2.5.0 (22/07/2013)
- Add credit slip feature
- Added number formatting options in module configuration
- change rounding behavior in entire calculation process, accurate rounding made in last calculation
- Fix on gross profit calculation with group reductions for versions 1.3.2.3 to 1.4.11
- allow float number formatting with a ',' or '.'
- Fix in /templates/admin/tab/form.tpl (added {literal} otherwise it crashes on 1.2 / 1.3)
- Fix in /lib/module-dao_class.php => getCustomerGroup: there is no id_default_group in customer table on 1.2. Just use Group::getGroups() instead. Deleted getCustomerGroup() in DAO.
Version 2.4.0 (22/04/2013):
- change all layout of the module, default PS 1.5 layout has been included
- add preferences feature on displayed filters
- bug fix for reduction group which is already included in sale price => subtracted twice
- bug fix for total product tax, a subtraction of a negative value was made, we are using the absolute value now
- bug fix for discount distribution on each product of order, only made individually, quantity of each product has not taken into account
Version 2.3.2 (22/04/2013):
- Fix on shipping amount and shipping tax on versions 1.2 / 1.3 when there is no tax assigned to carrier
Version 2.3.1 (28/03/2013):
- Fix on shipping tax for versions 1.2 / 1.3
- Fix on ecotax for versions 1.2 / 1.3
Version 2.2.6 (27/03/2013):
- Fix on extra space in product total quantity column in CSV mode
Version 2.2.5 (26/03/2013):
- Fix on ecotax (forgot to multiply by product quantity)
Version 2.2.4 (20/03/2013):
- In product reports when choosing breakdown by attribute combination, fix to correctly return reference and supplier_reference on products without combinations
Version 2.2.3 (19/03/2013):
-Small fix on ecotax for version 1.4
Version 2.2.2 (18/03/2013):
-Small formating fix on ecotax no tax column
Version 2.2.1 (14/03/2013):
- Added carrier and payment method in Full report
- Replaced ob_clean() with @ob_end_clean
- Added 2 Ecotax columns (HT and VAT) in all reports
- Added images option on product reports
- Added customer / CRM reports
- Fixed display issue where suffix (currency or %) was not appended to numbers when amount was 0
Version 2.1.1 (24/01/2013):
- small bug fix on product unit price for Tax calculation and displaying product report
- small change fix for displaying supplier reference when combination are displayed in product report
Version 2.0.7 (22/01/2013):
- small bug fix on wrapping tax calculation, reverse wrapping tax excl and wrapping tax incl for populate wrapping order table from orders detail
- small bug fix on checking module upgrade condition
Version 2.0.6 (10/01/2013):
- small bug fix on wrapping tax calculation, forgot SUM function in MySql
Version 2.0.5 (10/01/2013):
- small bug fix on discount tax calculation
Version 2.0.4 (09/01/2013):
- bug fix on orders detail for wrapping
- bug fix on calculation of total tax
Version 2.0.3 (07/01/2013):
- Small bug fix on version_compare for 1.5 on datepicker.css inclusion
Version 2.0.2 (07/01/2013):
- fix supplier reference on product report, wrong copy paste
- Consequence : display product reference twice instead of supplier reference.
- fix supplier translation on export form with product report
- consequence : display supplier instead of manufacturers
Version 2.0.1 (17/12/2012):
- Updates to make the module with version 1.5 and multi-shop
- Add tables for taking account of discount and wrapping on vouchers, it makes a more accurately report by including profit and VAT amount on it
Version 1.1.4 (05/10/2012):
- Change checking number version for under 1.3 version
- Consequence : wrong databases fields applied for under 1.3.0.1 version as new level is 1.3.2.3
Version 1.1.3 (17/09/2012):
- Move conversion rate to calculation of gross profit with product price and not with product price - whole sale price. Made for all prestashop versions.
- Consequence : applied on sum of product price - wholesale price as well as on product report is was only applied on product price and not on wholesale price
- detect report's type for combination option
- Consequence : user experience was in trouble when you display product report with combination and after you display order report. Combination was still activated and made a group by attribute id.
Version 1.1.2 (13/09/2012):
- Delete product attribute name column + join on tables with product combination and lang + delete conversion rate in total cost for order reports
- Consequence : duplicate result's lines with product attribute name (quantity *2 for combination with multiple attributes + calculation of total cost was wrong with conversion rate
Version 1.1.1 (30/08/2012):
- Modified column order and included columns on some reports
Version 1.1.0 (13/08/2012):
- fix bug : net margin calculation + gross margin + product gross margin, add multi currencies / handle discounted sell product price , add Fancybox for HTML report, add country filter, add group by product attribute, add % of total sales and profit for brands, suppliers and categories
Version 1.0.2 (25/06/2012):
- fix bug : modify templates in search form
Version 1.0.1 (10/05/2012):
- Original release