Skip to content

A free open source IT asset/license management system

Add seats to transformer

Marcus Moore69476720469d
diff --git a/app/Http/Transformers/ActionlogsTransformer.php b/app/Http/Transformers/ActionlogsTransformer.php
index bdc2fcdcac..ab98598294 100644
--- a/app/Http/Transformers/ActionlogsTransformer.php
+++ b/app/Http/Transformers/ActionlogsTransformer.php
@@ -343,7 +343,7 @@ class ActionlogsTransformer
}
// only a few action types will have a quantity we are interested in.
- if (!in_array($actionlog->action_type, ['checkout', 'accepted', 'declined', 'checkin from'])) {
+ if (!in_array($actionlog->action_type, ['checkout', 'accepted', 'declined', 'checkin from', 'add seats', 'delete seats'])) {
return null;
}