Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1322

Invoice draft auto-save fails when empty line items are present

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.2, 3.3.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When creating an invoice manually, auto-save as draft will fail if there are any incomplete/empty line items.

      Discussing with Cody, empty line items should only be a problem if there is a description and no price, but completely empty line items should not prevent the line item from being saved.

      In my tests, 1 or more line items that do not contain any details will prevent auto-save as draft from occurring.

      Ideally, it would be good if line items that have been partially completed and had no price would allow the invoice to be auto-saved as draft, ignoring the line item that is incomplete.

        Activity

        admin Paul Phillips created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Jul/14