Update InvoiceSumInclusive.php (#3368)
This commit is contained in:
parent
9c10bb48a7
commit
01e0c4eb46
1 changed files with 18 additions and 0 deletions
|
|
@ -185,6 +185,24 @@ class InvoiceSumInclusive
|
|||
return $this->invoice;
|
||||
}
|
||||
|
||||
public function getQuote()
|
||||
{
|
||||
//Build invoice values here and return Invoice
|
||||
$this->setCalculatedAttributes();
|
||||
$this->invoice->save();
|
||||
|
||||
return $this->invoice;
|
||||
}
|
||||
|
||||
public function getCredit()
|
||||
{
|
||||
//Build invoice values here and return Invoice
|
||||
$this->setCalculatedAttributes();
|
||||
$this->invoice->save();
|
||||
|
||||
return $this->invoice;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Build $this->invoice variables after
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue