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

Implement "Lock total" create and edit invoice form logic

    XMLWordPrintable

    Details

    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 102, ACQ Sprint 103
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Purpose: Allow user to enter a Total amount for the invoice. Upon approval of the invoice check all invoice and invoice line amounts against the Total. If they do not equal each other do not allow user to Approve invoice.

      User story statement(s):

      As a librarian that has created an EDI connect for receiving invoices
      I want the invoices to be created with the overall Total amount from the EDI file as the source of truth for the invoice
      so that as I add detail like taxes and fees for reporting purposes I know the system is going to make sure I end up with the correct total amount that needs to be paid to the vendor.

      Scenarios:

      1. Scenario:
        • Given user is creating/editing invoice
        • When "Lock total" filed is checked
        • Then "Manual amount" is active and editable
        • AND displays that total that was input by the user
        • AND "Calculated total" field displays the total value of all invoice lines and adjustments
      2. Scenario:
        • Given user is creating/editing invoice
        • When "Lock total" filed is NOT checked
        • Then "Total amount" is inactive and not editable
        • AND displays the calculated total of the invoice based on it's invoice lines and adjustments
      3. Scenario:
        • Given user is editing invoice
        • When invoice is approved or paid
        • Then "Lock total" and amount are inactive (Cannot be edited)

        TestRail: Results

          Attachments

          1. Screen Shot 2020-09-22 at 3.04.56 PM.png
            Screen Shot 2020-09-22 at 3.04.56 PM.png
            140 kB
          2. Screen Shot 2020-09-22 at 3.16.58 PM.png
            Screen Shot 2020-09-22 at 3.16.58 PM.png
            138 kB
          3. manual_amount.png
            manual_amount.png
            67 kB
          4. approved_invoice.png
            approved_invoice.png
            71 kB
          5. screenshot-1.png
            screenshot-1.png
            98 kB
          6. lockTotalAmount.png
            lockTotalAmount.png
            81 kB
          7. Screen Shot 2020-12-08 at 4.52.46 PM.png
            Screen Shot 2020-12-08 at 4.52.46 PM.png
            208 kB
          8. Screen Shot 2020-12-10 at 10.11.51 AM.png
            Screen Shot 2020-12-10 at 10.11.51 AM.png
            268 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:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases