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

Custom invoice templates break quotations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently, the quotation system piggy backs off of invoice templates as a special case within the code. This is causing issues for users have custom invoice templates as they have not been updated to handle this piggy backing behavior. Let's make a few changes to handle this case better.

      1. Add a public flag property to the InvoiceTemplate class for whether the template supports quotations and default it to false
      2. Set that property to true for the invoice templates we ship with
      3. On the quote add and edit page add a warning if the selected invoice template doesn't support quotes stating that the template needs to be updated and the default invoice template will be used until then
      4. When building a quote check if the selected invoice template supports quotes and if not use the default

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              20/Jun/23

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 45 minutes
              45m

                Agile