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-08-10 10:02:45 +02:00
2023-01-11 10:10:30 +00:00
2023-09-05 15:48:59 +02:00
2023-08-14 21:02:48 +01:00
2023-08-03 16:45:30 +10:00
2023-07-18 08:17:34 +09:00
2023-08-25 10:19:17 +10:00
2023-07-31 09:23:20 +10:00
2023-08-20 12:33:43 +09:00
2023-09-04 21:30:41 +02:00
2023-08-03 14:53:40 +01:00
2023-08-03 09:49:47 +09:00
2023-09-07 13:58:07 +02:00
2023-08-20 13:01:34 +09:00
2023-08-31 16:41:41 +10:00
2023-09-07 15:13:47 +02:00
2023-06-13 14:58:16 +01:00
2023-08-08 11:36:31 +01:00
2023-09-05 09:45:00 +10:00
2023-09-01 08:55:56 +09:00
2023-09-07 14:00:26 +02:00
2022-05-12 16:54:13 +02:00
2023-08-22 10:00:06 +10:00
2023-08-20 12:33:43 +09:00
2023-08-08 11:36:31 +01:00
2023-08-15 08:36:22 +02:00
2023-04-18 09:50:08 +10:00
2023-07-30 21:29:19 +09:00