Extension, Module

Archived
Forum
(read-only)


For official support, visit the official support site »

CT Admin

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Foster Made

     

Print the Packing Slips

Bug (Resolved)

energycell
energycell

Hey Eric,

In CT Admin, when you select a bunch of Orders and then choose ‘Packing Slip’ from the dropdown to get the page that allows you to batch Print the Packing Slips, it seems to have a bug.

A new window is opened but it only display one packing slip with a URL like http://www.mydomain.tld/store/packing_slip_cta/7250|7248|7237|7179|7176|7172

I tried changing the | instances to a pipe character but this didn’t work either.

I was wondering if you could help? Our client is preparing for Black Friday and they’re looking for as many time-saving features as possible. :)

Thanks,
Neil

mithra62
# 1
Developer
mithra62

Hi Neil,

That URL is formatted accurately. CT Admin uses CSS to break multiple invoices up during the print process; what happens when you Print Preview the invoices? It should show multiple pages.

Also, can you attach your template so I can take a look at the tag?

Thanks,
Eric

energycell
# 2
energycell

Hey Eric,

It just shows 1 page in the Print Preview.

Here’s my template attached. On checking, i think it was the limit=“1” as I removed it and it seemed to show all the relevant packing slips. So i think i just need to figure how to get a page break between each one.

File Attachments
packing_slip.html  (File Size: 18KB - Downloads: 63)
mithra62
# 3
Developer
mithra62

Yup, the limit would do it. As to the pagebreaks, just wrap add a div with the CSS “page-break-after: always;” and you’ll be good to go.