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

Поменять формат письма #18

Open
AtkishkinVlad opened this issue Dec 1, 2021 · 3 comments
Open

Поменять формат письма #18

AtkishkinVlad opened this issue Dec 1, 2021 · 3 comments

Comments

@AtkishkinVlad
Copy link
Contributor

AtkishkinVlad commented Dec 1, 2021

Актуальная версия API:
https://atkishkin.gitbook.io/api-adresnye-tablichki/

Поступила заявка на адресную табличку:
type: ${body["type"]}
${body["street_name"]}, ${body["number"]}
Malysheva Street
${body["width"]} х ${body["height"]} мм
$(body["color-code"])

Историческое: да/нет

Опции:

$(body["mounting"]), $(body["unmounting"])

Контактное лицо:
${body["customer-name"]}
${body["communication"]}

@OksanaOriflame
Copy link
Contributor

в полях body["mounting"], body["unmounting"] лежат boolean, так что в письме будет что-то типа этого:

Опции:
true, false

Уточните, пожалуйста

@AtkishkinVlad
Copy link
Contributor Author

Тогда делаем

Опции:

Монтаж: $(body["mounting"])
Демонтаж: $(body["unmounting"])

@AtkishkinVlad
Copy link
Contributor Author

Например,

Монтаж: да
Демонтаж: нет

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants