DROP TABLE `mod_billingextension`;
DROP TABLE `mod_billingextensiontrans`;
DROP TABLE `mod_billingextensionexempts`;
DROP TABLE `mod_billingextensionpromos`;
DROP TABLE `mod_billingextensionincidents`;
DROP TABLE `mod_billingextensionlatefees`;
DROP TABLE `mod_billingextensionlatefeeslog`;
DROP TABLE `mod_billingextensionsla`;
DROP TABLE `mod_billingextensionvies`;
DROP TABLE `mod_billingextensiontos`;
DROP TABLE `mod_billingextensionbrands`;
DROP TABLE `mod_billingextensionrenewals`;
DROP TABLE `mod_bxtax`;
DROP TABLE `mod_bxmailing`;
DELETE FROM `tblpaymentgateways` WHERE `gateway` = 'paidwithcredit';
DELETE FROM `tblemailtemplates` WHERE `custom` = '1' AND `type` = 'admin' AND `name` = 'Service Level Agreement';
DELETE FROM `tblemailtemplates` WHERE `custom` = '1' AND `type` = 'general' AND `name` = 'Toggle Invoicing';
DELETE FROM `tblemailtemplates` WHERE `custom` = '1' AND `type` = 'general' AND `name` = 'Toggle Invoicing White Label';