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
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.
vetal Posted October 17, 2014 Author Report Posted October 17, 2014 I didnt know Invoices::edit, this is what I need. Thank you.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now