Add team, developers, PDF type, and QR rendering dependency.
Deploy Ladill QR Plus / deploy (push) Successful in 42s

Enables account collaboration, API tokens, hosted PDF codes, and fixes QR detail 500s by declaring chillerlan/php-qrcode.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-07 06:16:13 +00:00
co-authored by Cursor
parent bcd1cf5d28
commit 8c3e9d3c26
23 changed files with 892 additions and 28 deletions
@@ -21,20 +21,20 @@ class OverviewController extends Controller
public function index(Request $request): View
{
$user = $request->user();
$wallet = $this->manager->walletFor($user);
$codes = $user->qrCodes()
$account = ladill_account();
$wallet = $this->manager->walletFor($account);
$codes = $account->qrCodes()
->whereIn('type', QrTypeCatalog::plusTypes())
->latest()
->limit(5)
->get();
$activeCount = $user->qrCodes()
$activeCount = $account->qrCodes()
->whereIn('type', QrTypeCatalog::plusTypes())
->where('is_active', true)
->count();
$scans30d = $user->qrCodes()
$scans30d = $account->qrCodes()
->whereIn('type', QrTypeCatalog::plusTypes())
->withSum(['scanEvents as scans_30d' => fn ($q) => $q->where('created_at', '>=', now()->subDays(30))], 'id')
->get()
@@ -42,10 +42,10 @@ class OverviewController extends Controller
$balanceMinor = 0;
try {
$balanceMinor = $this->billing->balanceMinor($user->public_id);
$balanceMinor = $this->billing->balanceMinor($account->public_id);
} catch (Throwable $e) {
Log::warning('QR Plus dashboard could not load wallet balance', [
'user' => $user->public_id,
'user' => $account->public_id,
'error' => $e->getMessage(),
]);
}