subscription detail page

This commit is contained in:
Čarodej
2021-11-24 10:31:37 +01:00
parent 913bdf70ad
commit 7fe576ba26
8 changed files with 562 additions and 1817 deletions

View File

@@ -742,6 +742,16 @@ class SetupDevEnvironment extends Command
'name' => 'Finance Documents',
]);
collect([$companyProjectFolder, $financeDocumentsFolder])
->each(function ($folder) use ($user) {
DB::table('team_folder_members')
->insert([
'parent_id' => $folder->id,
'user_id' => $user->id,
'permission' => 'owner',
]);
});
// Attach members
$members = User::whereNotIn('email', ['howdy@hi5ve.digital'])
->get();