Gaetan Craig-Riou
f225cd78df
Handle unique voucher code exception
...
Rails validation doesn't handle unique validation for soft deleted
object. So we rescue the exception raise by the database and display
a nice error message. We don't want an enterprise to be able to reuse
a code in case the voucher get reactivated.
2023-09-07 15:13:47 +02:00
..
2023-06-26 12:10:39 +10:00
2021-06-17 23:07:26 +01:00
2023-05-08 14:07:50 +01:00
2023-06-15 15:26:22 +10:00
2023-07-18 08:17:34 +09:00
2021-09-08 14:28:31 +01:00
2023-06-23 09:08:04 +09:00
2021-06-17 23:07:26 +01:00
2023-09-05 15:48:59 +02:00
2021-06-17 23:07:26 +01:00
2023-02-14 08:08:20 +00:00
2021-06-17 23:07:26 +01:00
2022-10-18 11:32:14 +11:00
2023-09-01 08:55:56 +09:00
2021-06-17 23:07:26 +01:00
2023-09-01 08:55:56 +09:00
2023-06-28 09:59:57 +10:00
2023-08-14 17:29:11 +09:00
2023-07-21 14:51:40 +10:00
2023-08-01 22:50:21 +09:00
2023-08-24 09:18:35 +09:00
2021-06-17 23:07:26 +01:00
2021-06-17 23:07:26 +01:00
2021-09-08 14:28:31 +01:00
2023-06-23 09:08:04 +09:00
2021-06-17 23:07:26 +01:00
2021-06-09 14:06:54 +10:00
2023-04-14 16:32:39 +10:00
2023-09-07 15:13:47 +02:00