Add custom report targets exhibitions and loans
This commit is contained in:
parent
dc977c0ff6
commit
663edea4db
2
l18n
2
l18n
|
@ -1 +1 @@
|
|||
Subproject commit dcd03ce585f08b1793de30c7733dde6655c69595
|
||||
Subproject commit 69d86e4bf56528e9e1ddc8e4330a9f7c0b3d4880
|
|
@ -13,6 +13,8 @@ enum MDCustomReportTarget implements MDValueEnumInterface, JsonSerializable {
|
|||
|
||||
case object_single;
|
||||
case object_list;
|
||||
case loan;
|
||||
case exhibition;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
|
@ -26,6 +28,8 @@ enum MDCustomReportTarget implements MDValueEnumInterface, JsonSerializable {
|
|||
return match($input) {
|
||||
'object_single' => self::object_single,
|
||||
'object_list' => self::object_list,
|
||||
'loan' => self::loan,
|
||||
'exhibition' => self::exhibition,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown custom report target: " . $input),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user