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
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | Unable to change invoice logo or background images | Some Invoice Customization settings are not saved |
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/ |
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/ |
Summary | Some Invoice Customization settings are not saved | Invoice image changes are not saved on Invoice Customization page |
Link | This issue relates to CORE-1163 [ CORE-1163 ] |
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/ |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Affects Version/s | 3.2.0-b3 [ 10503 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
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"
);
----------------------