Uploaded image for project: 'ui-invoice'
  1. ui-invoice
  2. UINV-175

Add cancel invoice option to action menu

    XMLWordPrintable

    Details

    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 121
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Purpose: Moving the cancel invoice option to the action menu will allow the system to apply the necessary logic and control user access with a specific permission

      User story statement(s):

      As an invoicing manager,
      I want the ability to cancel an invoice
      so that I can clear it from the books when a vendor is not able to deliver

      Scenarios:

      1. Scenario:
        • Given user has selected an invoice
        • When the invoice is in approved or paid status
        • AND the user has "Invoice: cancel invoice" permission
        • Then user can see "Cancel" option in the action menu
      2. Scenario: 
        • Given user can see "Cancel" option in the action menu
        • When clicking the cancel option
        • Then system displays a confirmation modal
        • With message: "Are you sure you want to cancel this invoice? Any related transactions against funds will be voided."
        • AND user can add a Cancellation note (Should be saved in invoice and display in invoice information if added)
        • AND user must click Submit button to continue
      3. Scenario: 
        • Given user has confirmed cancellation of invoice
        • When confirmation modal is dismissed
        • Then user returns to invoice view pane
        • AND invoice status has transitioned to "Canceled"
        • AND cancellation note displays on invoice in "Invoice information" accordion
      4. Scenario (split to UIF-316):
        • Given user has confirmed cancellation of invoice
        • When user navigates to related fund transactions view
        • Then user can see that pending payments or payments for that invoice are Voided
        • AND the transaction has been reversed

      NOTE: Once an invoice is canceled users should not be able to Open, approve or pay them again.

      Also Voucher should also be given a status of "Canceled" when an invoice is canceled.

      Will need to add a Flag to transactions for "invoiceCancelled" (Done)

        TestRail: Results

          Attachments

          1. cancel_button.png
            cancel_button.png
            265 kB
          2. cancel-invoice-modal.png
            cancel-invoice-modal.png
            328 kB
          3. cancellation_note_status.png
            cancellation_note_status.png
            251 kB
          4. confirm_modal.png
            confirm_modal.png
            254 kB
          5. invoices-actions-dropdown.png
            invoices-actions-dropdown.png
            269 kB
          6. Proof_1.png
            Proof_1.png
            180 kB
          7. Proof_2_3.mp4
            17.90 MB
          8. transactions-list-with-void.png
            transactions-list-with-void.png
            140 kB

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases