printshopcreator/src/new/fixtures/voucher.yml
Thomas Peterson 7e7628bbd3
Some checks failed
Gitea Actions / Run-Tests-On-Amd64 (push) Failing after 40m13s
Gitea Actions / Merge (push) Successful in 6m14s
Gitea Actions / Run-Tests-On-Arm64 (push) Has been cancelled
Fixes
2025-12-16 12:38:53 +01:00

59 lines
1.2 KiB
YAML

PSC\Shop\EntityBundle\Entity\Voucher:
voucher_1:
title: 5€ fest
enable: true
payment: true
shipping: true
more: true
percent: false
code: 5f
mode: 1
fromDate: <(new DateTime("2023-12-12"))>
toDate: <(new DateTime("2026-12-12"))>
value: 5
shop: '@shop_1'
voucher_2:
title: 5% prozent
enable: true
payment: true
shipping: true
more: true
percent: true
code: 5p
mode: 1
fromDate: <(new DateTime("2023-12-12"))>
toDate: <(new DateTime("2026-12-12"))>
value: 5
shop: '@shop_1'
voucher_3:
title: onlyZeroPayment
enable: true
payment: true
shipping: true
more: true
percent: false
code: onlyZeroPayment
zeroPayment: true
zeroShipping: false
mode: 1
fromDate: <(new DateTime("2023-12-12"))>
toDate: <(new DateTime("2026-12-12"))>
value: 0
shop: '@shop_1'
voucher_4:
title: onlyZeroShipping
enable: true
payment: true
shipping: true
more: true
percent: false
code: onlyZeroShipping
zeroPayment: false
zeroShipping: true
mode: 1
fromDate: <(new DateTime("2023-12-12"))>
toDate: <(new DateTime("2026-12-12"))>
value: 0
shop: '@shop_1'