Gaetan Craig-Riou
|
a2def2424c
|
Add a comment around the use of safe_constantize
It triggers a Brakeman error that can be safely ignored
|
2023-08-11 15:41:45 +10:00 |
|
Gaetan Craig-Riou
|
e6b53c0a42
|
Per review , Simplify creation of Voucher
We now check against known type to instanciate the correct voucher
instead of using a case
|
2023-08-11 15:41:45 +10:00 |
|
Gaetan Craig-Riou
|
29a38467d2
|
Fix admin pages to work with refactored vouchers
|
2023-08-11 14:54:23 +10:00 |
|
Gaetan Craig-Riou
|
cc9069e9c6
|
Add voucher type to admin screen
Plus specs
|
2023-08-11 14:19:26 +10:00 |
|
Matt-Yorkley
|
75e6ccd580
|
Simplify voucher controller
|
2023-07-03 11:03:05 +01:00 |
|
Gaetan Craig-Riou
|
abf2105df7
|
Admin::VoucherController check enterprise permission
|
2023-05-16 16:20:04 +10:00 |
|
Gaetan Craig-Riou
|
b427e420ce
|
Update admin pages to allow entering an amount
|
2023-05-16 16:20:04 +10:00 |
|
Gaetan Craig-Riou
|
4085aa22dc
|
Add create voucher action and system test
|
2023-03-28 13:39:29 +11:00 |
|
Gaetan Craig-Riou
|
a4add889a8
|
Add form on the new voucher page
|
2023-03-28 13:39:29 +11:00 |
|
Gaetan Craig-Riou
|
f9f6793d10
|
Add template and basic controller for backoffice voucher pages
|
2023-03-28 13:39:29 +11:00 |
|