Skip to content

Commit a6f8323

Browse files
luigifabsreichel
andauthored
Add getInvoicesCollection (#2703)
Co-authored-by: sv3n <[email protected]>
1 parent 5e04bdb commit a6f8323

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
@@ -2133,10 +2133,20 @@ public function getInvoiceCollection()
21332133
}
21342134

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

0 commit comments

Comments
 (0)