vetal Posted October 16, 2014 Report Posted October 16, 2014 Hello, To be able in the future add line to invoices, can you change in the next release the private function addLine() in app/modules/invoices.php to public function addLine() ? Thanks in advance Quote
Tyson Posted October 16, 2014 Report Posted October 16, 2014 No, we wouldn't change the scope of that method from private. It performs no data validation itself, as it is not open to being called outside of the Invoices model, and you shouldn't have a need to call it directly. You can call Invoices::edit to add more line items to an invoice. Quote
vetal Posted October 17, 2014 Author Report Posted October 17, 2014 I didnt know Invoices::edit, this is what I need. Thank you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.