Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($allInvoiced) {
- echo "allinvoiced";
- return false;
- }
- public function getQtyToInvoice()
- {
- if ($this->isDummy()) {
- return 0;
- }
- $qty = $this->getQtyOrdered()
- - $this->getQtyInvoiced()
- - $this->getQtyCanceled();
- return max($qty, 0);
- }
Add Comment
Please, Sign In to add comment