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

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    Tried installing this again and seems to be working correctly now, which is great.

    I was wondering if there was a way to show and sort via model number, the same way you can via ID#, price, total etc.?

    Thanks.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ZC Inventory Report Module

    You'd need to customize a few things ...

    In the case statement add:
    Code:
    // bof: add products_model
        case('products_model'):
            $dir_model = $op_dir;
            break;
    // eof: add products_model
    Code:
                    <td class="dataTableHeadingContent" align="center"><a href="./stats_inventory_report.php?page=<?php echo $_GET['page']; ?>&sort=cd.categories_name&dir=<?php echo $dir_name; ?>&cat=<?php echo $cat; ?>"><b>Master Category</b></a></td>
    <!-- // bof: add products_model -->
              <td class="dataTableHeadingContent" align="center"><a href="./stats_inventory_report.php?page=<?php echo $_GET['page']; ?>&sort=products_model&dir=<?php echo $dir_model; ?>&cat=<?php echo $cat; ?>"><b>Model</b></a></td>
    <!-- // eof: add products_model -->
                    <td class="dataTableHeadingContent" align="center"><a href="./stats_inventory_report.php?page=<?php echo $_GET['page']; ?>&sort=products_quantity&dir=<?php echo $dir_quantity; ?>&cat=<?php echo $cat; ?>"><b><?php echo TABLE_HEADING_QUANTITY; ?></b></a></td>
    Code:
    // bof: add products_model
      $products_query_raw = "select p.products_id, products_quantity, pd.products_name, p.products_model, p.products_price, (products_quantity * p.products_price) as total, categories_name from ".TABLE_PRODUCTS." p left join ".TABLE_PRODUCTS_DESCRIPTION." pd using(products_id) LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd ON(cd.categories_id = p.master_categories_id AND cd.language_id = '$lang_id') $db_category_where group by p.products_id order by $sort $dir";
    // eof: add products_model
    Code:
                    <td class="dataTableContent" align="left"><?php echo $products->fields['categories_name']; ?>&nbsp;</td>
    <!-- // bof: add products_model -->
              <td class="dataTableContent" align="left"><?php echo $products->fields['products_model']; ?>&nbsp;</td>
    <!-- // eof: add products_model -->
                    <td class="dataTableContent" align="center"><?php echo $products->fields['products_quantity']; ?>&nbsp;</td>
    Code:
                  <tr class="dataTableHeadingRow">
    <!-- // bof: add products_model -->
                    <td colspan="6">&nbsp;</td>
    <!-- // bof: add products_model -->
                    <td class="dataTableHeadingContent" align="right"><?php echo $currencies->format($total); ?></td>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    Wow, thanks Linda!

    It's always appreciated when you go out of your way to help out like that! (Not to take anything away from the addon author, of course.)

    I had a go at making the changes to the file myself but I ended up with mismatched table headings and contents. Would it be possible for you to post the entire customized stats_inventory_report.php file?

    Thanks

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ZC Inventory Report Module

    See if this helps ...
    Attached Files Attached Files
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    Quote Originally Posted by Ajeh View Post
    See if this helps ...
    Perfect!

    Thank you so much, really appreciate it

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ZC Inventory Report Module

    You are most welcome ... glad that this is working for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    I like this mod,,,, it would be nice if there is a button would say "Print Report" to have a print out on paper is this possible?

  8. #8
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    Hi,
    Thanks for the required file which gives the report with model number.

    But this file has one problem........ The GENERATE CSV FILE link is missing.
    Can you please check and rectify the problem and please upload the new file? It will be very much appreciated, as csv download link is a must.
    thanks in advance.

    muteyaar

  9. #9
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: ZC Inventory Report Module

    That is not currently part of the module, it's not missing...........................
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  10. #10
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: ZC Inventory Report Module

    Quote Originally Posted by mprough View Post
    That is not currently part of the module, it's not missing...........................
    The CSV DOWNLOAD link is there at the top right of the page when we upload the original files.
    But as there is no option of MODEL number, I tried to search and found that Ajeh had given a new file to be replaced in this thread at page number 3.
    That file shows the model number very finely, but the CSV FILE DOWNLOAD link (GENERATE CSV) is missing in that case, which is a must have option, because we can only utilize this module properly if we are able to download the csv file of inventory.

    I hope you will help me out in this regard.
    thank you in advance and waiting for your reply.
    - muteyaar
    Last edited by muteyaar; 13 Sep 2015 at 05:39 AM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 SBA Inventory Report
    By catsma_97504 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 6 May 2016, 04:16 PM
  2. Inventory Report
    By damonp in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 31 Jan 2011, 10:51 PM
  3. Store inventory report?
    By RocketFoot in forum General Questions
    Replies: 4
    Last Post: 14 May 2009, 01:15 PM
  4. Inventory Order Report
    By j1l2i3p4k5i6n7g8 in forum General Questions
    Replies: 4
    Last Post: 5 Jan 2008, 05:55 PM
  5. Inventory Report with Attributes
    By brad512 in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2006, 09:38 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