From db0cb867c4fca1e8e14779bbb613585add46f53a Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Wed, 1 Apr 2015 14:38:16 +0200 Subject: [PATCH] MT#12385 Add reseller_id to EDR head. Change-Id: Ied667fac5eee55fa8980f29ae5e548f203f222d9 --- lib/NGCP/Panel/Utils/Events.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/NGCP/Panel/Utils/Events.pm b/lib/NGCP/Panel/Utils/Events.pm index 6e6d425d05..3b979d8398 100644 --- a/lib/NGCP/Panel/Utils/Events.pm +++ b/lib/NGCP/Panel/Utils/Events.pm @@ -15,6 +15,7 @@ sub insert { $schema->resultset('events')->create({ type => $type, subscriber_id => $subscriber->id, + reseller_id => $subscriber->contract->contact->reseller_id, old_status => $old // '', new_status => $new // '', timestamp => NGCP::Panel::Utils::DateTime::current_local->hires_epoch,