- Posts: 344
- Thank you received: 3
print multiple (confirmed) invoices
12 years 1 month ago #166468
by river
print multiple (confirmed) invoices was created by river
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5
I am missing one very important function in Hikashop
1. To be able to print multiple (confirmed) invoices at the same time
Now I have go in to each and each order and print the invoice. This takes up to much time.
2. In the feature there should also be filters so you could choose "dates" and order status like displaying "confirmed orders".
There should also be the same function for Shipping invoice. Which should easy be attached to the package. So you don't have to write name and address by hand.
These function would save us a lot of work
-- Joomla version -- : 2.5
I am missing one very important function in Hikashop
1. To be able to print multiple (confirmed) invoices at the same time
Now I have go in to each and each order and print the invoice. This takes up to much time.
2. In the feature there should also be filters so you could choose "dates" and order status like displaying "confirmed orders".
There should also be the same function for Shipping invoice. Which should easy be attached to the package. So you don't have to write name and address by hand.
These function would save us a lot of work
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 68
- Thank you received: 8
12 years 1 month ago #166524
by MumsHealth
Replied by MumsHealth on topic print multiple (confirmed) invoices
You can export multiple invoices as a pdf using this plugin
hikashop.com/component/hikashop/product/cid-18.html
However these are always full invoices not shipping invoices.
However these are always full invoices not shipping invoices.
Please Log in or Create an account to join the conversation.
12 years 1 month ago - 12 years 1 week ago #166533
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic print multiple (confirmed) invoices
Hi,
1. Like MumsHealth said, that's already possible with the PDF invoice plugin: hikashop.com/component/hikashop/product/cid-18.html
You select all the orders you want in your orders listing, click on the "invoice" button, and it will generate a PDF of the invoices of all the orders that you can easily print in one go.
2. The orders listing already has dates and order status filters on the top right of the screen.
We don't have a ready-made solution for you for shipping invoices though. That would require to modify the PDF invoice plugin to also handle the shipping invoices. A PHP developer would be able to do that for you.
Regards,
1. Like MumsHealth said, that's already possible with the PDF invoice plugin: hikashop.com/component/hikashop/product/cid-18.html
You select all the orders you want in your orders listing, click on the "invoice" button, and it will generate a PDF of the invoices of all the orders that you can easily print in one go.
2. The orders listing already has dates and order status filters on the top right of the screen.
We don't have a ready-made solution for you for shipping invoices though. That would require to modify the PDF invoice plugin to also handle the shipping invoices. A PHP developer would be able to do that for you.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 12 years 1 week ago by Jerome.
Please Log in or Create an account to join the conversation.
12 years 1 week ago #172717
by brob34
Replied by brob34 on topic print multiple (confirmed) invoices
I have purchased this plugin. It will allow me to print multiple invoices. However, when the .pdf invoice is created, it doesn't include the shipping address. It also does not pick up the changes I have made in the order of the address items on the invoice. I changed the address format to have it show City, State, Postal Code instead of the default Postal Code, City, State.
I need the shipping address to show on my printed invoice and have the address in the correct format for US shipping. How can I accomplish this?
I need the shipping address to show on my printed invoice and have the address in the correct format for US shipping. How can I accomplish this?
Please Log in or Create an account to join the conversation.
12 years 1 week ago #172731
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic print multiple (confirmed) invoices
Hi,
The PDF invoice plugin does not use the "address format" from the "address_template" view.
If you want to change the address display for the PDF, you need to override the "invoice.php" file.
For the override instructions, see : www.hikashop.com/forum/2-general-talk-ab...-invoice-plugin.html
Regards,
The PDF invoice plugin does not use the "address format" from the "address_template" view.
If you want to change the address display for the PDF, you need to override the "invoice.php" file.
For the override instructions, see : www.hikashop.com/forum/2-general-talk-ab...-invoice-plugin.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 1 week ago - 12 years 1 week ago #172981
by brob34
Replied by brob34 on topic print multiple (confirmed) invoices
Thanks for the reply. I have located the correct invoice.php file and have copied it to the correct directory for printing the .pdf invoice. However, I have not figured out how to edit the code so that the shipping address will be displayed in the .pdf invoice along with the billing invoice. Is that something you can show me? The code section is below:
Thanks again.
Code:
<table class="addresses">
<tr>
<?php
$addresses = array('billing_address','shipping_address');
foreach($addresses as $oneAddress){
if(empty($order->$oneAddress)) continue;
if ($oneAddress=='shipping_address' && empty($pluginsShipping)) continue; ?>
<td valign="top">
<fieldset>
<legend><?php echo JText::_('HIKASHOP_'.strtoupper($oneAddress)); ?></legend>
<?php
if(!empty($order->$oneAddress->address_company)) echo $order->$oneAddress->address_company.'<br/>';
echo $order->$oneAddress->address_title.' '.$order->$oneAddress->address_firstname.' '.$order->$oneAddress->address_lastname.'<br/>';
echo $order->$oneAddress->address_street.'<br/>';
echo $order->$oneAddress->address_post_code.' '.$order->$oneAddress->address_city.' '.$order->$oneAddress->address_state.'<br/>';
if(!empty($order->$oneAddress->address_telephone)) echo JText::sprintf('TELEPHONE_IN_ADDRESS',$order->$oneAddress->address_telephone).'<br/>';
if(!empty($order->$oneAddress->address_vat)) echo JText::_('VAT_NUMBER').' : '.$order->$oneAddress->address_vat.'<br/>';
?>
</fieldset>
</td>
<?php } ?>
</tr>
</table>
Last edit: 12 years 1 week ago by Jerome. Reason: [code] is nice !
Please Log in or Create an account to join the conversation.
12 years 1 week ago #173197
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic print multiple (confirmed) invoices
Hi,
Well, the code is displaying the billing_address and the shipping_address in two cells of a single table.
The diffent "echo" are displaying the different parts of the address, for the different lines and the different elements.
Sometimes there are some checks in order to see if the field is empty or not, in order to know if the field has to be displayed or not.
If the order does not have an order_shipping_id, the plugin is made to skip the shipping address.
The skip is made by the code
that you can replace by
to not do the shipping skip if you don't have any shipping method for the order.
Otherwise, I really don't know what I can say.
Regards,
Well, the code is displaying the billing_address and the shipping_address in two cells of a single table.
The diffent "echo" are displaying the different parts of the address, for the different lines and the different elements.
Sometimes there are some checks in order to see if the field is empty or not, in order to know if the field has to be displayed or not.
If the order does not have an order_shipping_id, the plugin is made to skip the shipping address.
The skip is made by the code
Code:
if ($oneAddress=='shipping_address' && empty($pluginsShipping)) continue; ?>
Code:
?>
Otherwise, I really don't know what I can say.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: brob34
Please Log in or Create an account to join the conversation.
12 years 6 days ago #173364
by brob34
Replied by brob34 on topic print multiple (confirmed) invoices
I figured it out. Thanks for your help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.223 seconds