- Sep 07, 2021
-
-
Ruben.Havre authored
-
- Aug 16, 2021
-
-
Jo Sama authored
Exclude unset values from beeing transfered when posting a new batch to Setra. Setra does not accept fields set to None (at least period and vouchertype).
-
Jo Sama authored
This interface avoids leaking transport-specific information, while returning an indication of how the request fared so the user can decide on how to proceed with processing.
- Jul 15, 2021
-
-
Andreas Ellewsen authored
Clarify responses from post/put See merge request !18
-
- Jul 13, 2021
-
-
Andreas Ellewsen authored
Before this commit it was unclear whether a post request was successful or not. We now return the content and status to make this clearer
-
Andreas Ellewsen authored
Setra supports vouchertype being optional, so the client should as well.
-
- May 27, 2021
-
-
Jo Sama authored
This allows more readable code, as we can do if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED: instead of if batch.batch_progress == str(BatchProgressEnum.VALIDATION_FAILED): or if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED.value:
-
Jo Sama authored
Validation rule 12 defines period as an optional field. If empty, it will be populated by master data.
- May 07, 2021
-
-
Andreas Ellewsen authored
Instead of mixing the Batch model for batches sent *to* with batches received *from* SETRA, we switch to using an InputBatch and an OutputBatch. The InputBatch contains the fields that can be used when sending a Batch (with Vouchers and Transactions), and the OutputBatch contains all the information one receives from SETRA when fetching a single batch from the batch/ endpoint, or multiple using the search functionality. The get_batch method is reduced to only fetch a single batch, while the new search_batches method takes the role of searching based on creation date and interface. In addition, the return_list_of_obj parameter is removed in favor of the return_objects class attribute. This commit expects that SETRA includes the id field in Batches.
-
- Apr 28, 2021
-
-
Karen Bjørndalen authored
Bugfix/optional fields in models.Parameter See merge request !16
-
Karen Bjørndalen authored
Also a little tidying
-
- Apr 27, 2021
-
-
Ruben.Havre authored
FSHO-19: Added update batch method. And fixed format to match the post_new_batch method See merge request !14
-
rha104 authored
- Apr 26, 2021
- Apr 23, 2021
-
- Mar 30, 2021
-
-
Petr.Kalashnikov authored
Fsho12, del 1: mulighet å returnere en liste av batcher uten vouchere See merge request !13
-
Petr Kalashnikov authored
-
- Mar 29, 2021
-
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
- Mar 23, 2021
-
-
Andreas Ellewsen authored
Add support for api/parameters endpoint See merge request !12
-
Andreas Ellewsen authored
Fix dateformats See merge request !10
-
- Mar 22, 2021
-
-
Andreas Ellewsen authored
Instead of two methods we now have one that does the appropriate action based on the input type.
-
Andreas Ellewsen authored
-
- Mar 15, 2021
-
-
Petr.Kalashnikov authored
FSHO10: support filtering of batches in list from setra See merge request !11
-
Petr.Kalashnikov authored
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
- Mar 11, 2021
-
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
- Mar 08, 2021
-
-
Andreas Ellewsen authored
SETRA has a default value for this field, making it optional.
-