Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
Can't change default currency in account settings (fixes #61)
Dave Earleya1569d2c73b1
diff --git a/backend/app/Http/Request/Account/UpdateAccountRequest.php b/backend/app/Http/Request/Account/UpdateAccountRequest.phpindex 513fc648e..cdfc30f46 100644--- a/backend/app/Http/Request/Account/UpdateAccountRequest.php+++ b/backend/app/Http/Request/Account/UpdateAccountRequest.php@@ -14,7 +14,6 @@ class UpdateAccountRequest extends FormRequestreturn ['name' => 'required|string','timezone' => 'required|timezone:all',- 'email' => 'required|email','currency_code' => [Rule::in(array_values($currencies))],];}diff --git a/backend/app/Services/Handlers/Account/DTO/UpdateAccountDTO.php b/backend/app/Services/Handlers/Account/DTO/UpdateAccountDTO.phpindex 0a6ea1f80..cf86423fb 100644--- a/backend/app/Services/Handlers/Account/DTO/UpdateAccountDTO.php+++ b/backend/app/Services/Handlers/Account/DTO/UpdateAccountDTO.php@@ -10,7 +10,6 @@ class UpdateAccountDTO extends BaseDTOpublic readonly string $account_id,public readonly string $updated_by_user_id,public readonly string $name,- public readonly string $email,public readonly string $currency_code,public readonly string $timezone,)diff --git a/backend/app/Services/Handlers/Account/UpdateAccountHanlder.php b/backend/app/Services/Handlers/Account/UpdateAccountHanlder.phpindex 0a1b65d3e..7c1051fe4 100644--- a/backend/app/Services/Handlers/Account/UpdateAccountHanlder.php+++ b/backend/app/Services/Handlers/Account/UpdateAccountHanlder.php@@ -24,7 +24,6 @@ class UpdateAccountHanlder$this->accountRepository->updateWhere(attributes: ['name' => $data->name,- 'email' => $data->email,'currency_code' => $data->currency_code,'timezone' => $data->timezone,],