Changeset View
Changeset View
Standalone View
Standalone View
src/database/seeds/local/PlanSeeder.php
Show All 26 Lines | |||||
</ul> | </ul> | ||||
EOD; | EOD; | ||||
$plan = Plan::create( | $plan = Plan::create( | ||||
[ | [ | ||||
'title' => 'individual', | 'title' => 'individual', | ||||
'name' => 'Individual Account', | 'name' => 'Individual Account', | ||||
'description' => $description, | 'description' => $description, | ||||
'free_months' => 1, | |||||
'discount_qty' => 0, | 'discount_qty' => 0, | ||||
'discount_rate' => 0 | 'discount_rate' => 0 | ||||
] | ] | ||||
); | ); | ||||
$packages = [ | $packages = [ | ||||
Package::where(['title' => 'kolab', 'tenant_id' => \config('app.tenant_id')])->first() | Package::where(['title' => 'kolab', 'tenant_id' => \config('app.tenant_id')])->first() | ||||
]; | ]; | ||||
Show All 11 Lines | |||||
</ul> | </ul> | ||||
EOD; | EOD; | ||||
$plan = Plan::create( | $plan = Plan::create( | ||||
[ | [ | ||||
'title' => 'group', | 'title' => 'group', | ||||
'name' => 'Group Account', | 'name' => 'Group Account', | ||||
'description' => $description, | 'description' => $description, | ||||
'free_months' => 1, | |||||
'discount_qty' => 0, | 'discount_qty' => 0, | ||||
'discount_rate' => 0 | 'discount_rate' => 0 | ||||
] | ] | ||||
); | ); | ||||
$packages = [ | $packages = [ | ||||
Package::where(['title' => 'domain-hosting', 'tenant_id' => \config('app.tenant_id')])->first(), | Package::where(['title' => 'domain-hosting', 'tenant_id' => \config('app.tenant_id')])->first(), | ||||
Package::where(['title' => 'kolab', 'tenant_id' => \config('app.tenant_id')])->first() | Package::where(['title' => 'kolab', 'tenant_id' => \config('app.tenant_id')])->first() | ||||
Show All 16 Lines | <ul> | ||||
<li>An ideal replacement for services like Gmail, Office 365, etc…</li> | <li>An ideal replacement for services like Gmail, Office 365, etc…</li> | ||||
</ul> | </ul> | ||||
EOD; | EOD; | ||||
$plan = Plan::create( | $plan = Plan::create( | ||||
[ | [ | ||||
'title' => 'individual', | 'title' => 'individual', | ||||
'name' => 'Individual Account', | 'name' => 'Individual Account', | ||||
'free_months' => 1, | |||||
'description' => $description, | 'description' => $description, | ||||
'discount_qty' => 0, | 'discount_qty' => 0, | ||||
'discount_rate' => 0 | 'discount_rate' => 0 | ||||
] | ] | ||||
); | ); | ||||
$plan->tenant_id = $tenant->id; | $plan->tenant_id = $tenant->id; | ||||
$plan->save(); | $plan->save(); | ||||
Show All 15 Lines | |||||
</ul> | </ul> | ||||
EOD; | EOD; | ||||
$plan = Plan::create( | $plan = Plan::create( | ||||
[ | [ | ||||
'title' => 'group', | 'title' => 'group', | ||||
'name' => 'Group Account', | 'name' => 'Group Account', | ||||
'description' => $description, | 'description' => $description, | ||||
'free_months' => 1, | |||||
'discount_qty' => 0, | 'discount_qty' => 0, | ||||
'discount_rate' => 0 | 'discount_rate' => 0 | ||||
] | ] | ||||
); | ); | ||||
$plan->tenant_id = $tenant->id; | $plan->tenant_id = $tenant->id; | ||||
$plan->save(); | $plan->save(); | ||||
Show All 9 Lines |