src/OpenCart/Helpers/OcHelper.php
public function eventOrderUpdate($order_id)
    {
        $source = $this->container->getSource(Source::Order, $order_id);
        $this->container->getInvoiceManager()->sourceStatusChange($source);
    }
public function eventOrderUpdate($order_id)
    {
        $source = $this->container->getSource(Source::Order, $order_id);
        $this->container->getInvoiceManager()->sourceStatusChange($source);
    }
public function eventOrderUpdate ( $ order_id ) { $ source = $ this -> container -> getSource ( Source :: Order , $ order_id ) ; $ this -> container -> getInvoiceManager ( ) -> sourceStatusChange ( $ source ) ; }
Event handler that executes on the creation or update of an order.

@param int $order_id
Event handler that executes on the creation or update of an order .