Thread: Invoice

Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2014
    Location
    Australia
    Posts
    39
    Plugin Contributions
    0

    Default Invoice

    Hi

    I would like to amend the zen cart invoice by hiding the price (inc) and total (ex) columns. I can hide the items for the top row (price (inc) and total (ex)) but I cannot figure out the corresponding code to hide with respect to the $ amounts.

    Is it possible to do this?

    Thank you in advance for any suggestions.

    Justin

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Invoice

    Hi Justin,
    Around line 165... in admin/invoice.php I'll assume you did this:

    <!-- <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> -->
    <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRODUCTS_LIST_PRICE; ?></td>
    <!-- <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> -->

    to hide the heading columns price(inc) and total(ex).

    line 200 or so...
    You need to do this:

    ' <!-- <td class="dataTableContent" align="right" valign="top"><b>' .
    $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) .
    ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format(zen_add_tax($order->products[$i]['onetime_charges'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) : '') .
    '</b></td> -->' . // "\n" .

    ' <td class="dataTableContent" align="right" valign="top">' . $order->products[$i]['list_price'] . '</td>' . "\n" .

    ' <!-- <td class="dataTableContent" align="right" valign="top"><b>' .
    $currencies->format(zen_round($order->products[$i]['final_price'], $decimals) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) .
    ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format($order->products[$i]['onetime_charges'], true, $order->info['currency'], $order->info['currency_value']) : '') .
    '</b></td> -->' . // "\n" .


    to hide the field data for each.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    Jan 2014
    Location
    Australia
    Posts
    39
    Plugin Contributions
    0

    Default Re: Invoice

    Hi

    Thank you for your help.

    Justin

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Invoice

    Quote Originally Posted by Advisers Australia View Post
    Hi

    I would like to amend the zen cart invoice by hiding the price (inc) and total (ex) columns. I can hide the items for the top row (price (inc) and total (ex)) but I cannot figure out the corresponding code to hide with respect to the $ amounts.

    Is it possible to do this?

    Thank you in advance for any suggestions.

    Justin
    Why not use the packing list for and simply change the title??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v150 Pay by invoice; Invoice Payment Module for v1.3
    By marton_1 in forum Addon Payment Modules
    Replies: 2
    Last Post: 17 Jul 2013, 09:28 PM
  2. Getting Duplicate Invoice Number and Invoice not showing up
    By jennysack in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2011, 02:53 PM
  3. Client Invoice - problems customizing the popup-print-invoice addon
    By LloydR in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 12 Jan 2011, 10:41 AM
  4. Make orders.php Invoice button print invoice rather than display it
    By dinki in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 28 Sep 2009, 03:28 PM
  5. Looking to add print invoice and shipp invoice from admin---> orders
    By r4fdud in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 15 Mar 2009, 11:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR