Invoice PAIN & CSV can be uploaded
This commit is contained in:
@@ -80,4 +80,8 @@ class Invoice extends InstancedModel
|
||||
public function invoiceType() : InvoiceType {
|
||||
return $this->belongsTo(InvoiceType::class, 'type', 'slug')->first();
|
||||
}
|
||||
|
||||
public function approvedBy() : ?User {
|
||||
return $this->belongsTo(User::class, 'approved_by')->first();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user