Post by i2Paq » Wed Jan 26, 2011 12:53 am

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!

Attachments

Prof-Invoice.gif

Invoice - Prof-Invoice.gif (31.43 KiB) Viewed 22203 times

Packing-slip.gif

Packing-slip - Packing-slip.gif (27.73 KiB) Viewed 22203 times


Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TAC » Wed Jan 26, 2011 5:59 am

Hi i2Paq,

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

Thanks :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by i2Paq » Wed Jan 26, 2011 6:02 am

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 :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TAC » Wed Jan 26, 2011 6:12 am

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 :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by afwollis » Wed Jan 26, 2011 6:57 am

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) :)

Русское коммьюнити разработчиков OpenCart - myopencart.ru

some useful mods:
[Released] Orders and Comments AT-A-GLANCE, [Released] Prof. Invoice and Packingslip, [Released] Recently viewed

My commercial modules: [W]ebme Compare Products, [W]ebme Bought With This


Active Member

Posts

Joined
Tue Jan 11, 2011 5:41 am
Location - Ukraine

Post by i2Paq » Wed Jan 26, 2011 4:30 pm

I will rebuild the Readme today + I will finish the same for the Packing-slip.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Wed Jan 26, 2011 5:00 pm

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 -->
===

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TAC » Wed Jan 26, 2011 6:42 pm

Thanks for your quick help - I will try it today and let you know :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by Qphoria » Wed Jan 26, 2011 11:29 pm

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by TAC » Wed Jan 26, 2011 11:46 pm

I've read the whole vQmod thread and the website but still don't fully get it :-[

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by TalonRAge » Tue Feb 01, 2011 12:13 am

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.

"Design, Develop, and have fun."
http://www.chrislockard.com

OC: v1.4.9.5


User avatar
Newbie

Posts

Joined
Tue Feb 01, 2011 12:11 am
Location - California, USA

Post by i2Paq » Tue Feb 01, 2011 12:32 am

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.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Tue Feb 01, 2011 2:36 am

Updated!

The extension now contains the Invoice and Packing-slip!

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TalonRAge » Tue Feb 01, 2011 2:14 pm

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.

Attachments


"Design, Develop, and have fun."
http://www.chrislockard.com

OC: v1.4.9.5


User avatar
Newbie

Posts

Joined
Tue Feb 01, 2011 12:11 am
Location - California, USA

Post by TAC » Tue Feb 01, 2011 11:01 pm

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 :-[

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Active Member

Posts

Joined
Tue Jan 11, 2011 5:41 am
Location - Ukraine

Post by TAC » Wed Feb 02, 2011 12:45 am

Thank you for the quick response.

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

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by i2Paq » Wed Feb 02, 2011 1:22 am

TAC wrote:Thank you for the quick response.

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

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TAC » Wed Feb 02, 2011 1:28 am

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. :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by afwollis » Wed Feb 02, 2011 1:39 am

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.

Русское коммьюнити разработчиков OpenCart - myopencart.ru

some useful mods:
[Released] Orders and Comments AT-A-GLANCE, [Released] Prof. Invoice and Packingslip, [Released] Recently viewed

My commercial modules: [W]ebme Compare Products, [W]ebme Bought With This


Active Member

Posts

Joined
Tue Jan 11, 2011 5:41 am
Location - Ukraine
Who is online

Users browsing this forum: No registered users and 21 guests