Sales Reporting | Fields to choose for monthly sales report.

WPPizza – A Restaurant Plugin for WordPress Support General Support Sales Reporting | Fields to choose for monthly sales report.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23029
    zainy
    Participant

      Hi olly,

      Everything is working fine except “Sales Report” generation.

      1. There are only two options under “Reports”. First is to select time period and second is a button titled “Export”. There is no possibility to choose fields to export.

      My need is only few fields
      Order Date
      Customer Name
      Discount
      Tax rate
      Alternative Tax
      Total charges to pay/paid.

      But current export system generate a complicate report with a lot of fields. Please have a look on to this.

      2. Under settings I have checked that I need to display alternative tax rate (in my case 19%) rate on reciepts but its not showing up. Only general tax rate (7%) is showing.
      URL can be provided if necessary.

      P.S: These are for tax purposes needed and cause of that are important.

      Thanks in advance.

      #23070
      Olly
      Admin & Mod

        to adjust the report to your own needs you can use the following action hook

        
        /* export your own report if you want */
        do_action('wppizza_custom_report', $dataset);
        

        which can be found in inc/admin.report.functions.php
        i would suggest you copy the wppizza_report_export function in it’s entirety (without that action hook or you’ll end up in an infinite loop), rename it to a function name of your choosing , adkust waht you want to output, and use the action hook to run this on export

        there are already to constanst you could define like so in your wp-config.php

        
        define('WPPIZZA_OMIT_REPORT_GATEWAYS_SUMMARY', true)
        define('WPPIZZA_OMIT_REPORT_ORDER_STATUS_SUMMARY', true)
        

        which would already omit those 2 summaries from your report(s)

        #23071
        Olly
        Admin & Mod

          personally , i do not know what’s complicated about the report as it is.
          it simply has columns and values and if you do not need the reporting per individual day , the actual reporting screen already provides the basics….

          However, of course, i cannot know how exactly you need what for your situation (therefore the action hook provided)

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Sales Reporting | Fields to choose for monthly sales report.’ is closed to new replies.