Skip to content

[$30] Additional Payments #430

@maxceem

Description

@maxceem

Background

We need to support this frontend feature via API topcoder-archive/topcoder-platform-micro-frontends-taas-admin-app#82

At the moment we can only process payments to the resource bookings for some amount of days worked via UI https://monosnap.com/file/HOmkcBnEVYmz3j0n32CcQ25TFQmQT5.

Sometimes managers would like to process additional payments which would not be counted for days. For this purpose, we would like to introduce additional payments which would not be counted as payment for working days.

Task

To indicate additional payments we would allow creating payments with days = 0.

Update endpoint to create payments POST /work-period-payments so it allows passing days = 0. Note, that if we pass days = 0 the payment should be created with days = 0 and should not be calculated automatically as it does now when we don't pass days

General Requirements

Please, follow general requirements which are applicable for this task https://github.com/topcoder-platform/taas-apis#documentation-and-utils

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions