Remove redundant type picker from event and programme creation.
Deploy Ladill Events / deploy (push) Failing after 23s
Deploy Ladill Events / deploy (push) Failing after 23s
Events is a single-product app — type is implicit on create, so drop the Type card, default-type setting, and rebrand the create flow copy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -79,7 +79,6 @@ class QrCodeController extends Controller
|
||||
|
||||
return view('qr-codes.create', [
|
||||
'wallet' => $wallet,
|
||||
'types' => collect(QrTypeCatalog::all())->only([$requestedType])->all(),
|
||||
'requestedType' => $requestedType,
|
||||
'moduleStyles' => QrModuleStyleCatalog::visible(),
|
||||
'cornerOuterStyles' => QrCornerStyleCatalog::outerStyles(),
|
||||
@@ -89,7 +88,6 @@ class QrCodeController extends Controller
|
||||
'minTopup' => QrWallet::minTopupGhs(),
|
||||
'ladillWalletBalance' => $this->platformBilling->balanceMinor($account->public_id) / 100,
|
||||
'topupUrl' => 'https://'.config('app.account_domain').'/wallet',
|
||||
'defaultType' => $qrSettings->resolvedDefaultType(),
|
||||
'accountDefaultStyle' => $qrSettings->resolvedDefaultStyle(),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user