Invoices can be uploaded
This commit is contained in:
@@ -22,6 +22,10 @@ class Amount {
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
public function getRoundedAmount() : int {
|
||||
return round($this->amount);
|
||||
}
|
||||
|
||||
public function getCurrency() : string {
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
9
app/ValueObjects/InvoiceFile.php
Normal file
9
app/ValueObjects/InvoiceFile.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\ValueObjects;
|
||||
|
||||
class InvoiceFile {
|
||||
public string $filename;
|
||||
public string $fullPath;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user