Add Deliveries
This commit is contained in:
1 parent
15f999869a
commit
77781d227c
14 files changed
+278
-12
No files matched your search
@@ -43,8 +43,10 @@ namespace Elwig.Documents {
|
||||
string name;
|
||||
if (this is BusinessLetter) {
|
||||
name = "BusinessLetter";
|
||||
} else if (this is DeliveryNote) {
|
||||
name = "DeliveryNote";
|
||||
} else {
|
||||
throw new InvalidOperationException();
|
||||
throw new InvalidOperationException("Invalid document object");
|
||||
}
|
||||
return await Html.CompileRenderAsync(name, this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user