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

Allow for merging of invoices under a client profile

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 5.11.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Sometimes it's necessary to merge invoices for a client. Using the multi-select, on a client profile page, allow multiple invoices to be selected and merged together.

      Initially I thought merging a list of invoices into a single named invoice would be best, but perhaps we should merge into a new invoice.

      • Add an additional bulk option for Invoices called "Merge Invoices" below "Void Invoices"
      • (Not needed if merging into a new invoice) A field will appear where you enter the invoice number to merge the selected invoices into
      • The line items are copied (not moved) to the destination/new invoice, and the selected invoices are voided

      I like the idea of merging into a new invoice best, but there may be a good use case for merging into an existing invoice. If we allow merging into an existing invoice, perhaps we should display a drop down of invoices when "Merge Invoices" is selected, the default option of which could be "New Invoice".

      We will not allow merging of invoices across accounts.

      NOTE: Do not allow merging on any invoices that have payments applied. Those payments must be removed by staff prior to merging. Show an error if an invoice is selected for merge and do not merge any invoices if so.

      Only invoices that are OPEN can be merged, the bulk option should only appear for open not for any other status.

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Note that any renewable services on the invoices being merged need to be updated to remove the old service/invoice reference and add the new service/invoice reference since we track them in order to renew services when the invoice is paid (i.e. `service_invoices` table).

        Show
        tyson Tyson Phillips (Inactive) added a comment - Note that any renewable services on the invoices being merged need to be updated to remove the old service/invoice reference and add the new service/invoice reference since we track them in order to renew services when the invoice is paid (i.e. `service_invoices` table).

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Nov/24

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 week, 4 days, 3 hours, 38 minutes
              1w 4d 3h 38m

                Agile