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

feat: Additional fields POST /<role>/expenses #552

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

Conversation

KirtiGautam
Copy link
Contributor

Description

We have added support for 6 fields in the POST //expenses.
Roles:

  • Admin
  • Approver
  • Spender

Fields added:

  • code
  • mileage_rate_id
  • mileage_is_round_trip
  • hote_is_breakfast_provided
  • commute_details_id
  • commute_details

We have also added support for file_ids in POST /approver/expenses.

Supporting screenshots:

  1. POST /spender/expenses
  • Code
image
  • Location fix
image
  • Additional fields
image
  1. POST /admin/expenses
  • Code
image
  • Location fix
image
  • Additional fields
image
  1. POST /admin/expenses
  • Code
image
  • Location fix
image
  • Additional fields and file IDs support
image

Clickup

https://app.clickup.com/1864988/v/l/1rx8w-41176

@KirtiGautam KirtiGautam self-assigned this Oct 1, 2024
@github-actions github-actions bot added the size/M Medium PR label Oct 1, 2024
@@ -198,7 +198,36 @@ locations:
minItems: 0
maxItems: 10
items:
$ref: './fields.yaml#/location'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This component was used at a lot of other places so not changing parent. Changed only for expenses POST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Medium PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants