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

Implement "Lock total" create and edit invoice form logic



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


      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.


      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


          1. approved_invoice.png
            71 kB
            Andrei Shumski
          2. lockTotalAmount.png
            81 kB
            Andrei Shumski
          3. manual_amount.png
            67 kB
            Andrei Shumski
          4. screenshot-1.png
            98 kB
            Ann-Marie Breaux
          5. Screen Shot 2020-09-22 at 3.04.56 PM.png
            140 kB
            Dennis Bridges
          6. Screen Shot 2020-09-22 at 3.16.58 PM.png
            138 kB
            Dennis Bridges
          7. Screen Shot 2020-12-08 at 4.52.46 PM.png
            208 kB
            Dennis Bridges
          8. Screen Shot 2020-12-10 at 10.11.51 AM.png
            268 kB
            Dennis Bridges

            Issue Links



                dennisbridges Dennis Bridges
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                0 Vote for this issue
                4 Start watching this issue



                    TestRail: Runs

                      TestRail: Cases