Skip to content

Commit 8260205

Browse files
luigifabsreichel
authored andcommitted
Add getInvoicesCollection (#2703)
Co-authored-by: sv3n <[email protected]>
1 parent c0ea4b2 commit 8260205

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

app/code/core/Mage/Sales/Model/Order.php

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,10 +2135,20 @@ public function getInvoiceCollection()
21352135
}
21362136

21372137
/**
2138-
* Retrieve order shipments collection
2139-
*
2140-
* @return Mage_Sales_Model_Resource_Order_Shipment_Collection|false
2141-
*/
2138+
* Retrieve order invoices collection
2139+
*
2140+
* @return Mage_Sales_Model_Resource_Order_Invoice_Collection
2141+
*/
2142+
public function getInvoicesCollection()
2143+
{
2144+
return $this->getInvoiceCollection();
2145+
}
2146+
2147+
/**
2148+
* Retrieve order shipments collection
2149+
*
2150+
* @return Mage_Sales_Model_Resource_Order_Shipment_Collection|false
2151+
*/
21422152
public function getShipmentsCollection()
21432153
{
21442154
if (empty($this->_shipments)) {

0 commit comments

Comments
 (0)