WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Sales Reporting | Fields to choose for monthly sales report.
- AuthorPosts
- 6 November, 2016 at 5:39 pm #23029
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.
7 November, 2016 at 3:08 pm #23070to 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 thewppizza_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 exportthere 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)
7 November, 2016 at 3:12 pm #23071personally , 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)
- AuthorPosts
- The topic ‘Sales Reporting | Fields to choose for monthly sales report.’ is closed to new replies.