Question: Logo Crushes After Every One Month

Logo Crushes After Every One Month

Hi, i have notice a problem that occurs for sometime now, my logo that appears on quotation and sales invoice keeps on crushing, meaning when i download quotation or invoice on the logo area

A

Ahmad96

Asked

Hi, i have notice a problem that occurs for sometime now, my logo that appears on quotation and sales invoice keeps on crushing, meaning when i download quotation or invoice on the logo area i keep getting words “image not found or unknown type” but when i print of view the quotation/invoice the logo is seen. can you help me what the issue can be? and i only have one biller with that one specific logo.

  • A

    Ahmad96

    Answered

    here are the attachments of sales invoice with a crushed logo, view modal and print modal with a logo that hasn’t crushed.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check that file_get_contents is enabled.

    What pdf library are you using? Can you try another one in system settings.

    Thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    You can check and enable allow_url_fopen in your php config file. This is php server config not the SMA.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Please try to change the pdf library in the system settings and then try again.

    If still same, let me know the installation URL with login details to check.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Only owners and admins have permission to select date while adding payment.

    If you want to allow others then you will need to modify the themes/default/admin/views/sales/add_payment.php

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    You can edit add_payment method of app/controllers/admin/Sales.php and check around line 520 -524

                if ($this->Owner || $this->Admin) {
                    $date = $this->sma->fld(trim($this->input->post('date')));
                } else {
                    $date = date('Y-m-d H:i:s');
                }
    

    to replace with

    $date = $this->sma->fld(trim($this->input->post('date')));
    

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    You can modify the view file as you need. If you are not sure, please hire any developer to help you modify it as you need.

    We only can point to file or general but can’t help with code modifications. You are allowed to modify code at your own risk as per license.

    Thank you

  • Login to Reply