Zen Cart Logo
Forums / All Other Contributions/Addons / Client Invoice - problems customizing the popup-print-invoice addon

Client Invoice - problems customizing the popup-print-invoice addon

Views: 4,584

Results 1 to 8 of 8
31 Jul 2008, 9:27 AM
#1
lloydr avatar

lloydr

New Zenner

Join Date:
Jun 2007
Location:
SA
Posts:
91
Plugin Contributions:
0

Client Invoice - problems customizing the popup-print-invoice addon

Hi All

The invoice that can be pulled on the Admin side for orders, i would like my clients to be able to view their invoices like this, currently all that they can do is view their invoice with very basic info, the zen cart default method, i would like them to have the Admin invoice that we can pull as it looks much much better

Is there a way to do this?

Thanks

3 Aug 2008, 2:28 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Client Invoice - problems customizing the popup-print-invoice addon

You could try out the popup_print_invoice contribution floating around in the forum

3 Aug 2008, 4:40 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Client Invoice - problems customizing the popup-print-invoice addon

This has not been contributed at this time but I have a functioning zip if you want it.

PM me with your email addy

3 Aug 2008, 6:51 AM
#4
lloydr avatar

lloydr

New Zenner

Join Date:
Jun 2007
Location:
SA
Posts:
91
Plugin Contributions:
0

Re: Client Invoice - problems customizing the popup-print-invoice addon

will try the pop up 1st

thanks

6 Aug 2008, 8:59 PM
#5
lloydr avatar

lloydr

New Zenner

Join Date:
Jun 2007
Location:
SA
Posts:
91
Plugin Contributions:
0

Re: Client Invoice - problems customizing the popup-print-invoice addon

This is great and works, but there are a few small issues:
1 - Using my black background and not a white page
2 - Item description column is off
3 - Tax shows as None!
4 - The print preview or print is cutting text off the right hand side

Any ideas on how to resolve this would be much appreciated
Thanks
Lloyd

Link to issue image:
http://img127.imageshack.us/img127/282/issuehu6.jpg

18 Nov 2010, 4:46 PM
#6
j2adams avatar

j2adams

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: Client Invoice - problems customizing the popup-print-invoice addon

Was a solution ever found for this?

20 Nov 2010, 6:08 PM
#7
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Client Invoice - problems customizing the popup-print-invoice addon

I to have a black background!

The only way I could change it was to edit the:
/includes/templates/YOUR_TEMPLATE/popup_print_invoice/tpl_main_page.php file

I changed

<link rel="stylesheet" type="text/css" href="/admin/includes/stylesheet.css">
<body onload="resize(); print();">
<table width="96%" border="0" cellpadding="2" cellspacing ="2" align="center">
  <tr>
    <td>
      <?php require(DIR_WS_MODULES . 'print_invoice.php'); ?>
    </td>
  </tr>
  <tr>
    <td class="main" align="right"><?php echo '<a href="javascript:window.close()">' . TEXT_CURRENT_CLOSE_WINDOW . '</a>'; ?></td>
  </tr>
</table>
</body>

to

<body onload="resize(); print();" bgcolor="#ffffff">
<table width="96%" border="0" cellpadding="2" cellspacing ="2" align="center" bgcolor="#ffffff">
  <tr>
    <td bgcolor="#ffffff">
      <?php require(DIR_WS_MODULES . 'print_invoice.php'); ?>
    </td>
  </tr>
  <tr>
    <td class="main" align="right"><?php echo '<a href="javascript:window.close()">' . TEXT_CURRENT_CLOSE_WINDOW . '</a>'; ?></td>
  </tr>
</table>
</body>
12 Jan 2011, 9:41 AM
#8
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Client Invoice - problems customizing the popup-print-invoice addon

Good Mod, but the link to Priint Invoice does not show up on the account history page. any help?