Jump to content

Sales Tax Liability report


Recommended Posts

On 09/08/2021 at 00:12, web2008 said:

Anyone know how to include this in the report?

quick change...

$reportdata["headertext"] .= "<br>$numinvoices Invoices Found<br><B>Total Invoiced:</B> ".formatCurrency($total)." &nbsp; <B>Tax Level 1 Liability:</B> ".formatCurrency($tax)." &nbsp; <B>Tax Level 2 Liability:</B> ".formatCurrency($tax2)."<br><b>".$dateRangeText.": </b>".fromMySQLDate($queryStartDate,false)." - ".fromMySQLDate($queryEndDate,false);


as always, don't edit the original .php file (it will get replaced during an update) - so duplicate and edit that.

On 09/08/2021 at 00:12, web2008 said:

Otherwise, this report is still incorrect ( version 8.2 ), as it shows Add Funds invoice as sales.

could you not remove the "Add Funds" line from the SQL query in the report?

                ->On('tblinvoiceitems.type', '=', Capsule::raw('"Invoice"'));
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated