Operation processes on invoices
This commit is contained in:
@@ -40,4 +40,8 @@ class Amount {
|
||||
public function addAmount(Amount $amount) : void {
|
||||
$this->amount += $amount->getAmount();
|
||||
}
|
||||
|
||||
public function subtractAmount(Amount $amount) : void {
|
||||
$this->amount -= $amount->getAmount();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user