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

Invoice image changes are not saved on Invoice Customization page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-b3, 3.2.0
    • Fix Version/s: 3.2.1
    • Component/s: None
    • Labels:
      None

      Description

      On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change. Similarly, existing images can be removed from the file system, but they are still referenced in the database.

      See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/

        Activity

        tyson Tyson Phillips (Inactive) 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 -
        Summary Unable to change invoice logo or background images Some Invoice Customization settings are not saved
        tyson Tyson Phillips (Inactive) made changes -
        Description When adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change. The font also cannot be changed.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        tyson Tyson Phillips (Inactive) made changes -
        Description On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change. The font also cannot be changed.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        tyson Tyson Phillips (Inactive) made changes -
        Summary Some Invoice Customization settings are not saved Invoice image changes are not saved on Invoice Customization page
        tyson Tyson Phillips (Inactive) made changes -
        Link This issue relates to CORE-1163 [ CORE-1163 ]
        tyson Tyson Phillips (Inactive) made changes -
        Description On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        On the Invoice Customization page, when adding an invoice logo or background image, the images are successfully uploaded, but the company settings are not updated to reflect this change. Similarly, existing images can be removed from the file system, but they are still referenced in the database.

        See http://www.blesta.com/forums/index.php?/topic/2605-invoice-logo-is-uploaded-but-not-showing/
        Hide
        tyson Tyson Phillips (Inactive) added a comment - - edited

        To pre-patch yourself, find /app/controllers/admin_company_billing.php (line 164):
        ----------------------
        $fields = array("inv_format", "inv_draft_format", "inv_start",
        "inv_increment", "inv_pad_size", "inv_pad_str", "inv_terms",
        "inv_paper_size", "inv_template", "inv_mimetype",
        "inv_display_logo", "inv_display_companyinfo",
        "inv_display_paid_watermark"
        );
        ----------------------
        And add "inv_logo", and "inv_background" to the array, i.e.:
        ----------------------
        $fields = array("inv_format", "inv_draft_format", "inv_start",
        "inv_increment", "inv_pad_size", "inv_pad_str", "inv_terms",
        "inv_paper_size", "inv_template", "inv_mimetype",
        "inv_display_logo", "inv_display_companyinfo",
        "inv_display_paid_watermark", "inv_logo", "inv_background"
        );
        ----------------------

        Show
        tyson Tyson Phillips (Inactive) added a comment - - edited To pre-patch yourself, find /app/controllers/admin_company_billing.php (line 164): ---------------------- $fields = array("inv_format", "inv_draft_format", "inv_start", "inv_increment", "inv_pad_size", "inv_pad_str", "inv_terms", "inv_paper_size", "inv_template", "inv_mimetype", "inv_display_logo", "inv_display_companyinfo", "inv_display_paid_watermark" ); ---------------------- And add "inv_logo", and "inv_background" to the array, i.e.: ---------------------- $fields = array("inv_format", "inv_draft_format", "inv_start", "inv_increment", "inv_pad_size", "inv_pad_str", "inv_terms", "inv_paper_size", "inv_template", "inv_mimetype", "inv_display_logo", "inv_display_companyinfo", "inv_display_paid_watermark", "inv_logo", "inv_background" ); ----------------------
        tyson Tyson Phillips (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Affects Version/s 3.2.0-b3 [ 10503 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Jun/14