opnform-host-nginx/api
Chirag Chhatrala a11fb01bef
ESC-590 - Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissio… (#774)
* Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissionJob

- Updated the conditions for generating UUID and auto-increment IDs in the `StoreFormSubmissionJob` to ensure they only trigger when the answer value is not provided. This change enhances the logic for handling form submissions, particularly for users with non-pro subscriptions, by preventing unnecessary ID generation when an answer is already present.

These modifications aim to improve the accuracy of form submissions and ensure proper handling of ID generation based on user subscription status.

* Enhance ID Generation Logic in StoreFormSubmissionJob

- Updated conditions for UUID and auto-increment ID generation in `StoreFormSubmissionJob` to ensure they only trigger when the answer value is either not provided or invalid. This change improves the accuracy of ID generation based on user subscription status, preventing unnecessary ID creation when valid input is present.

These modifications aim to enhance the reliability of form submissions and ensure proper handling of ID generation features.

* Test  case
2025-06-05 16:58:24 +02:00
..
app ESC-590 - Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissio… (#774) 2025-06-05 16:58:24 +02:00
bootstrap Refactor Docker configuration and development setup 2025-01-29 17:19:36 +01:00
config Version in self hosted (#770) 2025-05-27 17:44:42 +02:00
database Partial submissions (#705) 2025-04-28 17:33:55 +02:00
public Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
resources Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
routes Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
storage Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
tests ESC-590 - Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissio… (#774) 2025-06-05 16:58:24 +02:00
.env.docker Update Environment Variables in .env.docker 2025-05-22 11:48:58 +02:00
.env.example Integration pages from Notion (#753) 2025-05-19 15:08:15 +02:00
.gitignore Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
_ide_helper_models.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
artisan Update Docker Documentation to Address Line Ending Issues for Windows Users 2025-03-21 16:30:59 +01:00
composer.json Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
composer.lock Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
phpunit.xml Email spam security (#641) 2024-12-18 13:16:27 +01:00
pint.json Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
ray.php Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00
server.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
vapor.yml Update Vapor deployment configuration 2025-02-15 09:18:27 +00:00