updated function definition and optimized code

This commit is contained in:
Shreesh Arora
2022-12-26 17:17:33 +05:30
parent 8fa1e3a307
commit fba475f51c
7 changed files with 59 additions and 67 deletions

View File

@@ -880,7 +880,7 @@ class OrderInvoiceCore extends ObjectModel
return OrderPayment::getByInvoiceId($this->id);
}
public function getOrderPaymentDetailCollection()
public function getOrderPaymentDetail()
{
return OrderPaymentDetail::getByInvoiceId($this->id);
}