UpdateSaleCommand.php
Tags
Table of Contents
Classes
- UpdateSaleCommand
- Class UpdateSaleStatusCommand This class loop on logidav sales that are processing, canceled, pending, pending_payment, holded, payment_refused in an interval of one month and check if those sales have been updated in Magento 2 and if so we update the sale and if the new sale status is processing we decrement the stock and if the sale is RETRAIT we send retrait email if the client is not already received an email