We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233a37f commit 48deeb9Copy full SHA for 48deeb9
4 files changed
app/Database/Seeder.php
@@ -37,7 +37,9 @@ public function run(): void
37
['free', 'Free', 0, 'monthly', 'subscription', 10, 1],
38
['trial', 'Trial', 0, 'trial', 'subscription', 10, 1],
39
['pro', 'Pro', 2900, 'monthly', 'subscription', 100, 1],
40
+ ['pro-yearly', 'Pro (Annual)', 29900, 'yearly', 'subscription', 1200, 1],
41
['business', 'Business', 9900, 'monthly', 'subscription', 350, 1],
42
+ ['business-yearly', 'Business (Annual)', 99900, 'yearly', 'subscription', 4200, 1],
43
['topup-500', 'AI Credits 500', 500, 'one_time', 'topup', 500, 1],
44
['topup-2000', 'AI Credits 2000', 1800, 'one_time', 'topup', 2000, 1],
45
];
public/assets/css/site.css
@@ -732,6 +732,10 @@ input[type="file"]::-webkit-file-upload-button:hover {
732
margin-top: 16px;
733
}
734
735
+.table tr.is-inactive td {
736
+ opacity: 0.6;
737
+}
738
+
739
.table-toolbar {
740
margin-bottom: 16px;
741
position: relative;
views/admin/billing_plans/index.php
@@ -30,7 +30,7 @@
30
</thead>
31
<tbody>
32
<?php foreach ($plans as $plan) : ?>
33
- <tr>
+ <tr class="<?= (int)($plan['is_active'] ?? 0) === 1 ? '' : 'is-inactive' ?>">
34
<td><?= e($plan['code'] ?? '') ?></td>
35
<td><?= e($plan['name'] ?? '') ?></td>
36
<td><?= e((string)($plan['price_cents'] ?? 0)) ?></td>
views/billing/index.php
@@ -120,7 +120,6 @@
120
</div>
121
<?php endforeach; ?>
122
123
- <p class="muted">Paid plans redirect to hosted checkout based on your active payment gateways.</p>
124
<?php endif; ?>
125
126
0 commit comments