Added marked_for_deletion and billing_plan_downgrade
to hamster export
This commit is contained in:
parent
e9a13fe93c
commit
d220c2bdd7
1 changed files with 3 additions and 2 deletions
|
@ -429,6 +429,7 @@ class Hamster extends Action
|
||||||
Query::equal('userInternalId', [$user->getInternalId()])
|
Query::equal('userInternalId', [$user->getInternalId()])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
$billing = $this->getBillingDetails($organization);
|
$billing = $this->getBillingDetails($organization);
|
||||||
$statsPerUser['billing_plan'] = $billing['billing_plan'] ?? null;
|
$statsPerUser['billing_plan'] = $billing['billing_plan'] ?? null;
|
||||||
$statsPerUser['billing_start_date'] = $billing['billing_start_date'] ?? null;
|
$statsPerUser['billing_start_date'] = $billing['billing_start_date'] ?? null;
|
||||||
|
@ -468,7 +469,7 @@ class Hamster extends Action
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getBillingDetails(Document $team): array
|
private function getBillingDetails(bool|Document $team): array
|
||||||
{
|
{
|
||||||
$billing = [];
|
$billing = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue