Page 8 of 10
Re: [Released] Prof. Invoice and Packingslip
Posted: Tue Jan 24, 2012 6:27 am
by Ozfarmer
i2Paq wrote:Ozfarmer wrote:Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone

You have to set you browser to print the Background and Images.
In FF goto File -> Page Setup, then on the Format & Options Tab tick the following box -> Print Background (color & images).
In IE goto File -> Page Setup -> tick the following box -> Print Background Color and Images.
Thanks for that information, never knew that!
Re: [Released] Prof. Invoice and Packingslip
Posted: Tue Jan 24, 2012 6:29 am
by Ozfarmer
Ozfarmer wrote:How can I add the customers telephone number in the shipping box? I have tried adding:
<?php echo $text_telephone; ?> <?php echo $order['telephone'];
but this comes back with the store phone.
Any ideas how to fix this? if I put <?php echo $text_telephone; ?> <?php echo $order['store_telephone']; it wont display a number
Re: [Released] Prof. Invoice and Packingslip
Posted: Wed Feb 01, 2012 12:54 pm
by Ozfarmer
Ok worked it out.
<tr>
<td valign="bottom" align="left"><?php echo $order['customer_telephone']; ?></td>
<tr>
<td valign="bottom" align="left"><?php echo $order['customer_email']; ?></td>
<tr>
Re: [Released] Prof. Invoice and Packingslip
Posted: Mon Feb 20, 2012 2:34 pm
by MrTech
Just wondering what you are doing with the original "print invoice" button?
Who removed it? Who just left it? Do you have a valid reason to use both invoices?
Inquiring minds want to know?
Re: [Released] Prof. Invoice and Packingslip
Posted: Tue Feb 21, 2012 1:55 am
by clapiana
anybody have the page break code working for 1513 with the vqmod?
is this possible "You have to set you browser to print the Background and Images" with chrome?
Re: [Released] Prof. Invoice and Packingslip
Posted: Sat Mar 03, 2012 7:16 am
by Ozfarmer
I haven't been able to fix the background printing with chrome or FF as well. I still get the dashed boxes.
for the page breaks this worked for me:
Seemed to have fixed the multiple page printing add <div style="page-break-after: always"></div>
after
<?php foreach ($orders as $order) { ?> (notice the </div>)
in osc_order_invoice.tpl
make sure that their is a </div> after <div style="page-break-after: always"> in order_invoice.tpl.
Re: [Released] Prof. Invoice and Packingslip
Posted: Wed Mar 07, 2012 11:08 pm
by viones
As you can also print Vat Nr.?
Re: [Released] Prof. Invoice and Packingslip
Posted: Sun Mar 11, 2012 12:01 am
by FTW
is anyone looking to make it compatible with oc v1.5.2.1?
Re: [Released] Prof. Invoice and Packingslip
Posted: Sun Mar 11, 2012 1:09 am
by MrTech
FTW wrote:is anyone looking to make it compatible with oc v1.5.2.1?
I went here:
http://www.opencart.com/index.php?route ... order=DESC
Go and post you vote for 1.5.2.1 also and maybe we'll both be in luck.
Re: [Released] Prof. Invoice and Packingslip
Posted: Mon Mar 19, 2012 3:58 am
by graded
Hi, i have installed this great VQmod. It works just great with only one problem.
The TAX column shown a really wierd % diffrent in every order. We have a tax at 25%, but that does not seem to work.
Ideas?
Re: [Released] Prof. Invoice and Packingslip
Posted: Mon Mar 26, 2012 8:47 pm
by awollenh
Got the same error with the tax rate. :-/
I've used this version:
http://www.opencart.com/index.php?route ... on_id=4121
And the tax patch from site 7 but tax field is crap. :-/
Re: [Released] Prof. Invoice and Packingslip
Posted: Wed Apr 25, 2012 5:35 am
by Diegotjes
I have one problem the actual packing slip is perfect but the oSc invoices shows me the following.
You see on the first line 27.2973% BTW and every time it is something else for instance 9.5781% or 0,19% like in the screenshot
Please see the screenshot to see that the upperline is referring to the second line/place.
A little bit difficult for me to explain cause i am dutch. Sorry for that.
http://www.uploadplaatjes.nl/plaatje.php?id=515637
Did somebody already managed to found out what the issue is ? I would be very happy.
I have used this version on the latest version of operncart
Prof.Invoice_Packingslip_1.5.1.3
Prof_Invoice_PackingSlip version 1.0.3
Thanks for the help guys
Re: [Released] Prof. Invoice and Packingslip
Posted: Thu Apr 26, 2012 3:59 am
by Diegotjes
Is there somebody who can help me with it? I tried everything but i have still the issue, maybe it has something to do with the dutch tax (BTW) and that's why most of you have no problem with it.
Edit Friday the 27th of april. Nobody who has the same problem ?
Re: [Released] Prof. Invoice and Packingslip
Posted: Wed May 02, 2012 10:28 pm
by mediaindustries
The problem is that the amount of tax is used in the script. In the older opencart version the percentage was saved.
For example:
If you have 19% Tax and the price exc tax is 10.00
Old saved: 19.000
New saved: 1.90
Heres a quick fix
Code: Select all
//customfix
// tax informatie ophalen
$query1 = $this->db->query("SELECT tax_class_id FROM " . DB_PREFIX . "product WHERE product_id = '".$product['product_id']."'");
// taxrule ophalen
$query2 = $this->db->query("SELECT tax_rate_id FROM " . DB_PREFIX . "tax_rule WHERE tax_class_id = '".$query1->row['tax_class_id']."'");
// BTW percentage ophalen
$query3 = $this->db->query("SELECT rate FROM " . DB_PREFIX . "tax_rate WHERE tax_rate_id = '".$query2->row['tax_rate_id']."'");
$price_inc = $product['price'] + (($product['price'] / 100) * $query3->row['rate']);
$prod_tax = (float) $query3->row['rate']."%";
//End custom fix
replace it on line 2647 of the file "/admin/controller/sale/order.php"
Between if ($product['tax'] > 0) {
and } else {
This solution was brought to you by
NRGI.
Edit: This is a solution for the hard coded edition only (no vqmod).
Edit 2: If you change the tax rate on a product or the whole tax rate is going to be adjusted your older invoices won't be correct anymore.
Re: [Released] Prof. Invoice and Packingslip
Posted: Thu May 03, 2012 3:04 am
by Diegotjes
Thanks for the help but my issue is with the following extensions i used. So i cannot use your work around.
Do you maybe know how i can change it with these files.
1. Prof.Invoice_PackingSlip_1.5.1.3
2. Prof_Invoice_PackingSlip
Thanks again for helping out... Maybe !
Re: [Released] Prof. Invoice and Packingslip
Posted: Mon May 07, 2012 11:12 pm
by Diegotjes
Nobody with the same issue in the Netherlands who can help me solve it ?
Re: [Released] Prof. Invoice and Packingslip
Posted: Mon Jun 04, 2012 8:45 pm
by graded
Anyone noticed that invoice date = current date?
Could you set that to maybe order date, so it stays as a fixed number...
Re: [Released] Prof. Invoice and Packingslip
Posted: Sun Sep 02, 2012 4:58 pm
by marissaj
How do i make the text bigger please? In the print out i find it very small to read.
Re: [Released] Prof. Invoice and Packingslip
Posted: Tue Sep 04, 2012 6:54 pm
by i2Paq
graded wrote:Anyone noticed that invoice date = current date?
Could you set that to maybe order date, so it stays as a fixed number...
That is against the Law!
Any warranty is valid from the Invoice-date, not the order-date.
Re: [Released] Prof. Invoice and Packingslip
Posted: Fri Sep 07, 2012 10:33 am
by frankleng
how to remove the "print invoice button",pls?