=== ATUM WooCommerce Inventory Management and Stock Tracking === Contributors: stockmanagementlabs, salvamb, japiera, agimeno82, dorquium Tags: woocommerce inventory management, suppliers, purchase orders, inbound stock, woocommerce statistics, decimals in stock quantities, full woocommerce stock manager, stock management, woocommerce, inventory logs, purchase orders, inbound stock, woocommerce stock control, stock for woocommerce, woocommerce products, woocommerce inventory, woocommerce for business, woocommerce shop organiser, woocommerce shop, inventory for woocommerce Requires at least: 5.6 Tested up to: 6.5.0 Requires PHP: 7.3 WC requires at least: 5.0 WC tested up to: 8.7.0 Stable tag: 1.9.38 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html WooCommerce Full Inventory Management, Purchase Orders, Suppliers, Inbound Stock, Inventory Logs, WooCommerce Sales Statistics and More. == Description == **✨ NEW IMPROVED ATUM v1.9 ✨** [youtube https://www.youtube.com/watch?v=uAUXj4vUYRs] **💻 NEW [ATUM REST API](https://stockmanagementlabs.github.io/atum-rest-api-docs/)** **📖 NEW [ATUM's KNOWLEDGE BASE](https://stockmanagementlabs.crunch.help/)** **💬 [FOR ANY QUESTIONS, VISIT OUR OFFICIAL FORUMS](https://forum.stockmanagementlabs.com "Visit the official ATUM forum")** = DESCRIPTION = If you have an online store you need ATUM, the most **powerful stock management solution** for Woocommerce. ATUM is now the most advanced FREE WooCommerce inventory management tool in the WordPress plugins repository. Good WooCommerce inventory solution is an absolute must for every serious shop owner. The Dashboard Statistics or the breath-taking Stock Central, the heart of ATUM, gives you the full control of your WooCommerce stock. Get the ability to quickly edit every aspect of your WooCommerce inventory, suppliers, SKUs, locations, weight or even prices. Beautifully carved into the WordPress interface, the system feels very familiar and **user-friendly**. ATUM Dashboard creates an entirely new and we felt a necessary connection between the creators and users. The dashboard aims to become an everyday screen with a quick link to support, documentation and most importantly business stats. We have developed a brand new widget section that can be personalised from every corner. Each section of ATUM has an **intuitive layout** to favor the experience of store owners, facilitating stock management, and contributing to the optimization of time and resources. We understand that shop owners need to focus their efforts on growing their online business, so our aim is to accompany our clients through our add-ons to **get to the top**. **Stock Management Labs™**, creators that have combined over 25 years of experience in inventory management, working very closely with a bunch of professional WordPress developers since October 2016. The aim is to create the complete WooCommerce solution that will take care of all your business needs. In addition, in the preparation process for the development stage, we have tested and tried the most popular WooCommerce inventory management and cloud inventory management plugins in the world. With full confidence, we believe that ATUM will become unrivalled in every category. = AVAILABLE FEATURES = **[WPML FULLY COMPATIBLE](https://wpml.org/plugin/atum-inventory-management-for-woocommerce/ "Visit the WPML compatibility page")** Most Advanced FREE WooCommerce Inventory Management - Inventory Statistics (Periodical Sales, Inventory Levels, Lost Sales, Promo Sales), Stock Central with Data Export, Inventory Logs (Reserved Stock, Lost In Post, Customer Returns, Inbound Stock, Warehouse Damages), One Page Updating, Quick Price Changes, Stock Levels Indicators, Suppliers, Purchase Orders and Premium Add-ons. * ATUM ground-breaking Stock Control system. * All WooCommerce products on one screen with a smooth mouse wheel or touchpad scrolling. * Image thumbnails for easier identification of your WooCommerce Inventory. * Short product names overview including the products' ID and SKU. Change SKUs on the fly from one screen. Now with direct edit links. * Purchase prices now included with direct edit from the Stock Central page. WooCommerce inventory management was never easier. * Suppliers column and fully filtered product list by Suppliers name. * Quickly edit the Product Price and Product Sale Price including the date ranges of your sales. Now bulk editing available. * Change, edit or update the inventory of every WooCommerce product in your database. Changes immediately reflect the front-end of your site. * Weekly and Fortnightly Sales, Lost Sales and Inventory Level Indicators to help you with re-ordering plan. * Customise the visual appearance of Stock Central with the ability to add or remove any columns according to your business needs. * Complete "HELP" sections with the detailed explanation of every feature. * Advanced search with an auto-fill feature and fine-tuned performance. * Inventory / Stock filters, new product category filters, extra drop-down filters and new column sorting. * Intelligent settings for easy inventory/stock management. * Advanced WooCommerce inventory controlling and monitoring features. * Faultless approach to all product types, including WooCommerce subscriptions. * Full support for WooCommerce variable products. * Bulk product Actions to activate or deactivate WooCommerce stock management at product level. * Bulk Actions within Stock Central to Control/Uncontrol products in bulk. * Full inventory PDF export directly from Stock Central. * Complete WPML compatibility for all WooCommerce inventory. * Clear, effective and branded ATUM fields. * See inventory count totals for selected products. * Complete location hierarchy tracking. * URL hash navigation for filters in Stock Central. * Navigating through filters history with browser’s back/forward buttons. * Easy page reload without losing filters. * Sticky header in Stock Central to stay always in control even when scrolling through hundreds of WooCommerce products. * WooCommerce business statistics of revenue and product sales. The user can filter the performance per period and choose from three graphical views. * Widgets for Sales, Lost Sales, Orders and Promo Sales. * Stock Control Widget for a better WooCommerce summary of In Stock, Low Stock and Out of Stock Products. * Latest News - direct link to our new blog where we discuss functions and new features coming to ATUM. * Full feed of our YouTube channel and video Tutorials that can be viewed directly in your WP admin. * Build for unlimited widget additions. Our team will develop widgets for every feature, so the user has the full freedom. * Inventory logs now allow you to increase or reduce WooCommerce stock. * Product Locations feature lets you create several storage locations per item. * Location hierarchy available too - create custom storage places within a location. * Add Suppliers feature - add new suppliers and save their data for more natural inventory management and ordering. * Set default and assign users or locations to individual suppliers. * Pair products with suppliers for quick selling stock re-ordering. * Set different suppliers to each variation. * Add decimals to your WooCommerce stock quantities. **Purchase orders with PDF export** * Add Purchase Orders - create purchase orders for your sellable WooCommerce inventory. * Easy Supplier locking feature - a quick search for products has never been easier. * Add products to stock when you receive them at storage locations. Be notified if another user has already stocked selected WooCommerce products. * Purchase Order notes to control the change log of each individual PO. * Add Purchase Prices - add individual purchase prices and prepare your shop for monitoring of your gross profits. * Purchase prices can be attached to the Purchase Orders directly. No need to jump back to product edit. * Inbound Stock overview - keep an eye on all your inbound WooCommerce products. * Pending incoming stock reflects in Stock Central. * Direct Purchase Order editing from the inbound stock page. **Every user may create an account on our website [stockmanagementlabs.com](https://stockmanagementlabs.com "Stock Management Labs"). to get the most out of ATUM** == Installation == **From your WordPress dashboard** 1. Visit `Plugins > Add New`. 2. Search for 'ATUM Inventory Manager for WooCommerce'. 3. Activate ATUM from your Plugins page. **From WordPress.org** 1. Download ATUM. 2. Upload the 'atum' directory to your `/wp-content/plugins/` directory, using your favourite method (FTP, SFTP, SCP, etc). 3. Activate ATUM from your Plugins page. **Once Activated** After successful activation of ATUM, you are ready to make your business even more profitable and enjoyable than ever before. The only thing left is to visit our [YouTube Channel](https://www.youtube.com/channel/UCcTNwTCU4X_UrIj_5TUkweA "Visit the Youtube Channel") or read the [DOCUMENTATION](https://stockmanagementlabs.crunch.help/ "Visit the Documentation Site") to let us show you how to take full advantage of the plugin. **Once Configured** * ATUM was designed to give the user overall control of the full WooCommerce inventory from one screen. You can completely configure the Stock Central page and disable all individual columns that are not part or interesting for your business. * We have prepared the Stock Central help section that will guide every user through the particular column functionality. == Frequently Asked Questions == = What are the minimum ATUM requirements? = ATUM requires PHP version 5.6 or greater (recommended 7.1.3 or greater), WordPress 5.0 or greater and WooCommerce 2.7.0 or greater (recommended 3.6 or greater), but our recommended environment is the same as WooCommerce: [https://docs.woocommerce.com/document/server-requirements/). **For ATUM to work you need to activate the Enable Stock Management option in WooCommerce settings (WooCommerce-Settings-Products-Inventory-Manage Stock). Also, we recommend of having WooCommerce up-to-date as we test and adapt ATUM for the latest version. = Is ATUM plugin FREE? = ATUM inventory management plugin is completely free and will stay as such. It was designed to suit most users that need essential inventory control of their business. However, for users that wish to take their inventory management further have the opportunity of using one of our [Premium Add-ons](https://stockmanagementlabs.com/addons/ "Our Premium Add-Ons"). = How do I preview and monitor products in the Stock Central screen? = In Stock Central screen, you can sort your products into two lists, the 'controlled' and 'uncontrolled' list. Products you would like to monitor, control or edit you will see in the default controlled list that shows 'immediately' after you open the Stock Central screen. Products you do not wish to monitor you can find in the 'uncontrolled' list. Move products from one list to another is quick and straightforward and can be done directly on the Stock Central screen. = Can I quickly change the stock amount for individual products? = Yes, click the stock amount of the relevant product under the "Current Stock" column. ATUM opens a little pop-up, where you can apply your change. Now you can do many changes at the same time and hit the save button that appears on the top left. = I have a problem, who do I contact and how? = Please, in case of a technical issue open an official [support ticket](https://stockmanagementlabs.ticksy.com/) or if it is a simple request, leave a post in the [support forum](https://forum.stockmanagementlabs.com). = Is the ATUM plugin available in different languages? = At the time you read this, several translations may be available. To find out more or if you are interested in working with us and translate the plugin, don't hesitate and do it [here](https://translate.wordpress.org/projects/wp-plugins/atum-stock-manager-for-woocommerce). We will reward you big time! = Does ATUM Inventory manager for WooCommerce display all product types? = ATUM support all types of products available in the Free WooCommerce Plugin. We will most likely not support any product types of 3rd parties or premium WooCommerce extensions (apart from the official versions of WooCommerce Subscriptions, WooCommerce Bundles and WooCommerce Bookings). = Does Stock Central support product variations? = Product variations are fully supported and editable from Stock Central. ATUM handles variable products with ease and uses an expandable feature to make things clear and straightforward. = I have updated the ATUM plugin to the last version, and I can't see the new functionality = If you are using some cache system, try to purge the cache or ask your hosting provider to do it. Also, try to reload the ATUM pages with CTRL + F5 (Windows) or CMD + R (MacOs) to clear your browser cache. = The plugin won't work < PHP 5.6 = We are very sorry, but the current version of the plugin needs PHP 5.6+. Our team has tested it on PHP7 that is recommended by WordPress. Please, see the link [here](https://wordpress.org/about/requirements/) We do not plan any support for older PHP and version 5.6 is the minimum. = Which third party plugins are officially compatible with ATUM? = We officially support: WooCommerce Product Bundles, WooCommerce Subscriptions, WooCommerce Bookings and WMPL. Many other plugins can be compatible without any kind of customisation but others can cause conflicts. == Screenshots == 1. New Menu Design with Easy Access to Individual Features 2. New Admin Bar Menu for Easier and Quicker Inventory Control 3. New Editable Dashboard ATUM Statistics 4. Extended Stock Central Control (New Filters) 5. Full Control of the Stock Central View - Screen Options 6. HELP Section for Easier Understanding of Stock Central's Columns 7. On and OFF Automatic Product Search Feature 8. Grouped Products Are Included in the Stock Central Interface 9. Variable Products within the Stock Central Interface 10. One Click SKU Edit Directly in Stock Central 11. One Click Regular Price Edit Directly in Stock Central 12. One Click Sale Price Edit Directly in Stock Central 13. One Click Purchase Price Edit Directly in Stock Central 14. One Click Stock Quantity Edit Directly in Stock Central 15. Purchase Orders - Full List of Created Purchase Orders 16. ADD New Purchase Order Screen - Control over your Incoming Items 17. NEW Inbound Stock Preview - See All Yours Incoming Items 18. Suppliers - Preview of all Created Suppliers 19. ADD New Supplier - Brand New Feature with Full Supplier Details 20. Inventory Logs - Preview of all Inventory Logs 21. ATUM Settings - Dark Mode 22. ATUM Settings - Light Mode 23. Brand New Add-Ons Screen For Further Shop Control 24. Create Product Locations - Warehouse, Shelf, Page, etc. == Changelog == --- `1.9.38` *2024-04-03* **Features** * Added product editor beta compatibility notice. * Added support for custom fields meta box to Suppliers. **Changes** * Added missing fields to supplier controller in REST API. * Updated minimum required PHP version. * Updated dependencies. * Text change. * Refactoring. * Removed "WP_CLI\Utils::describe_callable" method checking as Utils load later. * CSS adjustments for Sweetalert. **Fixes** * Fixed check refund order when "chg_stock_order_complete" setting is enabled. * Fixed meta key when filtering by low stock threshold in List Tables. * Fixed font color in large variation names in Stock Central. * Fixed jQuery deprecations. * Fixed "load_plugin_textdomain" relative path to languages folder. * Fixed settings page loading. * Fixed supplier's assigned user not possible to set empty. * Fixed background handling for marketing popup. * Fixed add-ons installation + activation in one step. --- `1.9.37.2` *2024-03-07* **Features** * Added the new "requires plugins" clause supported on WP6.5+. **Fixes** * Fixed best sellers filter in Stock Central. * Fixed wrong lang folder passed when loading the text domain. * Fixed widget text check. * Fixed is API request check. --- `1.9.37.1` *2024-03-01* **Fixes** * Decode HTML entities from addons' names. --- `1.9.37` *2024-03-01* **Features** * Enhanced ATUM Orders searches. * Allow filtering the available ATUM order type IDs. * Added marketing popup for Pick&Pack launch. * Added filter to list/table counters transient params. * Added abstract base class for the Reserve Stock. **Changes** * Refactoring. * Moved all the stock decimals code to its own class. * Updated marketing popup CSS. * Help guide adjustments. * Skip all WP-CLI logic on non-WP-CLI requests. * Updated addons loader. **Fixes** * Fixed wrong count of decimal places. * Fixed WP_CLI environment checking. --- `1.9.36.2` *2024-02-02* **Features** * Search orders by column improvements. **Changes** * Updated math.js dependency. * Fixed avoid to add zeros to integers in stock quantity step attribute. * Use "any" when 0 is set for step in stock decimals. **Fixes** * Fixed orders search by column component when there are multiple cols to search in. * Fixed wrong PHP operator used. * Fixed AtumAsssets class not found. --- `1.9.36.1` *2024-02-01* **Features** * Added ATUM barcodes support to all compatible product types. **Changes** * Removed unneeded CSS. * Updated marketing popup. **Fixes** * Fixed inputs min & step when decimals is greater than step. * Fixed barcode field visibility. --- `1.9.36` *2024-01-29* **Features** * Allow to manage bulk actions from addons. * Trigger JS hook after executing a bulk action successfully. **Changes** * Refactoring. * Change help text. * Updated sweetAlert2 + modal styling improvements. * Updated dependencies. * CSS adjustments. * Added deprecated method name for backwards compatibility. * Removed name attribute from List Tables bulk actions select to avoid conflicts when embedding them. * Updated jQuery types. * Change suppliers selector placeholder on POs. * Removed p tag from ATUM order item meta values. **Fixes** * Fixed sanitization for barcode_type. * Fixed wrong status included in on hold filters. * Ensure JS math operators are numeric. * Apply purchase price when creating a new PO item through API. * Make sure a passed arg is scalar before converting it to string. * Fixed ATUM product fields length on screens wider than 1280px. * Fixed ATUM order item custom meta not showing until reloading the page. --- `1.9.35` *2023-11-24* **Features** * Allow having 2 ATUM list tables on the same page. * Added method to check an ATUM CPT existence. * Allow setting multiple localized vars if there are more than one list tables present. * Allow resetting the bulk action fields externally. **Changes** * Refactoring. * Control when a bulk action is executed externally. * Added id to JS List Tables. **Fixes** * Fixed stock qty input is hidden when stock decimals > 0 and step = 1. * Fixed wrong ATUM stock status when stock decimals are set. * Fixed show/hide buttons when selecting items in ATUM orders. * Fixed check stock status for products with decimal stock. * Avoid to restock refunded items when order is not completed and the setting chg_stock_order_complete is enabled. * CSS fixes. --- `1.9.34.1` *2023-11-06* **Fixes** * Fixed Purchase Price decimals not allowed in edit product pages. --- `1.9.34` *2023-11-02* **Features** * Added filters to Settings to be able to add custom fields externally. * Show the user how to access a help guide after closing an auto-guide. * Added UOM methods to the ATUM Product trait. * Allow saving UOM product props. * Added infoPopover JS component. * Added typings to popoverBase JS component. * Allow tooltips on BOM tree items. * Added "low_stock_threshold_by_inventory" property to product data. * Upgraded to webpack 5. * Modernized gulpfile. * Added new JS utility function. * Improved number formatting and decimals calculations JS functions. * Added barcode support to Suppliers. * Added listTable param to children args filter. * Created new AtumCPTModel abstract class. * Added new get_data method. **Changes** * CSS adjustments. * Disable the marketing popup while an auto-guide is running. * Refactoring. * Added strict comparison param. * ATUM popovers refactoring. * Updated addons loader. * Do not select a tree item when clicking its node. * Adjusted tree component styling. * Removed the "show filters" button. * Added spacer CSS. * Required node 18. * Adjusted webpack 5 configuration. * Updated mPDF dependency to 8.2.0. * Make white the List tables PDF export background. * Support rgb/rgba colors in hex2rgb converter. * Updated JS dependencies. * Adjusted ATUM menu items order. * Removed deprecated ES6 polyfill support. * Delayed registering scripts until they are safe to be registered. * Store the license as active if it’s going to be activated in the server. **Fixes** * Prevent JS function from load if an element does not exist. * CSS fix. * Fixed select2 CSS styling overrides. * Fixed JS tree icons when jQuery UI CSS is loaded. * Fixed settings footer logo overlapping at load. * PHP 8 compatibility adjustments. * Fixed tooltip reloads on list table cells with images. * Added missing namespace. * Fixed popover left arrow styles. * Fixed stock status for products with decimal stock under 1. --- `1.9.33` *2023-09-06* **Features** * Added suppliers lang twig template. * Added prop to the AtumOrderModel to know whether its items were read. **Changes** * CSS adjustments. * Refactoring. **Fixes** * Fixed incompatibility with WP Activity Log that was preventing addon licenses from being activated. --- `1.9.32` *2023-08-01* **Features** * Added new hooks to PO PDF template. * Added extra param to increase totals filter. **Changes** * CSS adjustments. * Show warning when the user has upgraded to full and still has the trial installed. * Refactoring. * Do not show the extend trial button on the "trial_used" error. * Adjusted layout for the addons page. **Fixes** * Prevent SQL notice in PO search products query. * Fixed variations not returned in PO products search query. * Fixed wrong method calling params. * Ensure the timestamp is an integer. * Fixed trial licenses disappearing occasionally. * Fixed delete attachment button not being added until the product is saved. --- `1.9.31.1` *2023-07-04* **Changes** * Refactoring: code style. **Fixes** * Fixed occasional cache issue when saving ATUM Settings. * Fixed wrong array_key_exists params on AddonsLoader class. --- `1.9.31` *2023-06-29* **Features** * Allow text inputs on tools. * Added hook in calculated props tool. * Performance improvement: added cache to get_atum_order_model helper. **Changes** * Updated addons loader. * Updated ATUM icons font. * Changed minimum PO PRO version required. **Fixes** * Fixed stock values widget query. * CSS fixes. * Fixed link on update message shown on addons page. --- `1.9.30` *2023-06-26* **Features** * Added barcode_type prop support to products. * Added new action after the barcode field. * Allow clearing the supplier for all the variations at once through the utility. * Added barcode support to product tags. * Added new filter to the is_module_active function. * Added tooltip to addons versions badges. * Show notices on plugins rows within the plugins list table. * Added filters before loading AtumBarcodes hooks. * Allow more notice types on the addNotice JS utility. * Added new SearchOrdersByColumn component. * Added searchOrders script. * Added new component for ATUM help guides. * Added filter to avoid adding stock to totals in ListTables. * Added filter for join and where clauses in search products function. * Added wpml_lang meta to ATUM Orders. * Added filter to ATUM Orders' localized vars. * Added lang dropdown to PO (full WPML compatibility). * RowActions JS component improvements. * Added restrictions to input numbers within edit popovers. **Changes** * Read the atum product data column names for the WPML product duplication. * Refactoring. * Do not require the "default" option on multi_checkbox settings fields. * Exclude columns from product data when inserting WPML translation in database. * Ensure product data columns exist before insert WPML translation. * Include translations when calculating the inbound stock. * Refactoring. * Removed searching product with no supplier assigned from PO free. * Removed unneeded HTML element. * Added new marketing popup. * Removed paragraphs from help guide texts. * Hide the row actions button when no actions are available. **Fixes** * Added missing fields to queries when duplicating product for translation. * Fixed atum fields sizing on mobiles. * Fixed row actions styling on ATUM list tables. * Fixed date format on the add-ons page. * CSS fixes for the addons page layout. * Prevent the check order prices button from loading on single order page when HPOS is enabled. * Fixed dragscroll clicks working when no link is directly clicked. * Fixed order id retrieval when HPOS is enabled. * Fixed searchInColumn field tooltip not updating when changing column. * Fixed settings page CSS. * Fixed unsupported get_product_translations_ids integer. * CSS fixes. * Fixed non-existing method. * Fixed SearchOrdersByColumn script not loading when necessary. * Fixed wrong margin in export tables reports. * Fixed filters that weren't added in some cases. * Fixed current stock value widget including bundled optional items only. * Fixed query incompatible with mysql/mariadb. * Fixed bundled optional products' query in stock widget. --- `1.9.29.1` *2023-04-20* **Features** * Added support for the new ATUM Barcodes PRO add-on. **Changes** * Updated composer dependencies. * Refactoring. * Remove deprecated ATUM CRON jobs. * Get rid of deprecated ATUM queues when cheking them. **Fixes** * Fixed attachment thumb for non-image files. * Show the correct tab title on the settings page. --- `1.9.29` *2023-04-12* **Features** * Added new ATUM icons font. **Fixes** * Removed wrong quote in expandable rows that was causing the PDF export to fail. * Fixed trial licenses being removed automatically. --- `1.9.28` *2023-04-06* **Features** * Allow loading JS dependencies to AtumAdminModals. * Show the install button if a license is saved but the addon not installed yet. * Do not show install buttons to users with no permissions. **Changes** * Send addon slug to the Updater. * Refactoring. * Check for errors returned from the activation API. * Make sure the as_unschedule_all_actions function exists before using it. * Addons loader modifications. * Disable the license key input on ajax requests. * Do not show an update message on the addons page when is not installed. * Deactivate the addons before uninstalling them with the auto-installer. **Fixes** * Fixed expired trials modal. * Fixed trial extension on the addons page. * Handle the API response correctly when extending a trial. * Fixed auto-installer success URL redirection. * Fixed expiration date when extending a trial. --- `1.9.27` *2023-03-29* **Features** * New ATUM premium add-ons trials available. * New style and features for the add-ons page. * Added trial licenses support. * Added trials expiration modals and notices. * New addons loader system. * Added filter to allow adding the Export Data tab to post type tables. * Added AtumNotifications extra params for settings display. * Allow adding extra fieldsets to export data script. * Added method to clear permanent ATUM admin notices. * Include SKU field when searching in the Inbound Stock list. * Add description to the PO when it is created via API. * Added sidebar to the addons page. * Added grid view mode to addons page. * Added alert when the addons list couldn't be retrieved. * Performance improvement. * Added add-ons auto-installer component. **Changes** * Return check queues action to the frontend. * Clean up wrong ATUM keys when updating. * Refactoring. * Remove addons with no key from the keys option. * Get rid of legacy recurring actions still scheduled. * Filter out select fields to enhance on post type lists. * Force display country in PO ship-to info. * SKU shouldn't be editable on the Inbound Stock list. * Delay the ATUM capabilities registration. * Include data atts filter for expandable rows. * Check whether the WP transient exists before cehcking versions. * Allow setting empty value for wc_country settings fields. **Fixes** * Fixed contributors data within the premim add-ons' view details popup. * Fixed wrong text domains. * Fixed alert style on settings page when the settings cannot be displayed. * Fixed large product names in PO PDF template. * CSS fixes. * Fixed multi-checkbox field when no checkboxes are checked. * Fixed get_keys method when a trial name is passed. * Fixed barcode length checking. --- `1.9.26.2` *2023-01-16* **Changes** * Refactoring and changes in tax calculations. **Fixes** * Fixed wrong text domain. --- `1.9.26.1` *2023-01-13* **Changes** * Script router prepared for managing multiple list tables. **Fixes** * Fixed trying to access empty license properties. --- `1.9.26` *2023-01-12* **Features** * Added global order type table id for pick & pack orders. * New styling for the add-ons page. **Changes** * Updated marketing popup. * Refactoring. **Fixes** * Fixed wrong SQL delimeter. * Fixed SML link. * Avoid script error when multiple listtables are loaded. --- `1.9.25.1` *2022-12-22* **Fixes** * Make sure the post is already existing before assigning the ATUM Order description. --- `1.9.25` *2022-12-20* **Features** * Add isotope layout dependencies. * Added support for custom meta data to the ATUM Orders API endpoints. * Allow auto-dismissing admin notices shown via JS. * Added a expand/collapse all rows button to List Tables. **Changes** * Refactory ListTable array in scripts. * Prevent saving an invalid addon license. * Allow accessing to filterData at list-table scripts. * Updated composer files. * Ensure all atum addon names are stored lower case in the licenses setting. * Refactoring. * Pass an extra param to external columns calling in List Tables. * Ensure WP_Query objects are set. * Removed unused import. * Removed debugging code. * Make sure the new HPOS class exists before checking it. * Updated minimum WC version. * Added link to the ATUM’s Youtube channel when the videos couldn’t be loaded. * Do not auto-create a Log or PO when instantating the model. * Remove non-legacy unnused functions. **Fixes** * Check if function exists before calling it. * When applying filters, controlled products appear in the uncontrolled products view and they appear repeated. * Fixed the dragScroll opacity blocks visibility under some scenarios. * Fixed wrong initial date created on ATUM Orders. * Dashboard widget fix: if there are no decimals, the comma is removed. * Fixed ATUM Orders API endpoints after WC HPOS. --- `1.9.24.1` *2022-11-14* **Features** * Performance improvement: prevent querying for the nex scheduled action twice. **Changes** * Check if the recurring hooks are queued only on the admin side. * Exclude adding to PO and IL variation products if they are disabled. * Refactoring. * Dashboard widgets: do not show a comma if there are no decimals, show whole number. * Readded renamed function as deprecated for compatibility with old versions. --- `1.9.24` *2022-11-09* **Features** * Add full compatibility with the new WooCommerce's HPOS tables. * Add JS hook after selecting items in SC. * Allow disable editing on some List Tables. **Changes** * Refactoring. * Show the List Table filters even if the table has no bulk actions. **Fixes** * Show all attribute names for variations in List Tables. --- `1.9.23.1` *2022-10-26* **Changes** * Get the updated addons list from the SML API. **Fixes** * Fixed the full export API push notifications. * Remove the deleted transient from cache to be able to regenerate it immediatly. * Only send the export push notification once. * Removed redundant installed addons check. * Fixed color for remove addon key button. --- `1.9.23` *2022-10-21* **Fixes** * Reduce the number of requests made to the addons API. * Place the addons list within a JSON file to reduce the number of requests to the addons API. --- `1.9.22.2` *2022-10-21* **Fixes** * Fixed some files missing on last update due to a SVN commit error. --- `1.9.22.1` *2022-10-20* **Features** * Show negative values in red on the backorders column in SC. * Added hook to allow third parties playing after updating product calc props. * Add PO and IL sales calc properties calc to the update products props tool. * Improved full export endpoint to allow passing multiple endpoints as param. * Added new API endpoint to list all the available refunds. * Added extra endpoints as "exportable" to the full export API endpoint. * Allow passing mutiple statuses to get products or suppliers in ATUM API. * Allow doing initial exports with filters. * Added JS utilities to be able to add, substract, multiply and divide big decimal values. * Allow retrieving the db_status on ATUM orders via API. * Allow updating the orders creation and modification date through the REST API **Changes** * Cumulative fields must not use INT_MAX values for sorting. * Calculate sales calc synchronously when executing the calculated props tool. * Refactoring. * Updated JS dependencies and require node 16. * Get rid of the dates filter on the Suppliers List Table. * CSS adjustments. * Clean assets dir before compiling. * Adjusted error codes on the full export endpoint responses. **Fixes** * Fixed order notes, atum order notes and media endpoints on the full export. * Fixed translations categories for SC dropdown when WPML is active. * Fixed wrong field in query for categories dropdown * Fixed warning when adding a new purchase order in some cases. * Fixed paginated exports on the full export API. * Fixed popups styling with Dark Mode in SC and MC. * Fixed addons licenses checking. * Fix WPML's is_product_translation wrong logic. * Fixed trash status not applying to some ATUM Orders through API correctly in some cases. * Fixed number of args for the get_terms filter. * Remove duplicated registered addons. * Fixed JS error when the jQuery.tipTip library is not loaded on some pages. * Do not loop the addons list if is not an array. * Fixed wrong creation date_created when saving ATUM Orders. * Fixed display variation name for non-term attributes. --- `1.9.21` *2022-09-07* **Features** * Added filter to stock value in list table column. * Added wpHooks to table cell popovers component. * Added committed to WC orders field to ATUM product data table. * Add committed to WC orders field to ATUM product model. * Added new FancyTables JS component. * Added calc backorders column the ATUM product data table. * Added new helper to convert PHP date formats to moment.js formats. * Added support for special date formats to datetimepicker labels. * Added calculated backorders prop to allow sorting in List Table column, etc. * Added the backorders column to the search in column dropdown. * Save the calculated backorders every time a product is saved (if needed). **Changes** * Send product argument to editable column. * Reverted ATUM macroable class. * Send TableCellPopovers argument when creating a cell popover. * Added color to calculated stock values in List Tables. * Adjusted button groups CSS. * Reordered some Stock Central columns. * Refactoring. * Improved description readability. * Improved the input number step helper. * Various CSS adjustments. **Fixes** * Fixed table cell popover input type value. * Fixed tooltips not showing in SC when you expand the inventories. * Fixed next/prev buttons disabled status when you paginate in any ListTable to the last page or the first page. * Allow decimals in OOT fields when configured in ATUM settings. * URL decode product variations' title in SC (thanks @behzadbx). --- `1.9.20.1` *2022-07-22* **Fixes** * Fixed warning if no addons installed. --- `1.9.20` *2022-07-21* **Features** * Added description tooltip to the barcode field. **Changes** * Removed CSS class. * Make sure the sold_last_days cache key doesn't change when it has some date time keys on it. * Only calculate the restock status if the calculate sales prop CRON is disabled or it's running. **Fixes** * Fixed search addon keys for case insensitive names. * Exclude WPML translations in the SC categories filter dropdown. * Fixed unmanaged variations in current stock widget values. * Fixed wrong SQL when updating stock in tools. * Fixed date fields in Inventory Logs data meta box. * Fixed async sales calc launched despite of the cron setting is active. --- `1.9.19.2` *2022-06-29* **Fixes** * Fixed typed prop (not supported until PHP 7.4). --- `1.9.19.1` *2022-06-28* **Features** * Added warning notice to the tools section in ATUM Settings. * Added order type and order item id to order notes metas for IL. * Regenerate lookup tables on the next upgrade to make sure our queries work correctly. * Added aditional checks before returning a product in the inbound stock list. * Added cron to clean up tmp folders once a week. * Added new API extender to be able to filter attachments per linked post type. * Allow adding external criteria to the categories dropdown in SC. * Added action hook before update sales calc props. * Added AtumMacroable class. * Added fields to suppliers to be able to set default description and terms in PO PRO. **Changes** * Renamed all the ATUM params used on queries to the products' API endpoint. * Include categories with only private products in SC's categories dropdown filter. * Remove unneeded code references to PO. * Added param to AtumAdminNotices to avoid displaying the message in bold text. * Text changes. * Removed error logging. * Refactoring. * Changed pre-discount labels in atum order items template. * Use date_i18n instead of wp_date to avoid wrong time zone conversion issues. * Adjustments for the "stock will last" logic. * Convert ATUM Product trait "atum_data" prop to static. * Improved setting description. * Set Atum Product Trait as Macroable. **Fixes** * Remove and prevent duplicated scheduled actions. * Fixed tables in query. * Fixed number of args for action. * Prevent Macroable to throw Exceptions if the function doesn't exist. * Delete ATUM transients correctly when using external caching systems. --- `1.9.18.1` *2022-05-18* **Fixes** * Fixed filter callback function name. --- `1.9.18` *2022-05-18* **Features** * Accept extra classes for editable columns. * Display value in placeholder for datepicker fields in List Tables. * Added new Barcodes module. * Added filters to the ModuleManager class. * Disable barcode editing when the user has no permission. * Added the barcodes prop to the ATUM's API. * Added filter to order note meta params. * Added filters to be able to alter allowed product statuses. * Added the barcode field to product locations and categories. * Added support for barcodes in ATUM Locations' and Product Categories' API endpoints. **Changes** * Allow to search by column with value 0. * Include stock change in order note meta. * Handle the queryable product statuses globally. * Removed unused class. * Refactoring. **Fixes** * Fixed List Tables' counters after filtering. * Fixed missing search input value when searching by 0. * Avoid to duplicate atum scheduled actions. --- `1.9.17` *2022-05-06* **Features** * Calculate values in CurrentStockValue widget by query to improve performance. * Control all the products by default when installing ATUM for the first time. * Improved the datetimepicker to allow range pickers. * Added low stock threshold column to Stock Central. * Sortable low stock threshold column. * Editable low stock threshold column at ATUM ListTables. **Changes** * Excluded PHPCS rule. * Refactoring. * Check if a WP_CLI is callable before using its add_hook method. * CSS adjustments. * Do not show the empty col char within the totals row in SC. * Round totals in SC with 2 decimals max. * Updated ATUM icons font. * Changed the close icon on detepickers to an OK button. * Current Stock Value widget data loaded by ajax. * Set the "old" days color on datepickers darken. * Exclude managed variables having children with purchase price when calculating stock without purchase price. * Hide notice by default in Current Stock Value widget. * Removed premium add-ons from readme. **Fixes** * Fixed recurring tools in ATUM Settings. * Fixed datepickers not showing on List Tables' filters bar. * Fixed LIST table's height not refresehd in some cases. * Fixed number formatting for the current stock value widget. * Fixed meta key when sorting by low stock threshold column. --- `1.9.16` *2022-04-26* **Features** * Improved tools configurations in Settings to allow multiple fields. * Added SC's views descriptions to the help tab. **Fixes** * Fixed add-ons licenses not saving when activating them. * Minor CSS fixes. * Added missing addon path for Action Logs. --- `1.9.15` *2022-04-22* **Features** * Allow stripping trailing zeros in decimals when formatting numbers via JS utils. * Added action after prepare inbound list items. * Added SELECT clause filter to inbound stock query. * Added "address 2" field to suppliers. * Add hook after ATUM order items are saved. **Changes** * Filtering by grouped product type mustn't add the count twice. * CSS adjustments. * Refactoring. * Do not make GMT date conversion when set out_stock_date from API call. * Ensure product is saved if the inbound stock is calculated. * Changed product inbound query. * Delete add-ons keys when removing an add-on's directory manually. * Changed low stock name to restock status everywhere (for more clarity). * Makes sure the WP CLI metods exist before calling them. **Fixes** * Fixed argument identifier on expired add-ons notice. * Fixed suppliers filter duplicating results in conflict with pagination & offset. * Fixed suppliers filter. * Fixed current stock value widget with real stock. --- `1.9.14` *2022-04-04* **Features** * Display bundled items type tip text in Stock Central. * Added new JS hook after closing a help guide. * EditPopover JS component improvements. * Added new helper for searching products. * Improved product searches when adding items to ATUM Orders (multiple terms allowed). **Changes** * Updated JS dependency. * Refactoring. * Changed API post product stock quantity schema to allow decimal numbers. **Fixes** * Fixed JSON search products. * Prevent triggering error on ATUM's auto-updater when the SML API isn't responsive. --- `1.9.13` *2022-03-16* **Features** * Added filter to Inbound Stock list to be able to alter the statuses allowed. **Changes** * Changed outdated links to documentation. * Moved the filter for POs' due statuses to the Purchase Orders class. * Updated marketing popup content. * Refactoring. **Fixes** * Fixed non truncatable titles on menu popovers. * Minor CSS fixes. * Prevent updating ATUM fields when saving translated products (WMPL compatibility). * Fixed API error when calling to the add-ons API endpoint when there are no registered add-ons. * Show automatic updates even when a premium add-on is installed but disabled. --- `1.9.12.1` *2022-03-11* **Fixes** * Fixed issue automatic updates for some premium add-ons. --- `1.9.12` *2022-03-11* **Features** * Added ATUM product data sync when inserting/updating an WMPL translation from the translations page. * Improvements for the restrictNumberInputValues JS utility. **Changes** * Rewrite duplicate atum product to update if the row already exists. * Refactoring for the template overriding from themes. **Fixes** * Fixed the entries per page custom values not being saved on List Tables. * Fixed pagination on Inbound Stock list. * Fixed action menu popovers on Stock Central. * Prevent warning on old versions of WC Product Bundles. --- `1.9.11.1` *2022-02-23* **Features** * Improvements for the ATUM Help guides. * Auto-scroll to the active view in List Tables after reloading the content. * Allow viewing unknown statuses in POs list. * Added unknown PO status notice. * Added new JS hook after importing ATUM order items. * Added actions for being able to disable comments translations for order notes. **Changes** * Add class to body while a help guide is running. * Refactoring. * Separated the suppliers styles in 2 files. * Disabled the enhanced selects on the supplier profile. * Do not add the ATUM Order link to List Tables if it's a trashed post. * Updated minimum versions. * Updated ATUM icons font. * Avoid removing settings from disabled addons. * Removed compounded stock from bundle and grouped products. * Remove duplicated filter. **Fixes** * Prevent unknown order status when creating a PO. * Avoid order items duplication when importing new PO items from a Sale Order. * Fixed nav identifier. * Fixed wrong input width in SC popovers when using Firefox. * Prevent from returning empty translation ids. --- `1.9.10` *2022-01-26* **Features** * Allow adding content to deleteOrderItem confirmation Modal. * Display notes at Inventory Logs after changing the product's stock. * Added new Help Guides component. * Allow disabling the marketing popup completely. **Changes** * Retrieve extra options when removing order items. * Refactoring. + Do not allow closing the OOST option change modal with the keyboard. * Improved WC order items importing. * Added AtumOrders script to global scope. * Added extra param to ATUM order item fee's & shipping's save hook. * Use the current product price (sale or regular) instead of always using the regular price for the gross profit calculations. * Do not show custom PO PRO's items meta when PO PRO is disabled. * Added editable param to column method call. **Fixes** * Minor CSS fixes. * Fixed deleting ATUM orders permanently. * Avoid duplicate notes when changing the status of a purchase order. * Fixed multi-select fields wtihin edit popovers. * Fixed duplicate notes on Inventory Logs. * Fixed wrong text domain. * Fixed param type. --- `1.9.9` *2021-12-17* **Features** * Added function to delete the add-ons list transient. * Allow filtering products by multiple ATUM Locations through ATUM API. **Changes** * Updated notice for expired licenses. * Do not use the WC order product lookup tables when recalculating sales props because WC delays its update. * Refactoring. * Use the default ATUM's blue color for the modal's confirm button. * Avoid sending stock notifications of unmanaged products. **Fixes** * Avoid to increase one hour when saving a PO. * CSS fix. --- `1.9.8.2` *2021-12-09* **Changes** * Refactoring. * Added new filter to ATUM Order's posted data keys to be able to add more keys externally. **Fixes** * Fixed PHP 8.1 compatibility code. * Fixed Settings page's CSS issues. --- `1.9.8.1` *2021-12-03* **Fixes** * Fixed sales calc props not updating in defer mode. * Save the posted order items data when updating any ATUM order without clicking on "Save Items" button first. **Changes** * Refactoring. --- `1.9.8` *2021-12-02* **Features** * Performance improvement: prevent duplicated ATUM queries in List Tables. * Performance improvement: use the product_meta_lokup table to retrieve the unmanaged products (when possible). * Added new "Avanced" tab to ATUM Settings and moved some advanced options there. * Performance improvement: Re-enabled WC order product lookup tables for queries. * Allow disabling Stock Central columns from settings. **Changes** * Updated ATUM icons font. * ATUM dates refactoring. * Remove old scheduled tasks when upgrading. **Fixes** * Fixed wrong table alias for CI collations. * Fixed possible inconsistencies in taxonomy relations when searching for the parent product type. * Save the update dates for children products after they are printed in Stock Central. --- `1.9.7.2` *2021-11-26* **Fixes** * Fixed wrong text domains. --- `1.9.7` *2021-11-26* **Features** * Improved multi-checkbox fields in ATUM Settings. * Added sales_update_date field to ATUM product data. * Added sales_update_date to the ATUM product model and use it in List Tables. * Include sales update date when translating a product with WPML. * Allow multiple inputs on EditPopovers. * Allow setting a cron for updating product sales properties (instead of doing it asynchronously right away). * Remove ATUM scheduled actions when uninstalling and/or when updating to a new version (if any was duplicated for some reason). * Improved set purchase price modal. **Changes** * List Tables search refactoring. * Ajax nonce names unification. * Always show all the muti-checkboxes when the main switcher isn’t used. * Converted the WPML class to singletons. * Prevent showing ATUM panels even when creating a translation. * Moved UTC functions from ATUM Export. * Provide jQuery with Webpack config to avoid conflicts with 3rd party plugins. * Refactoring. * Updated JS dependencies. * Disallow flex-wrap on input-group. * Do not set the current date to the PO's expected date if it's empty. * When a list is shown with no results, replace all the coming data (so the totalizers row is removed if necessary). * Refactoring for the entries per page option in ATUM List Tables. * JS hooks renaming to follow the same naming conventions. * Destroy the ediPopovers before re-adding them if they had a previous popover linked. **Fixes** * Fixed adding supplier variables when searching by column. * Fixed multi-checkbox fields' main switchers. * Fixed input checkbox styles in ATUM settings. * Fixed APD register not created for translations when using WPML editor. * Fixed atum_controlled not able to update for variations at product metaboxes. * Fixed accessing wrong item variable. * Fixed popovers CSS warning. * Fixed the WPML's multilingual content setup meta box removal on ATUM orders. * Fixed reset filters button in List Tables. * Fixed db prepare without parameters notice. * Minor CSS fixes. * Ensure data is read from the database after updating a List Table. * Fixed WP Editor fields saving in ATUM settings. --- `1.9.6` *2021-11-02* **Features** * Performance improvement: after saving in Stock Central return the updated table data directly without having to perform an extra request to update. * Allow returning data externally from other List Tables. * Improved Supplier model to allow inserting new suppliers. * Added new helper to get the URL of the current List Table page. * Added extra filters compatibility to all the List Tables. * Use the ATUM modal for the SC's extra filters modals. * Allow creating suppliers from an ATUM list table. **Changes** * Do not add the no-column and title to the seach by column dropdown when not necessary. * Refactoring. * Changed hook name 'atum/list_table/product_search/numeric_meta_where'. * Return an empty array on ajax JSON search functions when there are no results. * Added Purchase Orders Premium' first version to the add-ons list. * Added arg to the 'atum_listTable_tableUpdated' JS hook. * Set a max height for the menu popovers' list. * Changed placeholder text for the out of stock threshold field. **Fixes** * Make sure the supplier's name is escaped before adding it to the editable cell's data. * Show a "no results found" message when searching for suppliers on the suppliers dropdown. * Remove the table overlay when an error is returned after doing a bulk action. * Fixed CSS styling for disabled inputs. * Fixed disabled BG color for select2 fields. * Fixed supplier filter not affecting to children rows in List Tables. * Apply the suppliers filter when filtering by ID. --- `1.9.5` *2021-10-07* **Features** * Added support for WP Editor fields in Settings. * Allow changing Supplier from Stock Central. * Enabled stock totalizer increase of a bundle product if has stock control enabled. * Added popover instance to button data after enabling an ATUM popover. * Added support for mouse wheel scrolling to List Tables' nav filters. * Added result data to the API tools response. **Changes** * Updated JS dependencies. * Refactoring. * Improved popover JS components. * Changed List Table popup's titles for selects. * Marked helper as deprecated. * Show (no title) text on suppliers dropdown when any supplier has no title. * Show a red background colour when no items are found in List Tables. * Sync the top and bottom bulk actions selects in List Tables. * Make sure the list tables' query is for products before applying our filter to the 'posts_search'. * Do not verify the SML site certificate when retrieving the add-ons list. **Fixes** * Fixed grouped product with manage at product level activated displayed in uncontrolled tab in SC. * Fixed dependency handler on upload fields. * CSS fixes. * Fixed Stock Central's stock totalizer when a product from a bundle has MI. * Fixed popover title not being shown. * Fixed wrong price & stock calcs in the Current Stock Value widget. * Avoid duplicating grouped children when searching grouped products by ID column. * Unbind dragScroll events before rebinding. * Fixed Reset Filter button in List Tables. * Fixed non-static function being called statically. --- `1.9.4` *2021-09-17* **Features** * Added helper method to check if an async action is actually running. * Added filter for displaying columns id at ListTables. * Allow increasing the items per page limit in ATUM API when the request comes from the ATUM App. * Allow setting the fee name directly (PO premium compatibility). * Added WP-CLI support for all the ATUM tools. * Allow setting default values on editPopover JS component. **Changes** * Show grouped products' stock in Stock Central. * Refactoring. * Handle errors when removing ATUM Order items. * Separate the order item removal in 2 steps. * Regenerated the composer's autoload. **Fixes** * Fixed sales last days are always calculated in Stock Central when the sale days are distinct of 14. * Prevent increasing stock totalizer in Unmanaged view. * Fixed "In stock" and "Out of stock" counters in views counters. * Fixed compunded stock on bundled and grouped products when these have MI. * Fixed label's for attribute. --- `1.9.3` *2021-08-17* **Features** * Added script hook to allow/prevent stock changes in order items. * Added capability to update low stock threshold at inventory level. * Added new filter before checking the async requests availability. * Added new fields to suppliers: cancellation policy, days to cancel and payment & delivery terms. **Changes** * List tables will show all decimals for prices when editing the values. * Ensure that ATUM orders exists before instantiated. * Check if an ATUM order is saved before adding items. * Updated ATUM icon font * Updated composer's autoload. **Fixes** * CSS fixes. * Fixed wrong shortage column color in Manufacturing Central. * Fixed Variable products don't allow to buy quantities less than 1. * Fixed email no stock and low stock notification errors. --- `1.9.2` *2021-07-16* **Features** * Added new filter to be able to alter the list tables checkboxes column. * Added compatibility to MI for ListTable bulk actions. * Added new ATUM tool to clear out ATUM transients. * Added getter for the selected rows in ListTables. * Added support for non numeric IDs (MI) to ListTables' bulk actions. * Added new filter to be able to edit the ATUM Orders List tables' row actions. * Use ATUM's out of stock threshold values for WC stock notifications. * Added support for external bulk actions in ATUM list tables. **Changes** * Changed default dark mode's table border color. * Changed arrow color variable on dark mode. * Refactoring. * Changed hook name. * Format list tables prices like WC. * Updated composer's autoload. **Fixes** * CSS fixes. * Select all the children checkboxes when using the head and footer checkboxes on List Tables. * Fixed ATUM Orders list tables buttons' height. * Fixed PHP notice on some cases when calling the is_rest_request helper. --- `1.9.1` *2021-06-21* **Features** * Added JS hook to check order items before bulk change stock. * Added support for the shop base's city and postal code for taxes calculations in ATUM Orders. * Added a new module for the REST API, so it can be disabled if wished. * Added new action before the PO PDF output. * Added new setting field type: Image Selectors. * Added extra arg to the load_view filter. * Allow debugging HTML before outputing to a PDF. * Added a new product prop for hiding the out of stock inventories. * Allow extending the PO PDF export class. * Added a new ATUM Notifications components for sending ATUM email notifications regarding stock management. **Changes** * Added the shop base address details to ATUM Settings' store details as defaults. * Changed Stock Central's modal text tittle color. * Increased the timeout when doing any request to the SML API. * Refactoring. * Do not check the SSL certificate when doing deferred requests for calculated props. * Updated composer dependencies. * PO PDF template adjustments. * Allow setting a different image for the dashboard logo. **Fixes** * Fixes and changes to the SC UI/UX dark and normal mode. * Stock Central's managed products counter fixed. * Allow activating add-ons on staging sites when a prod site was already activated. * Bug fix: when multiple items were added to an async action, only the first was received by the hook trigger and the others were missing. * Fix for the oldest add-ons versions that weren't able to update. * CSS fixes. * Avoid duplicate show/hide classes for product data tab. * Fixed undefined index notice in ATUM dashboard. * Fixed notice error when updating an ATUM setting through API. --- `1.9.0.1` *2021-05-28* **Features** * Show PO product items although the product was permanently removed. * Performance improvement: save the sales calculated props asynchronously. * Allow specifying the keys for line items type and group. * Added new JS action after inserting an editPopover. * Added filter to allow several post_types on parents list. * Added WP-like priority to ATUM queues. * Added the new MI's show_write_off_inventories field to ATUM product data model. **Changes** * Hide atum controled field and Atum inventory panel for bundle products. * Check license only if add-on is active. * Changed addons admin notice message. * Block ATUM fields in WPML translations. * Prevent editing ATUM settings whithin translations. * Block ATUM fields in WPML variations translations. * Prevent deleting ATUM cache with group parameter = NULL. * Updated JS dependencies. * Contemplate ATUM Order models not supporting shipping. * Avoid setting uncontrolled inheritable products from bulk actions. * Refactoring. * Deferred calculated props actions refactoring. * Clear ATUM caches before excuting synchronously the asynchronous tasks. **Fixes** * EditPopover CSS fixes. * Fixed EditPopover component. * Fixed atum_stock_status for variation products. * Apply to the cloned sticky table rows the same height than the original table rows. --- `1.8.9.1` *2021-05-07* **Changes** * Use the GMT date to sort posts by modification date through API. * Updated capacitor origin name. * Trigger events on adding and deleting notes. **Fixes** * Fixed add-ons list's page not showing. --- `1.8.9` *2021-04-30* **Features** * Added hooks to handle the supplier filter at ListTables. * Add ATUM post types to the new WC navigation system (work in progress). * Added full RTL languages compatibility. * Added filters for including only real stock in Stock Value widget. * Added new API endpoint to get all product variations. * Collect data when creating order notes and save it through a Helper function. * Added WC order notes extender to the rest API. * Added the site icon to ATUM settings API response. * Allow filtering post types by modification date when using the ATUM API. **Changes** * Refactoring. * Check remote request before making assynchronous request when filling calculated fields. * Changes to dark mode colours. * Use the ATUM's font icon for child arrows everywhere. * Changed ATUM App's CORS origin name. * Do not show the marketing popup to users that cannot install plugins. * Disabled the marketing popup until we have a new one to display. **Fixes** * CSS fix. * Fixed regexp to find IDs in order notes. * Fixed missing array index error when creating orders through the API. * Fixed upload_dir url protocol if siteurl is not properly configurated. * Fixed hook names. * Fix restoring widgets and layouts to default on ATUM's dashboard. * Fix some colors on settings values (dark mode). * Fixed Suppliers' API image handling. * Fixed error calculating item_total on ATUM order items for decimal quantities. * Fixed conflict with AutomateWoo when returning an empty comment. --- `1.8.8` *2021-04-08* **Features** * Added a new option to ATUM settings to be enable/disable the orders searching by SKU. * Added new method to check whether any ATUM order still exists in the database. * Added auto-update functionality for ATUM add-ons. * Added the ATUM menus to the new WC navigation system. * Added new helper to get all the products that have no supplier assigned. * Added new utility to merge 2 arrays in javascript (with unique values). * Added new utility to restrict allowed values in any input number field. * Show an admin notice when a license is expired or disabled. **Changes** * get_order_note_ids now also resolves the product SKU. * Clear ATUM order caches after deleting items. * Apply the filter for product data props in API, always. * Avoid sorting children by date in ListTables. * Added missing check in upgrade process. * Updated dependencies + use WebPack 4. * Refactoring. * Allow addons adding its own posts_clauses filters. **Fixes** * Added missing text domain. * Fixed special CORS origin when calling to the API from the ATUM's App. * Fixed missed products in listtables when ordering by metadata. * Fixed upgrade process when is a fresh install. * Removed console.log. * Prevent WPML delete meta when updating from Stock Central. * Added missing non-legacy actions. * Fixed edit popover auto-closing in some cases. * Fixed CSS for add-ons with invalid licenses. * Fixed invalid license key text not showing on add-ons page. --- `1.8.7` *2021-03-12* **Features** * Added the ability of searching WC orders by inner products' SKU or Supplier SKU. * Added new hook to be able to delete order item inventories when deleting an ATUM order. * Add helper to get a WC Order status properly formatted. * Allow passing ATUM order dates as GMT through ATUM API. * Allow handling the increase/decrease stocks in ILs externally. * Added low_stock_amount to product_data endpoint in ATUM REST API. * Save the WC low_stock_amount through ATUM API. * Allow adding items to an IL without having to create the order first. * Save the stock_changed meta for ATUM order items when appropriate. * Allow the 'stock_changed' prop to be sent in API requests within ATUM order items. * Added a security check to avoid changing the stock multiple times for the same PO. * Added button to fix order prices. * Reapply any discount proportionally when fixing order prices. * Added searchable columns to uncontroled List Table. * Fix order prices through a bulk action. **Changes** * Added global variable for WC_Order statuses that change the stock. * Apply to children products the same order than parents in List Tables. * Do not change the PO items' stock for any item that has the 'stock_changed' prop set to 'yes'. * Removed supplier from the "Search In Column" dropdown as it already has its own filter. * Remove an active addon if it couldn't be bootsrapped. **Fixes** * Fixed ghost tooltips showing in some cases (possible Bootstrap 5 bug). * Fixed icon column names not shown in the export report. * Minor CSS fixes. * Fixed ATUM control switch not being changed after saving the product. * Fixed wrong titles and dates being set to POs when created through API calls. * Fixed duplicated results in statistics when existing variations are sold. * Fixed gross profit when prices include taxes. * Avoid columns misalignment when showing/hiding columns in Stock Central. * Fixed menuPopover component's title parameter not optional. --- `1.8.6` *2021-02-19* **Features** * Added option to settings to let the user updating the stock only when the order status changes to "completed". * Added support for datepicker fields on List tables' editable fields. * Added support for inventory locations (display and edit) to Stock Central. * Added CheckOrderPrices component. * Added button to WC orders list to check mismatching prices in editable orders. **Changes** * Added antialiasing for all the ATUM font icons everywhere. * Avoid localising datetimepickers with eastern languages. * Do not use WMPL-specific meta when not needed. * Refactoring. * Modified order change statuses hooks. * Updated sweetalert2 dependency. * Auto-expand the location trees with at least one of its nodes checked. * Added the ATUM Modal styling to locations tree modal. * Splitted general settings into 2 separated sections. * Format purchase price as WooCommerce does in the backend (6 decimals max). * Replaced switchery by a 100% CSS switcher. **Fixes** * Fixed API error notice when using object as an array. * Fixed blank spaces being added when editing a text field in Stock Central. * CSS fixes. * Fixed jquery.easytree conflicts with jQuery 3.0. * Fixed multiple binding issue in jquery.easytree. * Fixed popover closing when removing an item from a multi-select. * Close other edit popovers when opening a new one. * Make simple products types available in all the add-ons. * Added the wp-hooks dependency to ensure they are loaded by WordPress. * Fixed wrong dependency added to the Dashboard's CSS. * Fixed sale price's edit popover in Stock Central. * Fixed error when checking order prices if a product no longer exists. --- `1.8.5` *2021-02-03* **Features** * Added a new column "Gross Profit" to Stock Central. * Added new option to ATUM settings to choose how to display the gross profit values. * Added help text for gross profit column. * Added a profit margin option to ATUM settings. * Show in red the gross profit values that are below the profit margin and in green all the rest. **Changes** * Refactoring. * Hooks name changes. **Fixes** * Fixed List Tables searching when using wildcards in SQL queries. * Readable location column at stock central export report. * Fixed error when some 3rd party plugin use the 'woocommerce_email_attachments' filter with 3 parameters. * Show the support link on premium add-ons when disabled. --- `1.8.4.1` *2021-02-01* **Fixes** * Fixed error when the object passed to the WC attachment filter wasn't an order. --- `1.8.4` *2021-01-29* **Features** * Added ATUM attachments meta box to products. * Allow removing attachments. * Added shared styles for the ATUM Modal components. * Added RowActions component to List Tables + actions column. * Added product name to the actions menu popover. * Added default number of decimals for ATUM prices in backend. * Allow adding row actions to uncontrolled SC list table. * Add the "no actions" message when there are no actions available for a specific item. **Changes** * Updated PHPCS rules. * Refactoring. * Allow up to 8 decimals in stock. * Add needed classes to get_atum_product function definition. * Removed tooltip overflow behaviour bacause is not being used. * Moved date-field CSS to datetimepicker stylesheet. * Hide settings' color fields from different visual modes. * Mark products with negative stock within the BOM trees in red. * Upgraded popovers and tooltips to Bootstrap 5. * Removed bootstrap's button.js dependency. * Refresh sticky columns on table update. **Fixes** * Allow entering values lower than 1 when enabling decimals for the stock quantity. * Fixed POs not being added/discounted to/from stock when using POs list bulk actions or buttons. * Fixed dismiss button on ATUM admin notices not being saved. * Fixed translation sales not included in calculated properties. * Fixed ATUM bootstraping error notices not being shown. * Prevent multiple persistent ATUM admin notices for the same message from being shown. * Prevent scientific notation in Purchase Price. * Update sales props when saving an Atum Order. * Prevent non numeric notices for Purchase Prices. * Fixed button groups behaviour and colors. * CSS fixes. * Prevent HTML tags in atum_json_search_products. --- `1.8.3` *2021-01-05* **Features** * Added new helper to allow setting up the low stock formula externally. * Added extra parameter to the "atum/order_post_type/post_type_args" hook. * Added new JS hook when the menu popover is shown. * Added new JS hook when an order item gets removed. * Added new marketing popup for ATUM 4th anniversary. **Changes** * CSS adjustments. * Unified how the existence of the product is checked. * Refactoring. * Only register the custom statuses whose names start with the ATUM prefix. * ImageUploader component refactoring. * Unified rating messages and behaviour (in footer and dashboard). **Fixes** * Fixed a POItem instantiation on the generic AtumOrderItemTrait. * Check that a product exists before updating its calculated props. * Ensure Order item products exist before accesing them. * Fixed all the jQuery deprecations until version 3.5. * Adjusted behaviour for the PO items blocker. --- `1.8.2.1` *2020-12-16* **Fixes** * Fixed missing parameter error on IL's shipping_company method. --- `1.8.2` *2020-12-16* **Features** * Allow filtering the ATUM Order status colors. * Added new helper for relative dates. * Show relative dates on POs list table. * Added tooltips for ATUM orders' list table dates. * Added new filter to be able to edit the PO meta before saving. * Added the ability to set an ATUM Order ID externally (so we can clone them). * Do not load the ATUM Order items when not needed to improve performance. * Allow cloning ATUM order and ATUM order item objects. * Added new "created" column to ATUM Orders + more sortable columns. * Allow sorting Inventory Logs by type and WC order. * Added new helper to obtain the current timestamp. * Added new image uploader field available for ATUM settings. * Added support for field validation functions to ATUM Settings. * Added new helper to save individual options to ATUM settings externally. * Added new filters for ATUM Orders' bulk actions. * Added new component for showing admin notices. * Added new marketing popup for the Christmas sale. * Improvements for the MenuPopover component. **Changes** * Updated composer dependencies. * Adapted relative dates helper to new version. * Moved the trash status to the end of the status views list on ATUM Orders' List Tables. * Refactoring. * Updated the PO items blocker message. * Adjust the ATUM Settings nav height dynamically. * Skip the status change's bulk action for the currently listed status. * Send PO id when adding new order item. * Updated ATUM icons font. **Fixes** * Fixed Inventory Logs' list table date column. * Update product calculated properties after REST Api save call. * Fixed marketing popup styling. * Avoid duplicating ATUM order item inventories within the object after saving them. * CSS fixes. * Added blocker when PO has no multiple suppliers selected. * Confirm that hours and minutes are coming for a PO date field before saving. * Make PO editable when supplier is set. * Fixed settings page header when there are more than 2 sections. * Do not allow add items while PO is not created. * Allow add items in new POs before creating them when multiple suppliers is enabled. * Fixed menu popover component icon placement. * Fixed error with Youtube's API in ATUM's Dashboard. * CSS fixes for the marketing banner on ATUM's dashboard. --- `1.8.1` *2020-11-27* **Features** * Show the ATUM order notes and WC order notes on the /comments endpoint when requested. * Added new tool to ATUM Settings to calculate all products' calculated properties. * Added new helper to get an ATUM image placeholder. **Changes** * Updated SweetAlert2 dependency. * Refactoring. * Allow getting the ATUM order status from the post status when there is no status meta. **Fixes** * CSS fixes. * Add deferred product calc sales props when needed. * Fixed ATUM order notes being shown on WP Dashboard widget. --- `1.8.0` *2020-11-13* **Features** * Added new API endpoint for performing batch actions to all the variables at once (no matter its parent). * Added required hooks for Action Logs. * Defer calc products update when WC Order items are changed. * Optimized code when updating WC Order items. * Added JS hooks after adding fee or shipping items. * Allow authenticathing with WC keys some extra WP API endpoints. **Changes** * Order suppliers dropdown query by title. * Sort by time spent since the last product's update. * Set min node version to 14 and added jquery as webpack's external. * Refactoring. * Updated select2 version. * Added support for ES2017 to tsconfig.json. **Fixes** * Fix sales las days number's styles. * Fixed type casting error when calculating fee item's total. * Prevent unending loop of ajax calls when updating product calc props via cron.