AbanteCart Development > Customization help
Convert Invoice to Packing Slip
kavlito:
I need to produce Packing Slips. I thought I could figure out how to convert, or duplicate the Invoice to a Packing Slip, but can't figure it out.
Thanks.
abantecart:
You can replicate and modify the code portion for the invoice and display what you need for the Packing Slip
See if this extension will help
http://marketplace.abantecart.com/pdf_orders
kavlito:
Hi,
Thank you.
We don't use invoices, so I just want to modify the Invoice to a Packing Slip (no prices).
Can someone point me to the files involved?
Thanks again.
SAM172788:
As I remember you will need to edit your (localization>>Language Definitions) and change the Word INVOICE to Packing list.
kavlito:
Thank you.
I found the file: admin/controller/responses/sale/invoice.php
I made the following changes between lines 141 & 151: commenting out 'price', 'total' & $total_data lines
And with your language change, I now have a Packing Slip with no prices!
--- Code: --- $product_data[] = array(
'name' => $product['name'],
'model' => $product['model'],
'option' => $option_data,
'quantity' => $product['quantity'],
//'price' => $this->currency->format($product['price'], $order_info['currency'], $order_info['value']),
//'total' => $this->currency->format_total($product['price'], $product['quantity'], $order_info['currency'], $order_info['value']),
);
}
//$total_data = $this->model_sale_order->getOrderTotals($order_id);
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version