feat: style the generate payment link dialog

This commit is contained in:
Ahmed Bouhuolia
2024-09-15 21:03:36 +02:00
parent 430cf19533
commit 18d6ec7b59
6 changed files with 114 additions and 64 deletions

View File

@@ -1,7 +1,7 @@
import { Inject, Service } from 'typedi';
import { snakeCase } from 'lodash';
import { StripePaymentService } from './StripePaymentService';
import HasTenancyService from '../Tenancy/TenancyService';
import { snakeCase } from 'lodash';
interface CreateStripeAccountDTO {
name: string;
@@ -28,7 +28,7 @@ export class CreateStripeAccountService {
// Creates a new Stripe account.
const account = await this.stripePaymentService.createAccount();
const slug = snakeCase(createStripeAccountDTO.name);
// Store the Stripe account on tenant store.