Page 1 of 2 12 LastLast
Results 1 to 10 of 84

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    FWIW, I submitted an updated version (v2.0.0) of this plugin that supports Zen Cart v1.5.0 and later ... last May ... and "forgot" to note that change here! The plugin can be downloaded here: http://www.zen-cart.com/downloads.php?do=file&id=1083

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    v2.1.0 was just submitted to the Plugins:
    • Now provides capability to print all packing slips, too
    • BUGFIX: Page breaks didn't work in Google Chrome

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    v2.1.0 is now available in the Plugins: http://www.zen-cart.com/downloads.php?do=file&id=1083

  4. #4
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: All Invoices Report [support]

    I am finally found most of what I was looking for! Thank you! two questions.
    1) I would like to display all statuses at once.
    1) I would like to make orders display descending on the page.

    Can someone please provide the code changes for this. It can be for either invoices or packing slips.

    Thank you!

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    It'll be a small edit to /YOUR_ADMIN/includes/templates/tpl_all_invoices.php (for the invoices). Locate the lines that read:
    Code:
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    
    <?php
    
    $sql = "SELECT orders_id FROM ".TABLE_ORDERS." WHERE orders_status = ".$orderStatus;
    $pending_orders = $db->Execute($sql);
    
    while (!$pending_orders->EOF) {
    and make the following changes:
    Code:
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    
    <?php
    
    $sql = "SELECT orders_id FROM ".TABLE_ORDERS." ORDER BY orders_id DESC";
    $pending_orders = $db->Execute($sql);
    
    while (!$pending_orders->EOF) {
    That will select ALL the orders from your store and print them in descending order-id order.
    Last edited by lat9; 15 Apr 2014 at 06:52 PM. Reason: Changed ascending to descending, per OP request

  6. #6
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: All Invoices Report [support]

    How do I make the admin/all_invoices.php select both pending and processing statuses at the same time? Ideally this would just be a default setting. Delivered and updated don't even matter to me. But I do need to see pending and processing on the same report simultaneously.

    Thank you.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    Quote Originally Posted by southshorepizza View Post
    How do I make the admin/all_invoices.php select both pending and processing statuses at the same time? Ideally this would just be a default setting. Delivered and updated don't even matter to me. But I do need to see pending and processing on the same report simultaneously.

    Thank you.
    Make a change similar in nature to the change I identified in post #21:
    Code:
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    
    <?php
    
    $sql = "SELECT orders_id FROM ".TABLE_ORDERS." WHERE orders_id IN (1,2) ORDER BY orders_id DESC";
    $pending_orders = $db->Execute($sql);
    
    while (!$pending_orders->EOF) {

  8. #8
    Join Date
    Dec 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: All Invoices Report [support]

    Quote Originally Posted by lat9 View Post
    v2.1.0 is now available in the Plugins: http://www.zen-cart.com/downloads.php?do=file&id=1083
    Hi,

    I am still on version 1.1 of this plugin because I am still running ZenCart 1.39h. I would love to have the print all packing slip functionality. Would the 1.1 code be easy to modify to allow for printing of all packing slips? Any help is greatly appreciated... thanks!

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: All Invoices Report [support]

    Quote Originally Posted by lolwaut View Post
    Hi,

    I am still on version 1.1 of this plugin because I am still running ZenCart 1.39h. I would love to have the print all packing slip functionality. Would the 1.1 code be easy to modify to allow for printing of all packing slips? Any help is greatly appreciated... thanks!
    Taking a quick look at the code, there are no core file overwrites and I check before using the v1.5.0+ functions. The code should work, it just won't integrate into your v1.3.9h admin's menu structure so you'll need to enter its address directly into your browser:

    yourhost.com/YOUR_ADMIN/all_invoices.php
    yourhost.com/YOUR_ADMIN/all_packingslips.php

    If it doesn't work in a ZC 1.3.9h environment, just remove the files copied (the full file list is in the readme).

  10. #10
    Join Date
    Dec 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: All Invoices Report [support]

    Quote Originally Posted by lat9 View Post
    Taking a quick look at the code, there are no core file overwrites and I check before using the v1.5.0+ functions. The code should work, it just won't integrate into your v1.3.9h admin's menu structure so you'll need to enter its address directly into your browser:

    yourhost.com/YOUR_ADMIN/all_invoices.php
    yourhost.com/YOUR_ADMIN/all_packingslips.php

    If it doesn't work in a ZC 1.3.9h environment, just remove the files copied (the full file list is in the readme).
    Thanks a bunch! The new versions notes said it was strictly for 1.5 so I was worried that the code was drastically different. I'm happy to hear that isn't the case!

    I got this 2.1 version working on my 1.39h install flawlessly. I managed to add the menu items for it by including this file:

    /admin/includes/boxes/extra_boxes/all_invoices_reports_dhtml.php

    Code:
      $za_contents[] = array('text' => BOX_ALL_INVOICES, 'link' => zen_href_link(FILENAME_ALL_INVOICES, '', 'NONSSL'));
      $za_contents[] = array('text' => BOX_ALL_PACKINGSLIPS, 'link' => zen_href_link(FILENAME_ALL_PACKINGSLIPS, '', 'NONSSL'));
    Thank you!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v152 Support Thread: Report All Errors (Even Warnings)
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 1 Feb 2020, 05:42 PM
  2. v154 Editable Invoices & Packing Slips [Support]
    By dbltoe in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2015, 11:44 PM
  3. Replies: 1
    Last Post: 27 Jan 2012, 06:35 PM
  4. Admin Activity Report [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 6 Aug 2009, 12:47 PM
  5. printing all invoices
    By simplesat in forum General Questions
    Replies: 1
    Last Post: 28 Nov 2008, 04:03 PM

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