Page 1 of 10

[Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 12:53 am
by i2Paq
November 2013 - Official Support for this Mod has been STOPPED!

This modification is based on another well known contribution for osCommerce.

The Prof. Invoice and Packing-slip

Download

What it does:
It will add a Professional looking Invoice to your OpenCart store.

This Invoice contains all information needed for you customers financial department.

There are multiple columns:
2 columns containing Unit Price incl. Tax and excl. Tax
2 columns containing Unit(s) Total Price incl. Tax and excl. Tax
Order sub-total, Tax, shipping costs and Order total.

It will also show the Order ID, Invoice ID, Order Date, Invoice Data, Shipping and Payment method.

The Header has all the Store-info + Store logo.
The Footer has 2 editable lines of text + you can have images in it.

It operates independent from the default OpenCart Invoice (you can remove the Print Invoice buttons in your Admin)

See image for details.
The Packing-slip will follow shortly.

Thanks again to afwollis who helped me build this FREE modification!

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 5:59 am
by TAC
Hi i2Paq,

This looks like just what I need. Can the SKU be in there as well?

Thanks :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 6:02 am
by i2Paq
TAC wrote:Hi i2Paq,

This looks like just what I need. Can the SKU be in there as well?

Thanks :)
Should be not that hard, but I'm not sure, I will ask my Chief Executive Coder about this :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 6:12 am
by TAC
Hi again,

Just downloaded it but the README file is too complicated to read - not sure how to follow the instructions :-[
Let me know if I'm looking at it wrong - I'm not good with code.

Thanks :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 6:57 am
by afwollis
TAC wrote:Can the SKU be in there as well?
yes, without any problems.
TAC wrote:but the README file is too complicated to read
will work on it.
have not much experience in writing readme-s :-[

thanks for your interest in this mod(s) :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 4:30 pm
by i2Paq
I will rebuild the Readme today + I will finish the same for the Packing-slip.

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 5:00 pm
by i2Paq
I've updated the Readme, it is easier to follow now + I fixed 2 small bugs as well.

Please download Prof.Invoice 1.2 and follow the updated readme.

Fixed are the 2 lines that adds the button, it was missing the <div class="buttons"> and </div>:
#################################################
STEP ---5---
##############

Open your [------------ admin/view/template/sale/order_list.tpl ------------] file with your favorite editor


================= arround line 13 =================

Find:
===
<a onclick="$('#form').attr('action', '<?php echo $invoice; ?>'); $('#form').attr('target', '_blank'); $('#form').submit();" class="button"><span><?php echo $button_invoices; ?></span></a>
===

Add after:
===
<!-- webme - osCommerce Invoice - mod - start --><div class="buttons"><a onclick="$('#form').attr('action', '<?php echo $osc_invoices; ?>'); $('#form').attr('target', '_blank'); $('#form').submit();" class="button"><span><?php echo $button_osc_invoices; ?></span></a></div><!-- webme - osCommerce Invoice - mod - end -->
===



#################################################
STEP ---6---
##############

Open your [------------ admin/view/template/sale/order_form.tpl ------------] file with your favorite editor


================= arround line 7 =================

Find:
===
<a onclick="window.open('<?php echo $invoice; ?>');" class="button"><span><?php echo $button_invoice; ?></span></a>
===

Add after that line the next one:
===
<!-- webme - osCommerce Invoice - mod - start --><div class="buttons"><a onclick="window.open('<?php echo $osc_invoice; ?>');" class="button"><span><?php echo $button_osc_invoice; ?></span></a></div><!-- webme - osCommerce Invoice - mod - end -->
===

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 6:42 pm
by TAC
Thanks for your quick help - I will try it today and let you know :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 11:29 pm
by Qphoria
i2Paq wrote:I've updated the Readme, it is easier to follow now + I fixed 2 small bugs as well.

Please download Prof.Invoice 1.2 and follow the updated readme.

Fixed are the 2 lines that adds the button, it was missing the <div class="buttons"> and </div>:
#################################################
STEP ---5---
##############

Open your [------------ admin/view/template/sale/order_list.tpl ------------] file with your favorite editor


================= arround line 13 =================

Find:
===
<a onclick="$('#form').attr('action', '<?php echo $invoice; ?>'); $('#form').attr('target', '_blank'); $('#form').submit();" class="button"><span><?php echo $button_invoices; ?></span></a>
===

Add after:
===
<!-- webme - osCommerce Invoice - mod - start --><div class="buttons"><a onclick="$('#form').attr('action', '<?php echo $osc_invoices; ?>'); $('#form').attr('target', '_blank'); $('#form').submit();" class="button"><span><?php echo $button_osc_invoices; ?></span></a></div><!-- webme - osCommerce Invoice - mod - end -->
===



#################################################
STEP ---6---
##############

Open your [------------ admin/view/template/sale/order_form.tpl ------------] file with your favorite editor


================= arround line 7 =================

Find:
===
<a onclick="window.open('<?php echo $invoice; ?>');" class="button"><span><?php echo $button_invoice; ?></span></a>
===

Add after that line the next one:
===
<!-- webme - osCommerce Invoice - mod - start --><div class="buttons"><a onclick="window.open('<?php echo $osc_invoice; ?>');" class="button"><span><?php echo $button_osc_invoice; ?></span></a></div><!-- webme - osCommerce Invoice - mod - end -->
===
Certainly you'd be better of with a vQmod for the manual edits

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Jan 26, 2011 11:46 pm
by TAC
I've read the whole vQmod thread and the website but still don't fully get it :-[

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 12:13 am
by TalonRAge
This is my first post but I had created a vqmod file for this and wanted to know how I should get it to you.

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 12:32 am
by i2Paq
TalonRAge wrote:This is my first post but I had created a vqmod file for this and wanted to know how I should get it to you.
You can attach it as a file to your reply.

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 2:36 am
by i2Paq
Updated!

The extension now contains the Invoice and Packing-slip!

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 2:14 pm
by TalonRAge
i2Paq wrote:
TalonRAge wrote:This is my first post but I had created a vqmod file for this and wanted to know how I should get it to you.
You can attach it as a file to your reply.
Here is the vQmod file that handles both the invoices and packing slips since your latest release.

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 11:01 pm
by TAC
Hi again,

If I upload the vQmod Mod from Q to my site and then upload the vQmod file from TalonRAge would that mean I don't have to manually change code myself? Sorry if I'm being slow on the uptake :-[

Re: [Released] Prof. Invoice and Packingslip

Posted: Tue Feb 01, 2011 11:19 pm
by afwollis
yes, with vQmod there is no more need in manual code changes

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Feb 02, 2011 12:45 am
by TAC
Thank you for the quick response.

Is the SKU in the latest version of this mod? :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Feb 02, 2011 1:22 am
by i2Paq
TAC wrote:Thank you for the quick response.

Is the SKU in the latest version of this mod? :)
No.

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Feb 02, 2011 1:28 am
by TAC
Thanks again for another speedy response. I will carry on using the the default invoice for now (although I've changed it to suit my store) until the SKU is added as it is important for my business. I'll keep watching this thread. :)

Re: [Released] Prof. Invoice and Packingslip

Posted: Wed Feb 02, 2011 1:39 am
by afwollis
I think there will no SKU in uploaded extension :)
However you may PM me with your email address and I will send you an archive with SKU-included files.