Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lisätty Aromi-ruokatilausten asiakastunnus ryhmille ja nostettu se näkyville raakaraportille #6441

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tmkrepo
Copy link
Collaborator

@tmkrepo tmkrepo commented Feb 26, 2025

Aromi-ruokatilauksia varten tarvitaan tekstimuotoinen ryhmäkohtainen asiakastunnus. Muutoksen myötä se on mahdollista lisätä ryhmää luotaessa ja muokatessa. PR parantaa myös ryhmien luonnin käytettävyyttä estämällä nimettömien ryhmien luomisen ja pakottamalla ryhmätietojen päivityksen uuden ryhmän luonnin jälkeen.

Aromi-tunnuksen syöttäminen on näkyvillä ainoastaan käyttöliittymän lipun aromiIntegration aktivoineille konfiguraatioille. Espoon konfiguraatioon lippu asetettu päälle lokaaliin (default) ja pois stagingissa sekä prodissa.

Tunnus on lisätty myös raakaraportille, jotta sen kokonaistilannetta voidaan tarkastella yksikkönäkymää korkeammalta tasolta.

@tmkrepo tmkrepo added the enhancement Uusi toiminnallisuus tai parannus label Feb 26, 2025
@tmkrepo tmkrepo force-pushed the aromi-id-for-groups branch 2 times, most recently from 6222d01 to 662fe86 Compare February 26, 2025 13:30
@tmkrepo tmkrepo marked this pull request as ready for review February 26, 2025 13:48
Comment on lines 270 to 271
...initial,
aromiCustomerId: initial.aromiCustomerId ?? null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
...initial,
aromiCustomerId: initial.aromiCustomerId ?? null
aromiCustomerId: null,
...initial

Tällä tavalla annetaan default-arvo jonka voi yliajaa initial-parametrissa.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Korjattu

{
label: 'Ryhmäkohtainen Aromin asiakastunniste',
key: 'aromiCustomerId'
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voisiko aromi id:n sisällyttää CSV:hen vain jos aromi-integraatio on päällä?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otsakelisäys liputettu.

@tmkrepo tmkrepo force-pushed the aromi-id-for-groups branch from 662fe86 to da0420c Compare February 28, 2025 11:46
@tmkrepo tmkrepo requested a review from akheron February 28, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Uusi toiminnallisuus tai parannus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants