Post by Reptile » Tue Feb 06, 2018 8:35 pm

I recently ran in to a problem with an extension of mine.
One of my extensions adds different things to the invoice. All works fine except the custom field (in combination with multiple printing).
When I open a invoice it displays the custom field and all other extra features.

But when I select for example 1 invoice with no custom field and 1 with a custom field and try to print them both from the order list the fields aren't displaying on either invoices.
But other customization like IP display or logo display they do show up.

No I tried to look how the function works for the multiple invoice printing but I can't seem to find it in the order controller.
I know how opencart prints 1 invoice only not the multiple part.
Can someone point me in right direction.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by straightlight » Wed Feb 07, 2018 7:13 am

No OC version posted.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Reptile » Wed Feb 07, 2018 7:20 am

straightlight wrote:
Wed Feb 07, 2018 7:13 am
No OC version posted.
For example 2.3.0.2

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by straightlight » Wed Feb 07, 2018 7:25 am

Any highlighted screenshots / examples you could provide?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Reptile » Wed Feb 07, 2018 5:31 pm

straightlight wrote:
Wed Feb 07, 2018 7:25 am
Any highlighted screenshots / examples you could provide?
Ofcourse but it is pretty clear I presume.
When selecting 1 invoice with a custom field active it displays.
When selecting 1 invoice with a custom field and another with no custom field there is no custom field displayed on either invoice.

They both have the product image on the invoice and IP address which are also custom features of my extension.

So somehow it will display these items on multi invoices but not the custom fields.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by Reptile » Mon Feb 12, 2018 9:29 pm

Can nobody tell me how the invoices are collected when selecting multiple invoices?
If atleast I know how opencart fetches the invoices to print multiple invoices I can go on from there in locating the problem.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 160 guests