Logo Crushes After Every One Month

0

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.

Question Resolved For: Stock Manager Advance (Invoice & Inventory System) 0 Votes 25 Answers 219 Views
Asked by Ahmad96 2 months ago

0

Answered by Ahmad96 2 months ago

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

0

Answered by Mian Saleem 2 months ago

Hello,

Please check that file_get_contents is enabled.

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

Thanks

0

Answered by Mian Saleem 2 months ago

Hello,

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

Thank you

0

Answered by Mian Saleem 1 month ago

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

0

Answered by Mian Saleem 1 month ago

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

0

Answered by Mian Saleem 1 month ago

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

0

Answered by Mian Saleem 1 month ago

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

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.