mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
UI improvements
This commit is contained in:
@@ -197,7 +197,7 @@ return [
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'registration_bonus_amount',
|
'name' => 'registration_bonus_amount',
|
||||||
'value' => null,
|
'value' => 0,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1001,7 +1001,7 @@ class SetupDevEnvironment extends Command
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'user_verification',
|
'name' => 'user_verification',
|
||||||
'value' => 1,
|
'value' => 0,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'allowed_payments',
|
'name' => 'allowed_payments',
|
||||||
|
|||||||
@@ -32,13 +32,14 @@ class AutoSubscribeForMeteredBillingAction
|
|||||||
'status' => 'completed',
|
'status' => 'completed',
|
||||||
'type' => 'credit',
|
'type' => 'credit',
|
||||||
'driver' => 'system',
|
'driver' => 'system',
|
||||||
'note' => __('Bonus'),
|
'note' => __('Registration Bonus'),
|
||||||
'currency' => $plan->currency,
|
'currency' => $plan->currency,
|
||||||
'amount' => $settings['registration_bonus_amount'],
|
'amount' => $settings['registration_bonus_amount'],
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
// Create balance with 0 amount
|
// Create balance with 0 amount
|
||||||
$user->balance()->create([
|
$user->balance()->create([
|
||||||
|
'amount' => 0,
|
||||||
'currency' => $plan->currency,
|
'currency' => $plan->currency,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user