To filter the value which is not equal to in the invoice of Magento

            ->addFieldToSelect('*')->addFieldToFilter('order_id',['in' => $orderids])->addFieldToFilter('status', array('neq' => '1' ))->setPageSize($pageSize)->setCurPage($page)->setOrder('entity_id','desc');

Leave a comment

Your email address will not be published. Required fields are marked *