SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- --------------------------------------------------------
-- Table structure for table `activity_admin_history`
CREATE TABLE `activity_admin_history` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`admin_id` bigint(20) DEFAULT NULL,
`ip` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `admin_id_idx` (`admin_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `activity_client_email`
CREATE TABLE `activity_client_email` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) DEFAULT NULL,
`sender` varchar(255) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_id_idx` (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `activity_client_history`
CREATE TABLE `activity_client_history` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) DEFAULT NULL,
`ip` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_id_idx` (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `activity_system`
CREATE TABLE `activity_system` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`priority` tinyint(4) DEFAULT NULL,
`admin_id` bigint(20) DEFAULT NULL,
`client_id` bigint(20) DEFAULT NULL,
`ip` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `admin_id_idx` (`admin_id`),
KEY `client_id_idx` (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=49 ;
-- Dumping data for table `activity_system`
INSERT INTO `activity_system` VALUES
(1, 6, NULL, NULL, 'Added new email template #1', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(2, 6, NULL, NULL, 'Added new email template #2', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(3, 6, NULL, NULL, 'Added new email template #3', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(4, 6, NULL, NULL, 'Added new email template #4', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(5, 6, NULL, NULL, 'Added new email template #5', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(6, 6, NULL, NULL, 'Added new email template #6', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(7, 6, NULL, NULL, 'Added new email template #7', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(8, 6, NULL, NULL, 'Added new email template #8', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(9, 6, NULL, NULL, 'Added new email template #9', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(10, 6, NULL, NULL, 'Added new email template #10', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(11, 6, NULL, NULL, 'Added new email template #11', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(12, 6, NULL, NULL, 'Added new email template #12', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(13, 6, NULL, NULL, 'Added new email template #13', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(14, 6, NULL, NULL, 'Added new email template #14', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(15, 6, NULL, NULL, 'Added new email template #15', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(16, 6, NULL, NULL, 'Added new email template #16', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(17, 6, NULL, NULL, 'Added new email template #17', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(18, 6, NULL, NULL, 'Added new email template #18', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(19, 6, NULL, NULL, 'Added new email template #19', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(20, 6, NULL, NULL, 'Added new email template #20', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(21, 6, NULL, NULL, 'Added new email template #21', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(22, 6, NULL, NULL, 'Added new email template #22', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(23, 6, NULL, NULL, 'Added new email template #23', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(24, 6, NULL, NULL, 'Added new email template #24', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(25, 6, NULL, NULL, 'Added new email template #25', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(26, 6, NULL, NULL, 'Added new email template #26', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(27, 6, NULL, NULL, 'Added new email template #27', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(28, 6, NULL, NULL, 'Added new email template #28', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(29, 6, NULL, NULL, 'Added new email template #29', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(30, 6, NULL, NULL, 'Added new email template #30', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(31, 6, NULL, NULL, 'Added new email template #31', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(32, 6, NULL, NULL, 'Added new email template #32', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(33, 6, NULL, NULL, 'Added new email template #33', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(34, 6, NULL, NULL, 'Added new email template #34', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(35, 6, NULL, NULL, 'Added new email template #35', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(36, 6, NULL, NULL, 'Added new email template #36', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(37, 6, NULL, NULL, 'Added new email template #37', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(38, 6, NULL, NULL, 'Added new email template #38', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(39, 6, NULL, NULL, 'Added new email template #39', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(40, 6, NULL, NULL, 'Added new email template #40', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(41, 6, NULL, NULL, 'Added new email template #41', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(42, 6, NULL, NULL, 'Added new email template #42', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(43, 6, NULL, NULL, 'Added new email template #43', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(44, 6, NULL, NULL, 'Added new email template #44', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(45, 6, NULL, NULL, 'Added new email template #45', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(46, 6, NULL, NULL, 'Added new email template #46', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(47, 6, NULL, NULL, 'Added new email template #47', '[[clientip]]', '[[datetime]]', '[[datetime]]'),
(48, 6, NULL, NULL, 'Generated email templates for installed extensions', '[[clientip]]', '[[datetime]]', '[[datetime]]');
-- --------------------------------------------------------
-- Table structure for table `admin`
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role` varchar(30) DEFAULT 'staff' COMMENT 'admin, staff',
`admin_group_id` bigint(20) DEFAULT '1',
`email` varchar(255) DEFAULT NULL,
`pass` varchar(255) DEFAULT NULL,
`salt` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`signature` varchar(255) DEFAULT NULL,
`protected` tinyint(1) DEFAULT '0',
`status` varchar(30) DEFAULT 'active' COMMENT 'active, inactive',
`api_token` varchar(128) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
UNIQUE KEY `email` (`email`),
KEY `admin_group_id_idx` (`admin_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `admin`
INSERT INTO `admin` VALUES
(1, 'admin', 1, '[[admin_email]]', '[[admin_pass]]', NULL, '[[admin_realname]]', NULL, 1, 'active', NULL, NULL, '[[datetime]]', '[[datetime]]');
-- --------------------------------------------------------
-- Table structure for table `admin_group`
CREATE TABLE `admin_group` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
-- Dumping data for table `admin_group`
INSERT INTO `admin_group` VALUES
(1, 'Administrators', '2012-01-01 12:00:00', '2012-01-01 12:00:00'),
(2, 'Support', '2012-01-01 12:00:00', '2012-01-01 12:00:00');
-- --------------------------------------------------------
-- Table structure for table `api_request`
CREATE TABLE `api_request` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`ip` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `cart`
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`session_id` varchar(32) DEFAULT NULL,
`currency_id` bigint(20) DEFAULT NULL,
`promo_id` bigint(20) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `session_id_idx` (`session_id`),
KEY `currency_id_idx` (`currency_id`),
KEY `promo_id_idx` (`promo_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `cart_product`
CREATE TABLE `cart_product` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`cart_id` bigint(20) DEFAULT NULL,
`product_id` bigint(20) DEFAULT NULL,
KEY `cart_id_idx` (`cart_id`),
KEY `product_id_idx` (`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client`
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`aid` varchar(255) DEFAULT NULL COMMENT 'Alternative id for foreign systems',
`client_group_id` bigint(20) DEFAULT NULL,
`role` varchar(30) NOT NULL DEFAULT 'client' COMMENT 'client',
`auth_type` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`pass` varchar(255) DEFAULT NULL,
`salt` varchar(255) DEFAULT NULL,
`status` varchar(30) DEFAULT 'active' COMMENT 'active, suspended, canceled',
`email_approved` tinyint(1) DEFAULT NULL,
`tax_exempt` tinyint(1) DEFAULT '0',
`type` varchar(100) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`gender` varchar(20) DEFAULT NULL,
`birthday` date DEFAULT NULL,
`phone_cc` varchar(10) DEFAULT NULL,
`phone` varchar(100) DEFAULT NULL,
`company` varchar(100) DEFAULT NULL,
`company_vat` varchar(100) DEFAULT NULL,
`company_number` varchar(255) DEFAULT NULL,
`address_1` varchar(100) DEFAULT NULL,
`address_2` varchar(100) DEFAULT NULL,
`city` varchar(100) DEFAULT NULL,
`state` varchar(100) DEFAULT NULL,
`postcode` varchar(100) DEFAULT NULL,
`country` varchar(100) DEFAULT NULL,
`document_type` varchar(100) DEFAULT NULL,
`document_nr` varchar(20) DEFAULT NULL,
`currency` varchar(10) DEFAULT NULL,
`lang` varchar(10) DEFAULT NULL,
`ip` varchar(45) DEFAULT NULL,
`api_token` varchar(128) DEFAULT NULL,
`referred_by` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
UNIQUE KEY `email` (`email`),
KEY `alternative_id_idx` (`aid`),
KEY `client_group_id_idx` (`client_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client_balance`
CREATE TABLE `client_balance` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`rel_id` varchar(20) DEFAULT NULL,
`amount` decimal(18,2) DEFAULT '0.00',
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_id_idx` (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client_group`
CREATE TABLE `client_group` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `client_group`
INSERT INTO `client_group` VALUES
(1, 'Default', '2012-01-01 12:00:00', '2012-01-01 12:00:00');
-- --------------------------------------------------------
-- Table structure for table `client_order`
CREATE TABLE `client_order` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) DEFAULT NULL,
`product_id` bigint(20) DEFAULT NULL,
`form_id` bigint(20) DEFAULT NULL,
`promo_id` bigint(20) DEFAULT NULL,
`promo_recurring` tinyint(1) DEFAULT NULL,
`promo_used` bigint(20) DEFAULT NULL,
`group_id` varchar(255) DEFAULT NULL,
`group_master` tinyint(1) DEFAULT '0',
`invoice_option` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`currency` varchar(20) DEFAULT NULL,
`unpaid_invoice_id` bigint(20) DEFAULT NULL,
`service_id` bigint(20) DEFAULT NULL,
`service_type` varchar(100) DEFAULT NULL,
`period` varchar(20) DEFAULT NULL,
`quantity` bigint(20) DEFAULT '1',
`unit` varchar(100) DEFAULT NULL,
`price` double(18,2) DEFAULT NULL,
`discount` double(18,2) DEFAULT NULL COMMENT 'first invoice discount',
`status` varchar(50) DEFAULT NULL,
`reason` varchar(255) DEFAULT NULL COMMENT 'suspend/cancel reason',
`referred_by` varchar(255) DEFAULT NULL,
`expires_at` datetime DEFAULT NULL,
`activated_at` datetime DEFAULT NULL,
`suspended_at` datetime DEFAULT NULL,
`unsuspended_at` datetime DEFAULT NULL,
`canceled_at` datetime DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_id_idx` (`client_id`),
KEY `product_id_idx` (`product_id`),
KEY `form_id_idx` (`form_id`),
KEY `promo_id_idx` (`promo_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client_order_meta`
CREATE TABLE `client_order_meta` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_order_id` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_order_id_idx` (`client_order_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client_order_status`
CREATE TABLE `client_order_status` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_order_id` bigint(20) DEFAULT NULL,
`status` varchar(20) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_order_id_idx` (`client_order_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `client_password_reset`
CREATE TABLE `client_password_reset` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`client_id` bigint(20) DEFAULT NULL,
`hash` varchar(100) DEFAULT NULL,
`ip` varchar(45) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `client_id_idx` (`client_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `currency`
CREATE TABLE `currency` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`title` varchar(50) DEFAULT NULL,
`code` varchar(3) DEFAULT NULL,
`is_default` tinyint(1) DEFAULT '0',
`conversion_rate` decimal(13,6) DEFAULT '1.000000',
`format` varchar(30) DEFAULT NULL,
`price_format` varchar(50) DEFAULT '1',
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `currency`
INSERT INTO `currency` VALUES
(1, 'US Dollar', 'USD', 1, 1.000000, '${{price}}', '1', '2012-01-01 12:00:00', '2012-01-01 12:00:00');
-- --------------------------------------------------------
-- Table structure for table `email_template`
CREATE TABLE `email_template` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`action_code` varchar(255) DEFAULT NULL,
`category` varchar(30) DEFAULT NULL COMMENT 'general, domain, invoice, hosting, support, download, custom, license',
`enabled` tinyint(1) DEFAULT '1',
`subject` varchar(255) DEFAULT NULL,
UNIQUE KEY `action_code` (`action_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=48 ;
-- Dumping data for table `email_template`
INSERT INTO `email_template` VALUES
(1, 'mod_client_confirm', 'client', 1, '[{{ guest.system_company.name }}] Please confirm your email address ', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nPlease verify your email by clicking on the link below:\n\n{{email_confirmation_link}}\n\nTo login, visit {{''login''|link({''email'' : c.email }) }}\nEdit your profile at {{''client/me''|link}}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(2, 'mod_client_password_reset_approve', 'client', 1, '[{{ guest.system_company.name }}] Password Changed', '\n{% filter markdown %}\n\nHello {{ c.first_name }} {{ c.last_name }},\n\nAs you requested, your password for our client area has now been reset. \nYour new login details are as follows:\n\nLogin at: {{''login''|link({''email'' : c.email }) }}\nEmail: {{ c.email }}\nPassword: {{ password }}\n\nTo change your password to something more memorable, after logging in go to \nProfile > Change Password.\n\nEdit your profile at {{ ''client/me''|link }}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(3, 'mod_client_password_reset_request', 'client', 1, '[{{ guest.system_company.name }}] Confirm Password Reset', '\n{% filter markdown %}\n\nHello {{ c.first_name }} {{ c.last_name }},\n\nRecently a request was submitted to reset your password for the client area.\nIf you did not request this, please ignore this email. It will expire and will not work in 2 hours time.\n\nTo reset your password, please visit the url below: \n{{''client/reset-password-confirm''|link}}/{{ hash }}\n\n\nWhen you visit the link above, your password will be reset and a new \npassword will be emailed to you.\n\nTo login, visit {{''login''|link({''email'' : c.email }) }}\nEdit your profile at {{''client/me''|link}}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(4, 'mod_client_signup', 'client', 1, '[{{ guest.system_company.name }}] Welcome {{ c.first_name }}', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nThank you for signing up with us. Your new account has been setup and you can now login to our client area using the details below.\n\n\nEmail: {{c.email}} \nPassword: {{password}}\n\n{% if require_email_confirmation %}\n\nApprove your email by clicking on the link below:\n\n{{email_confirmation_link}}\n\n{% endif %}\n\nTo login, visit {{''login''|link({''email'' : c.email }) }}\nEdit your profile at {{''client/me''|link}}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(5, 'mod_email_test', 'email', 1, '[{{ guest.system_company.name }}] BoxBilling Email Test', '\n{% filter markdown %}\nHi {{ staff.name }},\n\nIf you are reading this email, BoxBilling is **configured properly** \nand is **able to send emails**.\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(6, 'mod_forum_new_post', 'forum', 1, '[{{ guest.system_company.name }}] New Forum Message', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nNew message was posted on Forum **{{ topic.forum.title }} > {{ topic.title }}**\n\n***\n\n{{ message.message }}\n\n***\n\nTo reply to this message or disable notifications, visit the link below:\n\n{{ ''forum''|link }}/{{ topic.forum.slug }}/{{ topic.slug }} \n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(7, 'mod_invoice_created', 'invoice', 1, '[{{ guest.system_company.name }}] Invoice Created', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nThis is to notify that proforma invoice {{ invoice.id }} was generated on {{ invoice.created_at|bb_date }}.\nAmount Due: {{ invoice.total | money(invoice.currency) }}\nDue Date: {{invoice.due_at|bb_date}}\n\nYou can view and pay the invoice at: {{''invoice''|link}}/{{invoice.hash}}\n\nLogin to members area: {{''login''|link({''email'' : c.email }) }}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(8, 'mod_invoice_due_after', 'invoice', 1, '[{{ guest.system_company.name }}] Invoice Due', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nThis is a payment reminder that your proforma invoice **{{ invoice.serie_nr }}** is already\ndue for {{ days_passed }} days. \n\nAmount due: {{ invoice.total | money(invoice.currency) }}\nDue Date: {{ invoice.due_at|bb_date }}\n\nYou can view and pay the invoice at: {{''invoice''|link}}/{{invoice.hash}}\n\nYou may review your invoice history at any time by logging in to your client area.\n\nLogin to members area: {{''login''|link({''email'' : c.email }) }}\nView and manage invoices: {{''invoice''|link}} \n\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(9, 'mod_invoice_paid', 'invoice', 1, '[{{ guest.system_company.name }}] Payment Received', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nThis is a payment receipt for Invoice **{{ invoice.serie_nr }}** issued on\n{{invoice.created_at|date(''Y-m-d'')}}\n\nTotal Paid: {{ invoice.total | money(invoice.currency) }}\n\nYou may review your invoice history at any time by logging in to your client area.\nNote: This email serves as an official receipt for this payment.\n\nLogin to members area: {{''login''|link({''email'' : c.email }) }}\nView invoice: {{''invoice''|link}}/{{invoice.hash}}\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),
(10, 'mod_invoice_payment_reminder', 'invoice', 1, '[{{ guest.system_company.name }}] Payment Reminder', '\n{% filter markdown %}\nHello {{ c.first_name }} {{ c.last_name }},\n\nThis is to remind that your proforma invoice **{{ invoice.serie_nr }}** is due\nin {{ invoice.due_at|daysleft }} days. \n\nAmount due: {{ invoice.total | money(invoice.currency) }}\nDue Date: {{ invoice.due_at|bb_date }}\n\nYou can view and pay the invoice at: {{''invoice''|link}}/{{invoice.hash}}\n\nYou may review your invoice history at any time by logging in to your client area.\n\nLogin to members area: {{''login''|link({''email'' : c.email }) }}\nView and manage invoices: {{''invoice''|link}} \n\n\n{{ guest.system_company.signature }}\n\n{% endfilter %}\n', NULL, NULL),