Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-139

Create PUT /voucher/vouchers/<id>

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 83
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      We need to be able to edit a few parts of the voucher after it's been generated. The fields that should be editable are:

      voucher.dispersementNumber
      voucher.dispersementDate
      voucher.dispersementAmount
      voucher.voucherNumber

      Attempting to edit any other fields should result in an appropriate error.

      NOTE: protected fields logic can be borrowed from mod-orders

      Acceptance Criteria

      • API is defined and implemented (RAML/ModDesc/Code)
      • Validation of which fields are edited is performed
      • Appropriate error message are used when there are attempts to modify fields which are "off limits"
      • Unit tests are updated
      • API tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases