firegento-pdf icon indicating copy to clipboard operation
firegento-pdf copied to clipboard

Change the column order of the packing slip

Open shortcircuit74 opened this issue 9 years ago • 2 comments

Hey there,

is it possible to change the column order of the packing slip? The reason why I'm asking - we use the packing slip to pick up all the order items from the stock. With large orders it sometimes happens that we took the wrong amount because the column with the amount is on the very right of the page and you pick the wrong line.

Thanks in advance!

shortcircuit74 avatar May 03 '15 06:05 shortcircuit74

Unfortunately this can't be changed out of the box.

To solve your problem for the moment, you can copy the following files into the local namespace and change them.

// app/code/community/FireGento/Pdf/Model/Engine/Shipment/Default.php:131
// \FireGento_Pdf_Model_Engine_Shipment_Default::insertTableHeader

copy to app/code/community/FireGento/Pdf/Model/Engine/Shipment/Default.php and change the order of the table header

and the same for:

\FireGento_Pdf_Model_Items_Shipment_Default::draw
app/code/community/FireGento/Pdf/Model/Items/Shipment/Default.php:35

and if you use bundle products:

\FireGento_Pdf_Model_Items_Shipment_Bundle::draw
app/code/community/FireGento/Pdf/Model/Items/Shipment/Bundle.php:35

But we should think about changing this. @sprankhub what about exchanging qty and description column?

Schrank avatar May 03 '15 22:05 Schrank

Having the SKU and the quantity next to each other can also be tricky if you have numeric SKUs. For the invoice, the column order is completely customisable. I vote for implementing that for shipments and credit memos, too.

sprankhub avatar May 04 '15 06:05 sprankhub