Skip to content

Commit

Permalink
Add getInvoicesCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Nov 16, 2022
1 parent 3f83930 commit 75ffc93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/code/core/Mage/Sales/Model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -2129,6 +2129,16 @@ public function getInvoiceCollection()
return $this->_invoices;
}

/**
* Retrieve order invoices collection
*
* @return Mage_Sales_Model_Resource_Order_Invoice_Collection
*/
public function getInvoicesCollection()
{
return $this->getInvoiceCollection();
}

/**
* Retrieve order shipments collection
*
Expand Down

0 comments on commit 75ffc93

Please sign in to comment.