Commit graph

55 commits

Author SHA1 Message Date
Noah Lancien
cca776dbeb fix: ♻️ Remove generic failed output for US2.1 2026-10-26 17:02:07 +01:00
Noah Lancien
a0160bfa8f fix: set publication default to fasle on campaign creation 2026-10-26 16:25:55 +01:00
Noah Lancien
6444525a49 chore: 🚨 linters 2026-10-22 11:03:48 +02:00
Noah Lancien
54bdd099bb feat: ✨ Create Campaign - #48 - US2.1 2026-10-20 17:39:31 +02:00
Noah Lancien
f80c95479c fix: ♻️ Sprint 4 feedbacks - reorganize outputs, remove useless tests ... 2026-10-20 10:12:52 +02:00
Alexis Gousseau
937b516242
fix: 🚨 resolve linters errors 2026-10-15 15:40:13 +02:00
Alexis Gousseau
89854cba4d
feat: ✨ add use case create printable coupon + tests 2026-10-15 15:39:34 +02:00
Alexis Gousseau
3b50f284e8
refactor: ♻️ clean createdAt & updatedAt methods and set them only on Find UseCases 2026-10-14 14:41:21 +02:00
Alexis Gousseau
f55f4bb628 Merge branch 'printable-coupon' into 'coupon'
feat: 👷 add ListPrintableCoupon Use Case and tests

See merge request ldc-web/projets/mesbr!61
2026-10-14 14:31:17 +02:00
Alexis Gousseau
933cfa48ad
feat: 👷 add ListPrintableCoupon Use Case and tests 2026-10-14 14:29:06 +02:00
Corentin Huet
0dba81c214 refactor: ♻️ compute quantity from stock movements 2026-10-14 11:53:24 +02:00
Corentin Huet
44e3a646a3 fix: 🐛 correct imports and use ean13 processing codes 2026-10-14 09:46:58 +02:00
Corentin Huet
5bb8063999 feat: ✨ update legal and validity information of a coupon 2026-10-14 09:46:58 +02:00
Corentin Huet
620e4ef44c chore: 🚨 resolve linters error 2026-10-14 09:36:42 +02:00
Corentin Huet
8d974b5161 feat: ✨ add use case to update coupon pictures 2026-10-14 09:31:14 +02:00
Corentin Huet
b1b7857ddc refactor: ♻️ return brand code instead of brand in coupon details 2026-10-13 16:20:01 +02:00
Alexis Gousseau
d75f132ee1
fix: 🚚 renaming classes that do not belong directly to Coupons 2026-10-13 16:13:01 +02:00
Alexis Gousseau
c3a3d1cb83 Merge branch 'coupon-list' into 'coupon'
feat: ✨ add ListCoupons Use Case and tests

See merge request ldc-web/projets/mesbr!58
2026-10-13 16:06:55 +02:00
Alexis Gousseau
5c6c1b1222
feat: ✨ add ListCoupons Use Case and tests 2026-10-13 16:04:10 +02:00
Corentin Huet
e4a0ad5b73 fix: 🐛 restrict processing code to 13 digits 2026-10-13 15:56:11 +02:00
Alexis Gousseau
5a3815579d
test: ✅ cover country rules in coupon use case and value objects 2026-10-13 11:34:05 +02:00
Corentin Huet
cbd5a56e48 feat: ✨ add use case to find coupon details by code 2026-10-13 10:00:57 +02:00
Alexis Gousseau
a21415269c
feat: ✨ add CreateCoupon use case tests and check brand existence when creating a coupon 2026-10-12 17:17:21 +02:00
Alexis Gousseau
680c71ea87
test: ✅ update on coupon Entity and related VO 2026-10-12 17:08:07 +02:00
Alexis Gousseau
fdbde84728
refactor: ♻️ update coupon Entity and related VO 2026-10-12 17:07:56 +02:00
Corentin Huet
0b7da69567 refactor: ♻️ make sort required in campaign request list 2026-10-02 17:13:05 +02:00
K Muller
871ceade05 fix: 🐛 new structures and fix linters 2026-10-02 12:48:00 +02:00
K Muller
a9147e27c7 fix: 🐛 some fixes on the structure in sprint2 2026-10-02 12:48:00 +02:00
Corentin Huet
567a5cd48e feat: ✨ add campaign request creation use case 2026-10-02 12:48:00 +02:00
Corentin Huet
7265d2fa5f fix: 🐛 resolve some tests 2026-10-02 12:48:00 +02:00
Corentin Huet
f45bb119e0 refactor: ♻️ update entities, related VOs and tests 2026-10-02 12:48:00 +02:00
K Muller
02dfb42056 fix: 🐛 rename brand into brandcode 2026-10-02 12:47:59 +02:00
K Muller
18551d8bdb fix: 🐛 resolve conflicts 2026-10-02 12:47:59 +02:00
K Muller
aec9e6a575 feat: ✨ delete country from requestedcoupon 2026-10-02 12:47:59 +02:00
K Muller
ca312020cd fix: 🐛 change country and country authorized 2026-10-02 12:47:59 +02:00
K Muller
44c65cf9f6 feat: ✨ country enum is on coupon, and used as a backup 2026-10-02 12:47:59 +02:00
K Muller
69faddcd08 fix: 🐛 change reject test for testing reason null 2026-10-02 12:47:59 +02:00
K Muller
29c6428aaf fix: 🐛 change Country into Shared 2026-10-02 12:47:59 +02:00
K Muller
65e834a06e fix: 🐛 fix linters 2026-10-02 12:47:58 +02:00
K Muller
f2fb5d8a23 fix: 🐛 fix linters 2026-10-02 12:47:27 +02:00
Corentin Huet
611bf375ab feat: ✨ add list campaign request tests without sort and without filters 2026-10-02 12:47:27 +02:00
K Muller
973c833fac fix: 🐛 change entity requestedCoupon into VO 2026-10-02 12:47:27 +02:00
K Muller
d10b91fe48 fix: 🐛 delete the assert on RejectCampaignRequest UseCase 2026-10-02 12:47:27 +02:00
Corentin Huet
e15a372e59 refactor: ♻️ DateTime VO and use native DateTime class 2026-10-02 12:47:27 +02:00
K Muller
c773e9de4e fix: 🐛 add Quantity and WarningQuantity as VO 2026-10-02 12:47:27 +02:00
K Muller
6d7aecbd1d fix: 🐛 put enum in vo folder / use global country enum 2026-10-02 12:47:27 +02:00
Corentin Huet
01b4a049b2 fix: 🚨 resolve pint errors 2026-10-02 12:47:27 +02:00
Corentin Huet
50eb40841f fix: 🚨 resolve phpcs errors 2026-10-02 12:47:27 +02:00
Corentin Huet
7312d3a192 feat: ✨ add findAll method to campaign request 2026-10-02 12:47:27 +02:00
K Muller
895b535f76 feat: ✨ add the rejection method for campaign request 2026-10-02 12:47:27 +02:00