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

src/composables: add composable useApiPostSubsidiary for sending create subsidiary request #761

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

maceksimon
Copy link
Contributor

Add composable useApiPostSubsidiary for sending create subsidiary request

  • Add composable
  • Add translation string
  • Add test commands

⚠️ Composable contains code to parse local form state object (type FormCompanyAddressFields) to payload structure required by API. Same in reverse is done on the output of the function.
TODO: Confirm that parsing is a correct approach.

@maceksimon maceksimon marked this pull request as draft December 4, 2024 12:15
@maceksimon maceksimon force-pushed the feature/create-subsidiary branch from 42bf7dd to 34ab991 Compare December 11, 2024 17:10
@maceksimon maceksimon marked this pull request as ready for review December 11, 2024 17:16
@tmszi tmszi added the enhancement New feature or request label Dec 12, 2024
@maceksimon maceksimon force-pushed the feature/create-subsidiary branch from fc36bd6 to 60a6732 Compare December 14, 2024 20:30
@tmszi tmszi force-pushed the feature/create-subsidiary branch from 60a6732 to da98833 Compare December 15, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants