INSERT INTO `tblemailtemplates_static` (`emailtemplateid`, `type`, `slug`, `language`, `name`, `subject`, `message`, `fromname`, `fromemail`, `plaintext`, `active`, `order`) VALUES
(1637, 'subscriptions', 'customer-subscribed-to-staff', 'chinese', 'Customer Subscribed to a Subscription (Sent to administrators and subscription creator) [chinese]', 'Customer Subscribed to a Subscription', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1638, 'client', 'contact-verification-email', 'chinese', 'Email Verification (Sent to Contact After Registration) [chinese]', 'Verify Email Address', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1639, 'client', 'new-customer-profile-file-uploaded-to-staff', 'chinese', 'New Customer Profile File(s) Uploaded (Sent to Staff) [chinese]', 'Customer Uploaded New File(s) in Profile', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1640, 'staff', 'event-notification-to-staff', 'chinese', 'Event Notification (Calendar) [chinese]', 'Upcoming Event - {event_title}', '', '', NULL, 0, 1, 0),
(1641, 'subscriptions', 'subscription-payment-requires-action', 'chinese', 'Credit Card Authorization Required - SCA [chinese]', 'Important: Confirm your subscription {subscription_name} payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1642, 'appointly', 'appointment-cron-reminder-to-staff', 'chinese', 'Appointment reminder (Sent to Staff and Attendees) [chinese]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1643, 'appointly', 'appointment-cancelled-to-staff', 'chinese', 'Appointment cancelled (Sent to Staff and Attendees) [chinese]', 'Appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1644, 'appointly', 'appointment-cancelled-to-contact', 'chinese', 'Appointment cancelled (Sent to Contact) [chinese]', 'Your appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1645, 'appointly', 'appointment-cron-reminder-to-contact', 'chinese', 'Appointment reminder (Sent to Contact) [chinese]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1646, 'appointly', 'appointment-approved-to-staff', 'chinese', 'Appointment approved (Sent to Staff and Atendees) [chinese]', 'You are added as a appointment attendee', '', '', NULL, 0, 1, 0),
(1647, 'appointly', 'appointment-approved-to-contact', 'chinese', 'Appointment approved (Sent to Contact) [chinese]', 'Your appointment has been approved', '', '', NULL, 0, 1, 0),
(1648, 'appointly', 'appointment-submitted-to-staff', 'chinese', 'New appointment request (Sent to Responsible Person) [chinese]', 'New appointment request via external form', '', '', NULL, 0, 1, 0),
(1649, 'appointly', 'callback-assigned-to-staff', 'chinese', 'Assigned to callback (Sent to Staff) [chinese]', 'You have been assigned to handle a new callback', '', '', NULL, 0, 1, 0),
(1650, 'appointly', 'newcallback-requested-to-staff', 'chinese', 'New callback request (Sent to Callbacks Responsible Person) [chinese]', 'You have a new callback request', '', '', NULL, 0, 1, 0),
(1651, 'appointly', 'appointly-appointment-request-feedback', 'chinese', 'Request Appointment Feedback (Sent to Client) [chinese]', 'Feedback request for Appointment', '', '', NULL, 0, 1, 0),
(1652, 'appointly', 'appointly-appointment-feedback-received', 'chinese', 'New Feedback Received (Sent to Responsible Person) [chinese]', 'New appointment feedback rating received', '', '', NULL, 0, 1, 0),
(1653, 'appointly', 'appointly-appointment-feedback-updated', 'chinese', 'Feedback Updated (Sent to Responsible Person) [chinese]', 'Appointment feedback rating updated', '', '', NULL, 0, 1, 0),
(1654, 'client', 'new-client-created', 'catalan', 'New Contact Added/Registered (Welcome Email) [catalan]', 'Welcome aboard', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1655, 'invoice', 'invoice-send-to-client', 'catalan', 'Send Invoice to Customer [catalan]', 'Invoice with number {invoice_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1656, 'ticket', 'new-ticket-opened-admin', 'catalan', 'New Ticket Opened (Opened by Staff, Sent to Customer) [catalan]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1657, 'ticket', 'ticket-reply', 'catalan', 'Ticket Reply (Sent to Customer) [catalan]', 'New Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1658, 'ticket', 'ticket-autoresponse', 'catalan', 'New Ticket Opened - Autoresponse [catalan]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1659, 'invoice', 'invoice-payment-recorded', 'catalan', 'Invoice Payment Recorded (Sent to Customer) [catalan]', 'Invoice Payment Recorded', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1660, 'invoice', 'invoice-overdue-notice', 'catalan', 'Invoice Overdue Notice [catalan]', 'Invoice Overdue Notice - {invoice_number}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1661, 'invoice', 'invoice-already-send', 'catalan', 'Invoice Already Sent to Customer [catalan]', 'Invoice # {invoice_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1662, 'ticket', 'new-ticket-created-staff', 'catalan', 'New Ticket Created (Opened by Customer, Sent to Staff Members) [catalan]', 'New Ticket Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1663, 'estimate', 'estimate-send-to-client', 'catalan', 'Send Estimate to Customer [catalan]', 'Estimate # {estimate_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1664, 'ticket', 'ticket-reply-to-admin', 'catalan', 'Ticket Reply (Sent to Staff) [catalan]', 'New Support Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1665, 'estimate', 'estimate-already-send', 'catalan', 'Estimate Already Sent to Customer [catalan]', 'Estimate # {estimate_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1666, 'contract', 'contract-expiration', 'catalan', 'Contract Expiration Reminder (Sent to Customer Contacts) [catalan]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1667, 'tasks', 'task-assigned', 'catalan', 'New Task Assigned (Sent to Staff) [catalan]', 'New Task Assigned to You - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1668, 'tasks', 'task-added-as-follower', 'catalan', 'Staff Member Added as Follower on Task (Sent to Staff) [catalan]', 'You are added as follower on task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1669, 'tasks', 'task-commented', 'catalan', 'New Comment on Task (Sent to Staff) [catalan]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1670, 'tasks', 'task-added-attachment', 'catalan', 'New Attachment(s) on Task (Sent to Staff) [catalan]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1671, 'estimate', 'estimate-declined-to-staff', 'catalan', 'Estimate Declined (Sent to Staff) [catalan]', 'Customer Declined Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1672, 'estimate', 'estimate-accepted-to-staff', 'catalan', 'Estimate Accepted (Sent to Staff) [catalan]', 'Customer Accepted Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1673, 'proposals', 'proposal-client-accepted', 'catalan', 'Customer Action - Accepted (Sent to Staff) [catalan]', 'Customer Accepted Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1674, 'proposals', 'proposal-send-to-customer', 'catalan', 'Send Proposal to Customer [catalan]', 'Proposal With Number {proposal_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1675, 'proposals', 'proposal-client-declined', 'catalan', 'Customer Action - Declined (Sent to Staff) [catalan]', 'Client Declined Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1676, 'proposals', 'proposal-client-thank-you', 'catalan', 'Thank You Email (Sent to Customer After Accept) [catalan]', 'Thank for you accepting proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1677, 'proposals', 'proposal-comment-to-client', 'catalan', 'New Comment  (Sent to Customer/Lead) [catalan]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1678, 'proposals', 'proposal-comment-to-admin', 'catalan', 'New Comment (Sent to Staff)  [catalan]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1679, 'estimate', 'estimate-thank-you-to-customer', 'catalan', 'Thank You Email (Sent to Customer After Accept) [catalan]', 'Thank for you accepting estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1680, 'tasks', 'task-deadline-notification', 'catalan', 'Task Deadline Reminder - Sent to Assigned Members [catalan]', 'Task Deadline Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1681, 'contract', 'send-contract', 'catalan', 'Send Contract to Customer [catalan]', 'Contract - {contract_subject}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1682, 'invoice', 'invoice-payment-recorded-to-staff', 'catalan', 'Invoice Payment Recorded (Sent to Staff) [catalan]', 'New Invoice Payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1683, 'ticket', 'auto-close-ticket', 'catalan', 'Auto Close Ticket [catalan]', 'Ticket Auto Closed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1684, 'project', 'new-project-discussion-created-to-staff', 'catalan', 'New Project Discussion (Sent to Project Members) [catalan]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1685, 'project', 'new-project-discussion-created-to-customer', 'catalan', 'New Project Discussion (Sent to Customer Contacts) [catalan]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1686, 'project', 'new-project-file-uploaded-to-customer', 'catalan', 'New Project File(s) Uploaded (Sent to Customer Contacts) [catalan]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1687, 'project', 'new-project-file-uploaded-to-staff', 'catalan', 'New Project File(s) Uploaded (Sent to Project Members) [catalan]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1688, 'project', 'new-project-discussion-comment-to-customer', 'catalan', 'New Discussion Comment  (Sent to Customer Contacts) [catalan]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1689, 'project', 'new-project-discussion-comment-to-staff', 'catalan', 'New Discussion Comment (Sent to Project Members) [catalan]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1690, 'project', 'staff-added-as-project-member', 'catalan', 'Staff Added as Project Member [catalan]', 'New project assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1691, 'estimate', 'estimate-expiry-reminder', 'catalan', 'Estimate Expiration Reminder [catalan]', 'Estimate Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1692, 'proposals', 'proposal-expiry-reminder', 'catalan', 'Proposal Expiration Reminder [catalan]', 'Proposal Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1693, 'staff', 'new-staff-created', 'catalan', 'New Staff Created (Welcome Email) [catalan]', 'You are added as staff member', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1694, 'client', 'contact-forgot-password', 'catalan', 'Forgot Password [catalan]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1695, 'client', 'contact-password-reseted', 'catalan', 'Password Reset - Confirmation [catalan]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1696, 'client', 'contact-set-password', 'catalan', 'Set New Password [catalan]', 'Set new password on {companyname} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1697, 'staff', 'staff-forgot-password', 'catalan', 'Forgot Password [catalan]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1698, 'staff', 'staff-password-reseted', 'catalan', 'Password Reset - Confirmation [catalan]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1699, 'project', 'assigned-to-project', 'catalan', 'New Project Created (Sent to Customer Contacts) [catalan]', 'New Project Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1700, 'tasks', 'task-added-attachment-to-contacts', 'catalan', 'New Attachment(s) on Task (Sent to Customer Contacts) [catalan]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1701, 'tasks', 'task-commented-to-contacts', 'catalan', 'New Comment on Task (Sent to Customer Contacts) [catalan]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1702, 'leads', 'new-lead-assigned', 'catalan', 'New Lead Assigned to Staff Member [catalan]', 'New lead assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1703, 'client', 'client-statement', 'catalan', 'Statement - Account Summary [catalan]', 'Account Statement from {statement_from} to {statement_to}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1704, 'ticket', 'ticket-assigned-to-admin', 'catalan', 'New Ticket Assigned (Sent to Staff) [catalan]', 'New support ticket has been assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1705, 'client', 'new-client-registered-to-admin', 'catalan', 'New Customer Registration (Sent to admins) [catalan]', 'New Customer Registration', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1706, 'leads', 'new-web-to-lead-form-submitted', 'catalan', 'Web to lead form submitted - Sent to lead [catalan]', '{lead_name} - We Received Your Request', '', '{companyname} | CRM', NULL, 0, 0, 0),
(1707, 'staff', 'two-factor-authentication', 'catalan', 'Two Factor Authentication [catalan]', 'Confirm Your Login', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1708, 'project', 'project-finished-to-customer', 'catalan', 'Project Marked as Finished (Sent to Customer Contacts) [catalan]', 'Project Marked as Finished', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1709, 'credit_note', 'credit-note-send-to-client', 'catalan', 'Send Credit Note To Email [catalan]', 'Credit Note With Number #{credit_note_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1710, 'tasks', 'task-status-change-to-staff', 'catalan', 'Task Status Changed (Sent to Staff) [catalan]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1711, 'tasks', 'task-status-change-to-contacts', 'catalan', 'Task Status Changed (Sent to Customer Contacts) [catalan]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1712, 'staff', 'reminder-email-staff', 'catalan', 'Staff Reminder Email [catalan]', 'You Have a New Reminder!', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1713, 'contract', 'contract-comment-to-client', 'catalan', 'New Comment  (Sent to Customer Contacts) [catalan]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1714, 'contract', 'contract-comment-to-admin', 'catalan', 'New Comment (Sent to Staff)  [catalan]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1715, 'subscriptions', 'send-subscription', 'catalan', 'Send Subscription to Customer [catalan]', 'Subscription Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1716, 'subscriptions', 'subscription-payment-failed', 'catalan', 'Subscription Payment Failed [catalan]', 'Your most recent invoice payment failed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1717, 'subscriptions', 'subscription-canceled', 'catalan', 'Subscription Canceled (Sent to customer primary contact) [catalan]', 'Your subscription has been canceled', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1718, 'subscriptions', 'subscription-payment-succeeded', 'catalan', 'Subscription Payment Succeeded (Sent to customer primary contact) [catalan]', 'Subscription  Payment Receipt - {subscription_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1719, 'contract', 'contract-expiration-to-staff', 'catalan', 'Contract Expiration Reminder (Sent to Staff) [catalan]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1720, 'gdpr', 'gdpr-removal-request', 'catalan', 'Removal Request From Contact (Sent to administrators) [catalan]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1721, 'gdpr', 'gdpr-removal-request-lead', 'catalan', 'Removal Request From Lead (Sent to administrators) [catalan]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1722, 'client', 'client-registration-confirmed', 'catalan', 'Customer Registration Confirmed [catalan]', 'Your registration is confirmed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1723, 'contract', 'contract-signed-to-staff', 'catalan', 'Contract Signed (Sent to Staff) [catalan]', 'Customer Signed a Contract', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1724, 'subscriptions', 'customer-subscribed-to-staff', 'catalan', 'Customer Subscribed to a Subscription (Sent to administrators and subscription creator) [catalan]', 'Customer Subscribed to a Subscription', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1725, 'client', 'contact-verification-email', 'catalan', 'Email Verification (Sent to Contact After Registration) [catalan]', 'Verify Email Address', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1726, 'client', 'new-customer-profile-file-uploaded-to-staff', 'catalan', 'New Customer Profile File(s) Uploaded (Sent to Staff) [catalan]', 'Customer Uploaded New File(s) in Profile', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1727, 'staff', 'event-notification-to-staff', 'catalan', 'Event Notification (Calendar) [catalan]', 'Upcoming Event - {event_title}', '', '', NULL, 0, 1, 0),
(1728, 'subscriptions', 'subscription-payment-requires-action', 'catalan', 'Credit Card Authorization Required - SCA [catalan]', 'Important: Confirm your subscription {subscription_name} payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1729, 'appointly', 'appointment-cron-reminder-to-staff', 'catalan', 'Appointment reminder (Sent to Staff and Attendees) [catalan]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1730, 'appointly', 'appointment-cancelled-to-staff', 'catalan', 'Appointment cancelled (Sent to Staff and Attendees) [catalan]', 'Appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1731, 'appointly', 'appointment-cancelled-to-contact', 'catalan', 'Appointment cancelled (Sent to Contact) [catalan]', 'Your appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1732, 'appointly', 'appointment-cron-reminder-to-contact', 'catalan', 'Appointment reminder (Sent to Contact) [catalan]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1733, 'appointly', 'appointment-approved-to-staff', 'catalan', 'Appointment approved (Sent to Staff and Atendees) [catalan]', 'You are added as a appointment attendee', '', '', NULL, 0, 1, 0),
(1734, 'appointly', 'appointment-approved-to-contact', 'catalan', 'Appointment approved (Sent to Contact) [catalan]', 'Your appointment has been approved', '', '', NULL, 0, 1, 0),
(1735, 'appointly', 'appointment-submitted-to-staff', 'catalan', 'New appointment request (Sent to Responsible Person) [catalan]', 'New appointment request via external form', '', '', NULL, 0, 1, 0),
(1736, 'appointly', 'callback-assigned-to-staff', 'catalan', 'Assigned to callback (Sent to Staff) [catalan]', 'You have been assigned to handle a new callback', '', '', NULL, 0, 1, 0),
(1737, 'appointly', 'newcallback-requested-to-staff', 'catalan', 'New callback request (Sent to Callbacks Responsible Person) [catalan]', 'You have a new callback request', '', '', NULL, 0, 1, 0),
(1738, 'appointly', 'appointly-appointment-request-feedback', 'catalan', 'Request Appointment Feedback (Sent to Client) [catalan]', 'Feedback request for Appointment', '', '', NULL, 0, 1, 0),
(1739, 'appointly', 'appointly-appointment-feedback-received', 'catalan', 'New Feedback Received (Sent to Responsible Person) [catalan]', 'New appointment feedback rating received', '', '', NULL, 0, 1, 0),
(1740, 'appointly', 'appointly-appointment-feedback-updated', 'catalan', 'Feedback Updated (Sent to Responsible Person) [catalan]', 'Appointment feedback rating updated', '', '', NULL, 0, 1, 0),
(1741, 'client', 'new-client-created', 'indonesia', 'New Contact Added/Registered (Welcome Email) [indonesia]', 'Welcome aboard', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1742, 'invoice', 'invoice-send-to-client', 'indonesia', 'Send Invoice to Customer [indonesia]', 'Invoice with number {invoice_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1743, 'ticket', 'new-ticket-opened-admin', 'indonesia', 'New Ticket Opened (Opened by Staff, Sent to Customer) [indonesia]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1744, 'ticket', 'ticket-reply', 'indonesia', 'Ticket Reply (Sent to Customer) [indonesia]', 'New Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1745, 'ticket', 'ticket-autoresponse', 'indonesia', 'New Ticket Opened - Autoresponse [indonesia]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1746, 'invoice', 'invoice-payment-recorded', 'indonesia', 'Invoice Payment Recorded (Sent to Customer) [indonesia]', 'Invoice Payment Recorded', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1747, 'invoice', 'invoice-overdue-notice', 'indonesia', 'Invoice Overdue Notice [indonesia]', 'Invoice Overdue Notice - {invoice_number}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1748, 'invoice', 'invoice-already-send', 'indonesia', 'Invoice Already Sent to Customer [indonesia]', 'Invoice # {invoice_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1749, 'ticket', 'new-ticket-created-staff', 'indonesia', 'New Ticket Created (Opened by Customer, Sent to Staff Members) [indonesia]', 'New Ticket Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1750, 'estimate', 'estimate-send-to-client', 'indonesia', 'Send Estimate to Customer [indonesia]', 'Estimate # {estimate_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1751, 'ticket', 'ticket-reply-to-admin', 'indonesia', 'Ticket Reply (Sent to Staff) [indonesia]', 'New Support Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1752, 'estimate', 'estimate-already-send', 'indonesia', 'Estimate Already Sent to Customer [indonesia]', 'Estimate # {estimate_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1753, 'contract', 'contract-expiration', 'indonesia', 'Contract Expiration Reminder (Sent to Customer Contacts) [indonesia]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1754, 'tasks', 'task-assigned', 'indonesia', 'New Task Assigned (Sent to Staff) [indonesia]', 'New Task Assigned to You - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1755, 'tasks', 'task-added-as-follower', 'indonesia', 'Staff Member Added as Follower on Task (Sent to Staff) [indonesia]', 'You are added as follower on task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1756, 'tasks', 'task-commented', 'indonesia', 'New Comment on Task (Sent to Staff) [indonesia]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1757, 'tasks', 'task-added-attachment', 'indonesia', 'New Attachment(s) on Task (Sent to Staff) [indonesia]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1758, 'estimate', 'estimate-declined-to-staff', 'indonesia', 'Estimate Declined (Sent to Staff) [indonesia]', 'Customer Declined Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1759, 'estimate', 'estimate-accepted-to-staff', 'indonesia', 'Estimate Accepted (Sent to Staff) [indonesia]', 'Customer Accepted Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1760, 'proposals', 'proposal-client-accepted', 'indonesia', 'Customer Action - Accepted (Sent to Staff) [indonesia]', 'Customer Accepted Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1761, 'proposals', 'proposal-send-to-customer', 'indonesia', 'Send Proposal to Customer [indonesia]', 'Proposal With Number {proposal_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1762, 'proposals', 'proposal-client-declined', 'indonesia', 'Customer Action - Declined (Sent to Staff) [indonesia]', 'Client Declined Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1763, 'proposals', 'proposal-client-thank-you', 'indonesia', 'Thank You Email (Sent to Customer After Accept) [indonesia]', 'Thank for you accepting proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1764, 'proposals', 'proposal-comment-to-client', 'indonesia', 'New Comment  (Sent to Customer/Lead) [indonesia]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1765, 'proposals', 'proposal-comment-to-admin', 'indonesia', 'New Comment (Sent to Staff)  [indonesia]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1766, 'estimate', 'estimate-thank-you-to-customer', 'indonesia', 'Thank You Email (Sent to Customer After Accept) [indonesia]', 'Thank for you accepting estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1767, 'tasks', 'task-deadline-notification', 'indonesia', 'Task Deadline Reminder - Sent to Assigned Members [indonesia]', 'Task Deadline Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1768, 'contract', 'send-contract', 'indonesia', 'Send Contract to Customer [indonesia]', 'Contract - {contract_subject}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1769, 'invoice', 'invoice-payment-recorded-to-staff', 'indonesia', 'Invoice Payment Recorded (Sent to Staff) [indonesia]', 'New Invoice Payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1770, 'ticket', 'auto-close-ticket', 'indonesia', 'Auto Close Ticket [indonesia]', 'Ticket Auto Closed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1771, 'project', 'new-project-discussion-created-to-staff', 'indonesia', 'New Project Discussion (Sent to Project Members) [indonesia]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1772, 'project', 'new-project-discussion-created-to-customer', 'indonesia', 'New Project Discussion (Sent to Customer Contacts) [indonesia]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1773, 'project', 'new-project-file-uploaded-to-customer', 'indonesia', 'New Project File(s) Uploaded (Sent to Customer Contacts) [indonesia]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1774, 'project', 'new-project-file-uploaded-to-staff', 'indonesia', 'New Project File(s) Uploaded (Sent to Project Members) [indonesia]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1775, 'project', 'new-project-discussion-comment-to-customer', 'indonesia', 'New Discussion Comment  (Sent to Customer Contacts) [indonesia]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1776, 'project', 'new-project-discussion-comment-to-staff', 'indonesia', 'New Discussion Comment (Sent to Project Members) [indonesia]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1777, 'project', 'staff-added-as-project-member', 'indonesia', 'Staff Added as Project Member [indonesia]', 'New project assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1778, 'estimate', 'estimate-expiry-reminder', 'indonesia', 'Estimate Expiration Reminder [indonesia]', 'Estimate Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1779, 'proposals', 'proposal-expiry-reminder', 'indonesia', 'Proposal Expiration Reminder [indonesia]', 'Proposal Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1780, 'staff', 'new-staff-created', 'indonesia', 'New Staff Created (Welcome Email) [indonesia]', 'You are added as staff member', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1781, 'client', 'contact-forgot-password', 'indonesia', 'Forgot Password [indonesia]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1782, 'client', 'contact-password-reseted', 'indonesia', 'Password Reset - Confirmation [indonesia]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1783, 'client', 'contact-set-password', 'indonesia', 'Set New Password [indonesia]', 'Set new password on {companyname} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1784, 'staff', 'staff-forgot-password', 'indonesia', 'Forgot Password [indonesia]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1785, 'staff', 'staff-password-reseted', 'indonesia', 'Password Reset - Confirmation [indonesia]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1786, 'project', 'assigned-to-project', 'indonesia', 'New Project Created (Sent to Customer Contacts) [indonesia]', 'New Project Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1787, 'tasks', 'task-added-attachment-to-contacts', 'indonesia', 'New Attachment(s) on Task (Sent to Customer Contacts) [indonesia]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1788, 'tasks', 'task-commented-to-contacts', 'indonesia', 'New Comment on Task (Sent to Customer Contacts) [indonesia]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1789, 'leads', 'new-lead-assigned', 'indonesia', 'New Lead Assigned to Staff Member [indonesia]', 'New lead assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1790, 'client', 'client-statement', 'indonesia', 'Statement - Account Summary [indonesia]', 'Account Statement from {statement_from} to {statement_to}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1791, 'ticket', 'ticket-assigned-to-admin', 'indonesia', 'New Ticket Assigned (Sent to Staff) [indonesia]', 'New support ticket has been assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1792, 'client', 'new-client-registered-to-admin', 'indonesia', 'New Customer Registration (Sent to admins) [indonesia]', 'New Customer Registration', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1793, 'leads', 'new-web-to-lead-form-submitted', 'indonesia', 'Web to lead form submitted - Sent to lead [indonesia]', '{lead_name} - We Received Your Request', '', '{companyname} | CRM', NULL, 0, 0, 0),
(1794, 'staff', 'two-factor-authentication', 'indonesia', 'Two Factor Authentication [indonesia]', 'Confirm Your Login', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1795, 'project', 'project-finished-to-customer', 'indonesia', 'Project Marked as Finished (Sent to Customer Contacts) [indonesia]', 'Project Marked as Finished', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1796, 'credit_note', 'credit-note-send-to-client', 'indonesia', 'Send Credit Note To Email [indonesia]', 'Credit Note With Number #{credit_note_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1797, 'tasks', 'task-status-change-to-staff', 'indonesia', 'Task Status Changed (Sent to Staff) [indonesia]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1798, 'tasks', 'task-status-change-to-contacts', 'indonesia', 'Task Status Changed (Sent to Customer Contacts) [indonesia]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1799, 'staff', 'reminder-email-staff', 'indonesia', 'Staff Reminder Email [indonesia]', 'You Have a New Reminder!', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1800, 'contract', 'contract-comment-to-client', 'indonesia', 'New Comment  (Sent to Customer Contacts) [indonesia]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1801, 'contract', 'contract-comment-to-admin', 'indonesia', 'New Comment (Sent to Staff)  [indonesia]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1802, 'subscriptions', 'send-subscription', 'indonesia', 'Send Subscription to Customer [indonesia]', 'Subscription Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1803, 'subscriptions', 'subscription-payment-failed', 'indonesia', 'Subscription Payment Failed [indonesia]', 'Your most recent invoice payment failed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1804, 'subscriptions', 'subscription-canceled', 'indonesia', 'Subscription Canceled (Sent to customer primary contact) [indonesia]', 'Your subscription has been canceled', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1805, 'subscriptions', 'subscription-payment-succeeded', 'indonesia', 'Subscription Payment Succeeded (Sent to customer primary contact) [indonesia]', 'Subscription  Payment Receipt - {subscription_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1806, 'contract', 'contract-expiration-to-staff', 'indonesia', 'Contract Expiration Reminder (Sent to Staff) [indonesia]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1807, 'gdpr', 'gdpr-removal-request', 'indonesia', 'Removal Request From Contact (Sent to administrators) [indonesia]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1808, 'gdpr', 'gdpr-removal-request-lead', 'indonesia', 'Removal Request From Lead (Sent to administrators) [indonesia]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1809, 'client', 'client-registration-confirmed', 'indonesia', 'Customer Registration Confirmed [indonesia]', 'Your registration is confirmed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1810, 'contract', 'contract-signed-to-staff', 'indonesia', 'Contract Signed (Sent to Staff) [indonesia]', 'Customer Signed a Contract', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1811, 'subscriptions', 'customer-subscribed-to-staff', 'indonesia', 'Customer Subscribed to a Subscription (Sent to administrators and subscription creator) [indonesia]', 'Customer Subscribed to a Subscription', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1812, 'client', 'contact-verification-email', 'indonesia', 'Email Verification (Sent to Contact After Registration) [indonesia]', 'Verify Email Address', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1813, 'client', 'new-customer-profile-file-uploaded-to-staff', 'indonesia', 'New Customer Profile File(s) Uploaded (Sent to Staff) [indonesia]', 'Customer Uploaded New File(s) in Profile', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1814, 'staff', 'event-notification-to-staff', 'indonesia', 'Event Notification (Calendar) [indonesia]', 'Upcoming Event - {event_title}', '', '', NULL, 0, 1, 0),
(1815, 'subscriptions', 'subscription-payment-requires-action', 'indonesia', 'Credit Card Authorization Required - SCA [indonesia]', 'Important: Confirm your subscription {subscription_name} payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1816, 'appointly', 'appointment-cron-reminder-to-staff', 'indonesia', 'Appointment reminder (Sent to Staff and Attendees) [indonesia]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1817, 'appointly', 'appointment-cancelled-to-staff', 'indonesia', 'Appointment cancelled (Sent to Staff and Attendees) [indonesia]', 'Appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1818, 'appointly', 'appointment-cancelled-to-contact', 'indonesia', 'Appointment cancelled (Sent to Contact) [indonesia]', 'Your appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1819, 'appointly', 'appointment-cron-reminder-to-contact', 'indonesia', 'Appointment reminder (Sent to Contact) [indonesia]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1820, 'appointly', 'appointment-approved-to-staff', 'indonesia', 'Appointment approved (Sent to Staff and Atendees) [indonesia]', 'You are added as a appointment attendee', '', '', NULL, 0, 1, 0),
(1821, 'appointly', 'appointment-approved-to-contact', 'indonesia', 'Appointment approved (Sent to Contact) [indonesia]', 'Your appointment has been approved', '', '', NULL, 0, 1, 0),
(1822, 'appointly', 'appointment-submitted-to-staff', 'indonesia', 'New appointment request (Sent to Responsible Person) [indonesia]', 'New appointment request via external form', '', '', NULL, 0, 1, 0),
(1823, 'appointly', 'callback-assigned-to-staff', 'indonesia', 'Assigned to callback (Sent to Staff) [indonesia]', 'You have been assigned to handle a new callback', '', '', NULL, 0, 1, 0),
(1824, 'appointly', 'newcallback-requested-to-staff', 'indonesia', 'New callback request (Sent to Callbacks Responsible Person) [indonesia]', 'You have a new callback request', '', '', NULL, 0, 1, 0),
(1825, 'appointly', 'appointly-appointment-request-feedback', 'indonesia', 'Request Appointment Feedback (Sent to Client) [indonesia]', 'Feedback request for Appointment', '', '', NULL, 0, 1, 0),
(1826, 'appointly', 'appointly-appointment-feedback-received', 'indonesia', 'New Feedback Received (Sent to Responsible Person) [indonesia]', 'New appointment feedback rating received', '', '', NULL, 0, 1, 0),
(1827, 'appointly', 'appointly-appointment-feedback-updated', 'indonesia', 'Feedback Updated (Sent to Responsible Person) [indonesia]', 'Appointment feedback rating updated', '', '', NULL, 0, 1, 0),
(1828, 'client', 'new-client-created', 'persian', 'New Contact Added/Registered (Welcome Email) [persian]', 'Welcome aboard', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1829, 'invoice', 'invoice-send-to-client', 'persian', 'Send Invoice to Customer [persian]', 'Invoice with number {invoice_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1830, 'ticket', 'new-ticket-opened-admin', 'persian', 'New Ticket Opened (Opened by Staff, Sent to Customer) [persian]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1831, 'ticket', 'ticket-reply', 'persian', 'Ticket Reply (Sent to Customer) [persian]', 'New Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1832, 'ticket', 'ticket-autoresponse', 'persian', 'New Ticket Opened - Autoresponse [persian]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1833, 'invoice', 'invoice-payment-recorded', 'persian', 'Invoice Payment Recorded (Sent to Customer) [persian]', 'Invoice Payment Recorded', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1834, 'invoice', 'invoice-overdue-notice', 'persian', 'Invoice Overdue Notice [persian]', 'Invoice Overdue Notice - {invoice_number}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1835, 'invoice', 'invoice-already-send', 'persian', 'Invoice Already Sent to Customer [persian]', 'Invoice # {invoice_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1836, 'ticket', 'new-ticket-created-staff', 'persian', 'New Ticket Created (Opened by Customer, Sent to Staff Members) [persian]', 'New Ticket Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1837, 'estimate', 'estimate-send-to-client', 'persian', 'Send Estimate to Customer [persian]', 'Estimate # {estimate_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1838, 'ticket', 'ticket-reply-to-admin', 'persian', 'Ticket Reply (Sent to Staff) [persian]', 'New Support Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1839, 'estimate', 'estimate-already-send', 'persian', 'Estimate Already Sent to Customer [persian]', 'Estimate # {estimate_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1840, 'contract', 'contract-expiration', 'persian', 'Contract Expiration Reminder (Sent to Customer Contacts) [persian]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1841, 'tasks', 'task-assigned', 'persian', 'New Task Assigned (Sent to Staff) [persian]', 'New Task Assigned to You - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1842, 'tasks', 'task-added-as-follower', 'persian', 'Staff Member Added as Follower on Task (Sent to Staff) [persian]', 'You are added as follower on task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1843, 'tasks', 'task-commented', 'persian', 'New Comment on Task (Sent to Staff) [persian]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1844, 'tasks', 'task-added-attachment', 'persian', 'New Attachment(s) on Task (Sent to Staff) [persian]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1845, 'estimate', 'estimate-declined-to-staff', 'persian', 'Estimate Declined (Sent to Staff) [persian]', 'Customer Declined Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1846, 'estimate', 'estimate-accepted-to-staff', 'persian', 'Estimate Accepted (Sent to Staff) [persian]', 'Customer Accepted Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1847, 'proposals', 'proposal-client-accepted', 'persian', 'Customer Action - Accepted (Sent to Staff) [persian]', 'Customer Accepted Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1848, 'proposals', 'proposal-send-to-customer', 'persian', 'Send Proposal to Customer [persian]', 'Proposal With Number {proposal_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1849, 'proposals', 'proposal-client-declined', 'persian', 'Customer Action - Declined (Sent to Staff) [persian]', 'Client Declined Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1850, 'proposals', 'proposal-client-thank-you', 'persian', 'Thank You Email (Sent to Customer After Accept) [persian]', 'Thank for you accepting proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1851, 'proposals', 'proposal-comment-to-client', 'persian', 'New Comment  (Sent to Customer/Lead) [persian]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1852, 'proposals', 'proposal-comment-to-admin', 'persian', 'New Comment (Sent to Staff)  [persian]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1853, 'estimate', 'estimate-thank-you-to-customer', 'persian', 'Thank You Email (Sent to Customer After Accept) [persian]', 'Thank for you accepting estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1854, 'tasks', 'task-deadline-notification', 'persian', 'Task Deadline Reminder - Sent to Assigned Members [persian]', 'Task Deadline Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1855, 'contract', 'send-contract', 'persian', 'Send Contract to Customer [persian]', 'Contract - {contract_subject}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1856, 'invoice', 'invoice-payment-recorded-to-staff', 'persian', 'Invoice Payment Recorded (Sent to Staff) [persian]', 'New Invoice Payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1857, 'ticket', 'auto-close-ticket', 'persian', 'Auto Close Ticket [persian]', 'Ticket Auto Closed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1858, 'project', 'new-project-discussion-created-to-staff', 'persian', 'New Project Discussion (Sent to Project Members) [persian]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1859, 'project', 'new-project-discussion-created-to-customer', 'persian', 'New Project Discussion (Sent to Customer Contacts) [persian]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1860, 'project', 'new-project-file-uploaded-to-customer', 'persian', 'New Project File(s) Uploaded (Sent to Customer Contacts) [persian]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1861, 'project', 'new-project-file-uploaded-to-staff', 'persian', 'New Project File(s) Uploaded (Sent to Project Members) [persian]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1862, 'project', 'new-project-discussion-comment-to-customer', 'persian', 'New Discussion Comment  (Sent to Customer Contacts) [persian]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1863, 'project', 'new-project-discussion-comment-to-staff', 'persian', 'New Discussion Comment (Sent to Project Members) [persian]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1864, 'project', 'staff-added-as-project-member', 'persian', 'Staff Added as Project Member [persian]', 'New project assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1865, 'estimate', 'estimate-expiry-reminder', 'persian', 'Estimate Expiration Reminder [persian]', 'Estimate Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1866, 'proposals', 'proposal-expiry-reminder', 'persian', 'Proposal Expiration Reminder [persian]', 'Proposal Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1867, 'staff', 'new-staff-created', 'persian', 'New Staff Created (Welcome Email) [persian]', 'You are added as staff member', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1868, 'client', 'contact-forgot-password', 'persian', 'Forgot Password [persian]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1869, 'client', 'contact-password-reseted', 'persian', 'Password Reset - Confirmation [persian]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1870, 'client', 'contact-set-password', 'persian', 'Set New Password [persian]', 'Set new password on {companyname} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1871, 'staff', 'staff-forgot-password', 'persian', 'Forgot Password [persian]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1872, 'staff', 'staff-password-reseted', 'persian', 'Password Reset - Confirmation [persian]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1873, 'project', 'assigned-to-project', 'persian', 'New Project Created (Sent to Customer Contacts) [persian]', 'New Project Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1874, 'tasks', 'task-added-attachment-to-contacts', 'persian', 'New Attachment(s) on Task (Sent to Customer Contacts) [persian]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1875, 'tasks', 'task-commented-to-contacts', 'persian', 'New Comment on Task (Sent to Customer Contacts) [persian]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1876, 'leads', 'new-lead-assigned', 'persian', 'New Lead Assigned to Staff Member [persian]', 'New lead assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1877, 'client', 'client-statement', 'persian', 'Statement - Account Summary [persian]', 'Account Statement from {statement_from} to {statement_to}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1878, 'ticket', 'ticket-assigned-to-admin', 'persian', 'New Ticket Assigned (Sent to Staff) [persian]', 'New support ticket has been assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1879, 'client', 'new-client-registered-to-admin', 'persian', 'New Customer Registration (Sent to admins) [persian]', 'New Customer Registration', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1880, 'leads', 'new-web-to-lead-form-submitted', 'persian', 'Web to lead form submitted - Sent to lead [persian]', '{lead_name} - We Received Your Request', '', '{companyname} | CRM', NULL, 0, 0, 0),
(1881, 'staff', 'two-factor-authentication', 'persian', 'Two Factor Authentication [persian]', 'Confirm Your Login', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1882, 'project', 'project-finished-to-customer', 'persian', 'Project Marked as Finished (Sent to Customer Contacts) [persian]', 'Project Marked as Finished', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1883, 'credit_note', 'credit-note-send-to-client', 'persian', 'Send Credit Note To Email [persian]', 'Credit Note With Number #{credit_note_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1884, 'tasks', 'task-status-change-to-staff', 'persian', 'Task Status Changed (Sent to Staff) [persian]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1885, 'tasks', 'task-status-change-to-contacts', 'persian', 'Task Status Changed (Sent to Customer Contacts) [persian]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1886, 'staff', 'reminder-email-staff', 'persian', 'Staff Reminder Email [persian]', 'You Have a New Reminder!', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1887, 'contract', 'contract-comment-to-client', 'persian', 'New Comment  (Sent to Customer Contacts) [persian]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1888, 'contract', 'contract-comment-to-admin', 'persian', 'New Comment (Sent to Staff)  [persian]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1889, 'subscriptions', 'send-subscription', 'persian', 'Send Subscription to Customer [persian]', 'Subscription Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1890, 'subscriptions', 'subscription-payment-failed', 'persian', 'Subscription Payment Failed [persian]', 'Your most recent invoice payment failed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1891, 'subscriptions', 'subscription-canceled', 'persian', 'Subscription Canceled (Sent to customer primary contact) [persian]', 'Your subscription has been canceled', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1892, 'subscriptions', 'subscription-payment-succeeded', 'persian', 'Subscription Payment Succeeded (Sent to customer primary contact) [persian]', 'Subscription  Payment Receipt - {subscription_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1893, 'contract', 'contract-expiration-to-staff', 'persian', 'Contract Expiration Reminder (Sent to Staff) [persian]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1894, 'gdpr', 'gdpr-removal-request', 'persian', 'Removal Request From Contact (Sent to administrators) [persian]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1895, 'gdpr', 'gdpr-removal-request-lead', 'persian', 'Removal Request From Lead (Sent to administrators) [persian]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1896, 'client', 'client-registration-confirmed', 'persian', 'Customer Registration Confirmed [persian]', 'Your registration is confirmed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1897, 'contract', 'contract-signed-to-staff', 'persian', 'Contract Signed (Sent to Staff) [persian]', 'Customer Signed a Contract', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1898, 'subscriptions', 'customer-subscribed-to-staff', 'persian', 'Customer Subscribed to a Subscription (Sent to administrators and subscription creator) [persian]', 'Customer Subscribed to a Subscription', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1899, 'client', 'contact-verification-email', 'persian', 'Email Verification (Sent to Contact After Registration) [persian]', 'Verify Email Address', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1900, 'client', 'new-customer-profile-file-uploaded-to-staff', 'persian', 'New Customer Profile File(s) Uploaded (Sent to Staff) [persian]', 'Customer Uploaded New File(s) in Profile', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1901, 'staff', 'event-notification-to-staff', 'persian', 'Event Notification (Calendar) [persian]', 'Upcoming Event - {event_title}', '', '', NULL, 0, 1, 0);
INSERT INTO `tblemailtemplates_static` (`emailtemplateid`, `type`, `slug`, `language`, `name`, `subject`, `message`, `fromname`, `fromemail`, `plaintext`, `active`, `order`) VALUES
(1902, 'subscriptions', 'subscription-payment-requires-action', 'persian', 'Credit Card Authorization Required - SCA [persian]', 'Important: Confirm your subscription {subscription_name} payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1903, 'appointly', 'appointment-cron-reminder-to-staff', 'persian', 'Appointment reminder (Sent to Staff and Attendees) [persian]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1904, 'appointly', 'appointment-cancelled-to-staff', 'persian', 'Appointment cancelled (Sent to Staff and Attendees) [persian]', 'Appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1905, 'appointly', 'appointment-cancelled-to-contact', 'persian', 'Appointment cancelled (Sent to Contact) [persian]', 'Your appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1906, 'appointly', 'appointment-cron-reminder-to-contact', 'persian', 'Appointment reminder (Sent to Contact) [persian]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1907, 'appointly', 'appointment-approved-to-staff', 'persian', 'Appointment approved (Sent to Staff and Atendees) [persian]', 'You are added as a appointment attendee', '', '', NULL, 0, 1, 0),
(1908, 'appointly', 'appointment-approved-to-contact', 'persian', 'Appointment approved (Sent to Contact) [persian]', 'Your appointment has been approved', '', '', NULL, 0, 1, 0),
(1909, 'appointly', 'appointment-submitted-to-staff', 'persian', 'New appointment request (Sent to Responsible Person) [persian]', 'New appointment request via external form', '', '', NULL, 0, 1, 0),
(1910, 'appointly', 'callback-assigned-to-staff', 'persian', 'Assigned to callback (Sent to Staff) [persian]', 'You have been assigned to handle a new callback', '', '', NULL, 0, 1, 0),
(1911, 'appointly', 'newcallback-requested-to-staff', 'persian', 'New callback request (Sent to Callbacks Responsible Person) [persian]', 'You have a new callback request', '', '', NULL, 0, 1, 0),
(1912, 'appointly', 'appointly-appointment-request-feedback', 'persian', 'Request Appointment Feedback (Sent to Client) [persian]', 'Feedback request for Appointment', '', '', NULL, 0, 1, 0),
(1913, 'appointly', 'appointly-appointment-feedback-received', 'persian', 'New Feedback Received (Sent to Responsible Person) [persian]', 'New appointment feedback rating received', '', '', NULL, 0, 1, 0),
(1914, 'appointly', 'appointly-appointment-feedback-updated', 'persian', 'Feedback Updated (Sent to Responsible Person) [persian]', 'Appointment feedback rating updated', '', '', NULL, 0, 1, 0),
(1915, 'client', 'new-client-created', 'slovak', 'New Contact Added/Registered (Welcome Email) [slovak]', 'Welcome aboard', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1916, 'invoice', 'invoice-send-to-client', 'slovak', 'Send Invoice to Customer [slovak]', 'Invoice with number {invoice_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1917, 'ticket', 'new-ticket-opened-admin', 'slovak', 'New Ticket Opened (Opened by Staff, Sent to Customer) [slovak]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1918, 'ticket', 'ticket-reply', 'slovak', 'Ticket Reply (Sent to Customer) [slovak]', 'New Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1919, 'ticket', 'ticket-autoresponse', 'slovak', 'New Ticket Opened - Autoresponse [slovak]', 'New Support Ticket Opened', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1920, 'invoice', 'invoice-payment-recorded', 'slovak', 'Invoice Payment Recorded (Sent to Customer) [slovak]', 'Invoice Payment Recorded', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1921, 'invoice', 'invoice-overdue-notice', 'slovak', 'Invoice Overdue Notice [slovak]', 'Invoice Overdue Notice - {invoice_number}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1922, 'invoice', 'invoice-already-send', 'slovak', 'Invoice Already Sent to Customer [slovak]', 'Invoice # {invoice_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1923, 'ticket', 'new-ticket-created-staff', 'slovak', 'New Ticket Created (Opened by Customer, Sent to Staff Members) [slovak]', 'New Ticket Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1924, 'estimate', 'estimate-send-to-client', 'slovak', 'Send Estimate to Customer [slovak]', 'Estimate # {estimate_number} created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1925, 'ticket', 'ticket-reply-to-admin', 'slovak', 'Ticket Reply (Sent to Staff) [slovak]', 'New Support Ticket Reply', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1926, 'estimate', 'estimate-already-send', 'slovak', 'Estimate Already Sent to Customer [slovak]', 'Estimate # {estimate_number} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1927, 'contract', 'contract-expiration', 'slovak', 'Contract Expiration Reminder (Sent to Customer Contacts) [slovak]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1928, 'tasks', 'task-assigned', 'slovak', 'New Task Assigned (Sent to Staff) [slovak]', 'New Task Assigned to You - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1929, 'tasks', 'task-added-as-follower', 'slovak', 'Staff Member Added as Follower on Task (Sent to Staff) [slovak]', 'You are added as follower on task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1930, 'tasks', 'task-commented', 'slovak', 'New Comment on Task (Sent to Staff) [slovak]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1931, 'tasks', 'task-added-attachment', 'slovak', 'New Attachment(s) on Task (Sent to Staff) [slovak]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1932, 'estimate', 'estimate-declined-to-staff', 'slovak', 'Estimate Declined (Sent to Staff) [slovak]', 'Customer Declined Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1933, 'estimate', 'estimate-accepted-to-staff', 'slovak', 'Estimate Accepted (Sent to Staff) [slovak]', 'Customer Accepted Estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1934, 'proposals', 'proposal-client-accepted', 'slovak', 'Customer Action - Accepted (Sent to Staff) [slovak]', 'Customer Accepted Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1935, 'proposals', 'proposal-send-to-customer', 'slovak', 'Send Proposal to Customer [slovak]', 'Proposal With Number {proposal_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1936, 'proposals', 'proposal-client-declined', 'slovak', 'Customer Action - Declined (Sent to Staff) [slovak]', 'Client Declined Proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1937, 'proposals', 'proposal-client-thank-you', 'slovak', 'Thank You Email (Sent to Customer After Accept) [slovak]', 'Thank for you accepting proposal', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1938, 'proposals', 'proposal-comment-to-client', 'slovak', 'New Comment  (Sent to Customer/Lead) [slovak]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1939, 'proposals', 'proposal-comment-to-admin', 'slovak', 'New Comment (Sent to Staff)  [slovak]', 'New Proposal Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1940, 'estimate', 'estimate-thank-you-to-customer', 'slovak', 'Thank You Email (Sent to Customer After Accept) [slovak]', 'Thank for you accepting estimate', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1941, 'tasks', 'task-deadline-notification', 'slovak', 'Task Deadline Reminder - Sent to Assigned Members [slovak]', 'Task Deadline Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1942, 'contract', 'send-contract', 'slovak', 'Send Contract to Customer [slovak]', 'Contract - {contract_subject}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1943, 'invoice', 'invoice-payment-recorded-to-staff', 'slovak', 'Invoice Payment Recorded (Sent to Staff) [slovak]', 'New Invoice Payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1944, 'ticket', 'auto-close-ticket', 'slovak', 'Auto Close Ticket [slovak]', 'Ticket Auto Closed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1945, 'project', 'new-project-discussion-created-to-staff', 'slovak', 'New Project Discussion (Sent to Project Members) [slovak]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1946, 'project', 'new-project-discussion-created-to-customer', 'slovak', 'New Project Discussion (Sent to Customer Contacts) [slovak]', 'New Project Discussion Created - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1947, 'project', 'new-project-file-uploaded-to-customer', 'slovak', 'New Project File(s) Uploaded (Sent to Customer Contacts) [slovak]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1948, 'project', 'new-project-file-uploaded-to-staff', 'slovak', 'New Project File(s) Uploaded (Sent to Project Members) [slovak]', 'New Project File(s) Uploaded - {project_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1949, 'project', 'new-project-discussion-comment-to-customer', 'slovak', 'New Discussion Comment  (Sent to Customer Contacts) [slovak]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1950, 'project', 'new-project-discussion-comment-to-staff', 'slovak', 'New Discussion Comment (Sent to Project Members) [slovak]', 'New Discussion Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1951, 'project', 'staff-added-as-project-member', 'slovak', 'Staff Added as Project Member [slovak]', 'New project assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1952, 'estimate', 'estimate-expiry-reminder', 'slovak', 'Estimate Expiration Reminder [slovak]', 'Estimate Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1953, 'proposals', 'proposal-expiry-reminder', 'slovak', 'Proposal Expiration Reminder [slovak]', 'Proposal Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1954, 'staff', 'new-staff-created', 'slovak', 'New Staff Created (Welcome Email) [slovak]', 'You are added as staff member', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1955, 'client', 'contact-forgot-password', 'slovak', 'Forgot Password [slovak]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1956, 'client', 'contact-password-reseted', 'slovak', 'Password Reset - Confirmation [slovak]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1957, 'client', 'contact-set-password', 'slovak', 'Set New Password [slovak]', 'Set new password on {companyname} ', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1958, 'staff', 'staff-forgot-password', 'slovak', 'Forgot Password [slovak]', 'Create New Password', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1959, 'staff', 'staff-password-reseted', 'slovak', 'Password Reset - Confirmation [slovak]', 'Your password has been changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1960, 'project', 'assigned-to-project', 'slovak', 'New Project Created (Sent to Customer Contacts) [slovak]', 'New Project Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1961, 'tasks', 'task-added-attachment-to-contacts', 'slovak', 'New Attachment(s) on Task (Sent to Customer Contacts) [slovak]', 'New Attachment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1962, 'tasks', 'task-commented-to-contacts', 'slovak', 'New Comment on Task (Sent to Customer Contacts) [slovak]', 'New Comment on Task - {task_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1963, 'leads', 'new-lead-assigned', 'slovak', 'New Lead Assigned to Staff Member [slovak]', 'New lead assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1964, 'client', 'client-statement', 'slovak', 'Statement - Account Summary [slovak]', 'Account Statement from {statement_from} to {statement_to}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1965, 'ticket', 'ticket-assigned-to-admin', 'slovak', 'New Ticket Assigned (Sent to Staff) [slovak]', 'New support ticket has been assigned to you', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1966, 'client', 'new-client-registered-to-admin', 'slovak', 'New Customer Registration (Sent to admins) [slovak]', 'New Customer Registration', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1967, 'leads', 'new-web-to-lead-form-submitted', 'slovak', 'Web to lead form submitted - Sent to lead [slovak]', '{lead_name} - We Received Your Request', '', '{companyname} | CRM', NULL, 0, 0, 0),
(1968, 'staff', 'two-factor-authentication', 'slovak', 'Two Factor Authentication [slovak]', 'Confirm Your Login', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1969, 'project', 'project-finished-to-customer', 'slovak', 'Project Marked as Finished (Sent to Customer Contacts) [slovak]', 'Project Marked as Finished', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1970, 'credit_note', 'credit-note-send-to-client', 'slovak', 'Send Credit Note To Email [slovak]', 'Credit Note With Number #{credit_note_number} Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1971, 'tasks', 'task-status-change-to-staff', 'slovak', 'Task Status Changed (Sent to Staff) [slovak]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1972, 'tasks', 'task-status-change-to-contacts', 'slovak', 'Task Status Changed (Sent to Customer Contacts) [slovak]', 'Task Status Changed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1973, 'staff', 'reminder-email-staff', 'slovak', 'Staff Reminder Email [slovak]', 'You Have a New Reminder!', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1974, 'contract', 'contract-comment-to-client', 'slovak', 'New Comment  (Sent to Customer Contacts) [slovak]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1975, 'contract', 'contract-comment-to-admin', 'slovak', 'New Comment (Sent to Staff)  [slovak]', 'New Contract Comment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1976, 'subscriptions', 'send-subscription', 'slovak', 'Send Subscription to Customer [slovak]', 'Subscription Created', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1977, 'subscriptions', 'subscription-payment-failed', 'slovak', 'Subscription Payment Failed [slovak]', 'Your most recent invoice payment failed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1978, 'subscriptions', 'subscription-canceled', 'slovak', 'Subscription Canceled (Sent to customer primary contact) [slovak]', 'Your subscription has been canceled', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1979, 'subscriptions', 'subscription-payment-succeeded', 'slovak', 'Subscription Payment Succeeded (Sent to customer primary contact) [slovak]', 'Subscription  Payment Receipt - {subscription_name}', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1980, 'contract', 'contract-expiration-to-staff', 'slovak', 'Contract Expiration Reminder (Sent to Staff) [slovak]', 'Contract Expiration Reminder', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1981, 'gdpr', 'gdpr-removal-request', 'slovak', 'Removal Request From Contact (Sent to administrators) [slovak]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1982, 'gdpr', 'gdpr-removal-request-lead', 'slovak', 'Removal Request From Lead (Sent to administrators) [slovak]', 'Data Removal Request Received', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1983, 'client', 'client-registration-confirmed', 'slovak', 'Customer Registration Confirmed [slovak]', 'Your registration is confirmed', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1984, 'contract', 'contract-signed-to-staff', 'slovak', 'Contract Signed (Sent to Staff) [slovak]', 'Customer Signed a Contract', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1985, 'subscriptions', 'customer-subscribed-to-staff', 'slovak', 'Customer Subscribed to a Subscription (Sent to administrators and subscription creator) [slovak]', 'Customer Subscribed to a Subscription', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1986, 'client', 'contact-verification-email', 'slovak', 'Email Verification (Sent to Contact After Registration) [slovak]', 'Verify Email Address', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1987, 'client', 'new-customer-profile-file-uploaded-to-staff', 'slovak', 'New Customer Profile File(s) Uploaded (Sent to Staff) [slovak]', 'Customer Uploaded New File(s) in Profile', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1988, 'staff', 'event-notification-to-staff', 'slovak', 'Event Notification (Calendar) [slovak]', 'Upcoming Event - {event_title}', '', '', NULL, 0, 1, 0),
(1989, 'subscriptions', 'subscription-payment-requires-action', 'slovak', 'Credit Card Authorization Required - SCA [slovak]', 'Important: Confirm your subscription {subscription_name} payment', '', '{companyname} | CRM', NULL, 0, 1, 0),
(1990, 'appointly', 'appointment-cron-reminder-to-staff', 'slovak', 'Appointment reminder (Sent to Staff and Attendees) [slovak]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1991, 'appointly', 'appointment-cancelled-to-staff', 'slovak', 'Appointment cancelled (Sent to Staff and Attendees) [slovak]', 'Appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1992, 'appointly', 'appointment-cancelled-to-contact', 'slovak', 'Appointment cancelled (Sent to Contact) [slovak]', 'Your appointment has been cancelled !', '', '', NULL, 0, 1, 0),
(1993, 'appointly', 'appointment-cron-reminder-to-contact', 'slovak', 'Appointment reminder (Sent to Contact) [slovak]', 'You have an upcoming appointment !', '', '', NULL, 0, 1, 0),
(1994, 'appointly', 'appointment-approved-to-staff', 'slovak', 'Appointment approved (Sent to Staff and Atendees) [slovak]', 'You are added as a appointment attendee', '', '', NULL, 0, 1, 0),
(1995, 'appointly', 'appointment-approved-to-contact', 'slovak', 'Appointment approved (Sent to Contact) [slovak]', 'Your appointment has been approved', '', '', NULL, 0, 1, 0),
(1996, 'appointly', 'appointment-submitted-to-staff', 'slovak', 'New appointment request (Sent to Responsible Person) [slovak]', 'New appointment request via external form', '', '', NULL, 0, 1, 0),
(1997, 'appointly', 'callback-assigned-to-staff', 'slovak', 'Assigned to callback (Sent to Staff) [slovak]', 'You have been assigned to handle a new callback', '', '', NULL, 0, 1, 0),
(1998, 'appointly', 'newcallback-requested-to-staff', 'slovak', 'New callback request (Sent to Callbacks Responsible Person) [slovak]', 'You have a new callback request', '', '', NULL, 0, 1, 0),
(1999, 'appointly', 'appointly-appointment-request-feedback', 'slovak', 'Request Appointment Feedback (Sent to Client) [slovak]', 'Feedback request for Appointment', '', '', NULL, 0, 1, 0),
(2000, 'appointly', 'appointly-appointment-feedback-received', 'slovak', 'New Feedback Received (Sent to Responsible Person) [slovak]', 'New appointment feedback rating received', '', '', NULL, 0, 1, 0),
(2001, 'appointly', 'appointly-appointment-feedback-updated', 'slovak', 'Feedback Updated (Sent to Responsible Person) [slovak]', 'Appointment feedback rating updated', '', '', NULL, 0, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `tblestimates`
--

CREATE TABLE `tblestimates` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(191) DEFAULT NULL,
  `type` enum('detail','normal') NOT NULL DEFAULT 'normal',
  `sent` tinyint(1) NOT NULL DEFAULT '0',
  `datesend` datetime DEFAULT NULL,
  `clientid` bigint(20) UNSIGNED NOT NULL,
  `deleted_customer_name` varchar(100) DEFAULT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `number` bigint(20) UNSIGNED NOT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `hash` varchar(32) DEFAULT NULL,
  `datecreated` datetime NOT NULL,
  `date` date NOT NULL,
  `expirydate` date DEFAULT NULL,
  `currency` bigint(20) UNSIGNED NOT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT '0.00',
  `total` decimal(15,2) NOT NULL,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL,
  `status` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `clientnote` text,
  `adminnote` text,
  `discount_percent` decimal(15,2) DEFAULT '0.00',
  `discount_total` decimal(15,2) DEFAULT '0.00',
  `discount_type` varchar(30) DEFAULT NULL,
  `invoiceid` bigint(20) UNSIGNED DEFAULT NULL,
  `invoiced_date` datetime DEFAULT NULL,
  `terms` text,
  `reference_no` varchar(100) DEFAULT NULL,
  `sale_agent` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` bigint(20) UNSIGNED DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` bigint(20) UNSIGNED DEFAULT NULL,
  `include_shipping` tinyint(1) NOT NULL,
  `show_shipping_on_estimate` tinyint(1) NOT NULL DEFAULT '1',
  `show_quantity_as` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `pipeline_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `is_expiry_notified` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `acceptance_firstname` varchar(50) DEFAULT NULL,
  `acceptance_lastname` varchar(50) DEFAULT NULL,
  `acceptance_email` varchar(100) DEFAULT NULL,
  `acceptance_date` datetime DEFAULT NULL,
  `acceptance_ip` varchar(40) DEFAULT NULL,
  `signature` varchar(40) DEFAULT NULL,
  `property_street` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `property_city` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `property_state` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `property_zip` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `property_country` bigint(20) DEFAULT NULL,
  `property_id` bigint(20) DEFAULT NULL,
  `labour_rate` decimal(15,2) NOT NULL DEFAULT '0.00',
  `final_labour_charges` decimal(15,2) NOT NULL DEFAULT '0.00',
  `final_supply_charges` decimal(15,2) NOT NULL DEFAULT '0.00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblestimates`
--

INSERT INTO `tblestimates` (`tenant_id`, `id`, `title`, `type`, `sent`, `datesend`, `clientid`, `deleted_customer_name`, `project_id`, `number`, `prefix`, `number_format`, `hash`, `datecreated`, `date`, `expirydate`, `currency`, `subtotal`, `total_tax`, `total`, `adjustment`, `addedfrom`, `status`, `clientnote`, `adminnote`, `discount_percent`, `discount_total`, `discount_type`, `invoiceid`, `invoiced_date`, `terms`, `reference_no`, `sale_agent`, `billing_street`, `billing_city`, `billing_state`, `billing_zip`, `billing_country`, `shipping_street`, `shipping_city`, `shipping_state`, `shipping_zip`, `shipping_country`, `include_shipping`, `show_shipping_on_estimate`, `show_quantity_as`, `pipeline_order`, `is_expiry_notified`, `acceptance_firstname`, `acceptance_lastname`, `acceptance_email`, `acceptance_date`, `acceptance_ip`, `signature`, `property_street`, `property_city`, `property_state`, `property_zip`, `property_country`, `property_id`, `labour_rate`, `final_labour_charges`, `final_supply_charges`) VALUES
(1, 1, NULL, 'normal', 1, '2020-06-15 03:13:49', 69, NULL, 0, 1, 'EST-', 1, 'f5ca5c752ef55d50d5c911d4991c6f26', '2020-05-26 11:04:39', '2020-05-26', '2020-06-02', 3, '0.00', '0.00', '0.00', '0.00', 1, 2, '', '', '0.00', '0.00', '', NULL, NULL, '', '', 0, 'testing address Street 1', 'znznsns', 'djdjsk ', '78794', 7, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', '0.00', '0.00'),
(1, 2, NULL, 'normal', 1, '2020-06-15 03:13:54', 104, NULL, 0, 2, 'EST-', 1, '1e2272e46a260edba193992842820d9a', '2020-05-28 21:42:02', '2020-05-28', '2020-06-04', 1, '5.00', '0.00', '5.00', '0.00', 1, 2, '', '', '0.00', '0.00', '', NULL, NULL, '', '', 1, 'Ney', 'New York', 'New York', '676887', 94, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 2, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'B-5, Navin Manju, S. L. Road', 'India', 'Maharashtra', '400080', 0, NULL, '0.00', '0.00', '0.00'),
(1, 3, NULL, 'normal', 1, '2020-06-22 19:49:00', 104, NULL, 0, 3, 'EST-', 1, '6d42f7456b1723e1ef28a6b4a4fbef6a', '2020-05-28 21:48:37', '2020-05-28', '2020-06-04', 1, '5.00', '0.00', '5.00', '0.00', 1, 2, '', '', '0.00', '0.00', '', NULL, NULL, '', '', 1, 'Ney', 'New York', 'New York', '676887', 94, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 3, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'B-5, Navin Manju, S. L. Road', 'India', 'Maharashtra', '400080', 0, NULL, '0.00', '0.00', '0.00'),
(1, 4, NULL, 'normal', 0, NULL, 104, NULL, 0, 4, 'EST-', 1, 'c9b1316aef9d68613d1c364d4507dc32', '2020-05-28 21:50:52', '2020-05-28', '2020-06-04', 1, '5.00', '0.00', '5.00', '0.00', 1, 3, '', '', '0.00', '0.00', '', NULL, NULL, '', '', 1, 'Ney', 'New York', 'New York', '676887', 94, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'B-5, Navin Manju, S. L. Road', 'India', 'Maharashtra', '400080', 102, 85, '0.00', '0.00', '0.00'),
(1, 5, NULL, 'normal', 0, NULL, 104, NULL, 0, 5, 'EST-', 1, '2d147595453e8953696ad82886d6b5b5', '2020-05-29 19:58:32', '2020-05-29', '2020-06-05', 1, '125.00', '217.20', '161.20', '0.00', 0, 1, 'Client NOTEEEEE', 'Admin NOTEEEEE', '0.00', '0.00', '', NULL, NULL, 'T & C', '', 1, '', 'New York', 'New York', '676887', 94, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'B-5, Navin Manju', 'India', 'Maharashtra', '400080', 102, 85, '0.00', '0.00', '0.00'),
(1, 6, NULL, 'normal', 0, NULL, 71, NULL, 0, 6, 'EST-', 1, 'fba576d7d550f6bb4ad517e55e634b44', '2020-06-12 22:07:01', '2020-06-12', '2020-06-19', 1, '52.50', '2.25', '47.25', '0.00', 1, 1, '', '', '10.00', '5.25', 'before_tax', NULL, NULL, '', '', 1, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '0.00', '0.00', '0.00'),
(1, 7, NULL, 'normal', 0, NULL, 71, NULL, 0, 7, 'EST-', 1, '1e2ed4df4fa0f18ebe910a3e32770a59', '2020-06-15 02:36:48', '2020-06-15', '2020-06-22', 1, '23.60', '9.60', '23.60', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', '', 1, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '0.00', '0.00', '0.00'),
(1, 8, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 8, 'EST-', 1, 'fe160fad967ebcacfdb5e578cb8baa6c', '2020-06-19 17:45:22', '2020-06-19', '2020-06-26', 1, '52.50', '2.25', '47.25', '0.00', 1, 1, '', '', '10.00', '5.25', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 9, 'New estimate', 'normal', 0, NULL, 69, NULL, 0, 9, 'EST-', 1, '52bca93ee3fb1cf906863470bed9873e', '2020-06-19 17:50:00', '2020-06-20', '2020-06-21', 1, '0.00', '0.00', '0.00', '0.00', 43, 1, '', '', '5.00', '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'girish', 'girish', 'kckfdjjd', '157576', NULL, 98, '0.00', '0.00', '0.00'),
(1, 10, 'New normal estimate', 'normal', 0, NULL, 69, NULL, 0, 10, 'EST-', 1, 'a3652121270c96aabdebe21f3e88863e', '2020-06-19 17:52:32', '2020-06-20', '2020-06-23', 1, '0.00', '54.00', '0.00', '0.00', 43, 1, 'Chxh', 'Admin ', '10.00', '0.00', '', NULL, NULL, 'Xfg', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'girish', 'girish', 'kckfdjjd', '157576', NULL, 98, '0.00', '0.00', '0.00'),
(1, 11, 'Advertising Self-Regulation', 'normal', 1, '2020-07-06 16:00:11', 71, NULL, 0, 11, 'EST-', 1, '9bed77013e3f3ea190d168d72a03dbf1', '2020-06-19 17:54:33', '2020-06-19', '2020-06-26', 1, '21.00', '2.25', '18.90', '0.00', 1, 2, '', '', '10.00', '2.10', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 12, 'Ketan estimate', 'normal', 0, NULL, 69, NULL, 0, 12, 'EST-', 1, '76f49a4940a9d6f2c68f0c27b578ea02', '2020-06-19 17:57:56', '2020-06-20', '2020-06-24', 1, '0.00', '81.00', '0.00', '0.00', 43, 1, 'Xvxbdbd', 'Admin note', '10.00', '0.00', '', NULL, NULL, 'Dgdgdh', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'girish', 'girish', 'kckfdjjd', '157576', NULL, 98, '0.00', '0.00', '0.00'),
(1, 13, 'Test job title', 'normal', 0, NULL, 69, NULL, 0, 13, 'EST-', 1, '77762a5b40f006930e47a5dc9b164a8c', '2020-06-19 22:05:59', '2020-07-30', '2020-07-30', 1, '0.00', '0.00', '0.00', '0.00', 1, 1, NULL, NULL, '0.00', '0.00', '', NULL, NULL, NULL, NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 14, '', 'normal', 0, NULL, 69, NULL, 0, 14, 'EST-', 1, '4d6655b7611565e5d353652f3cb2c952', '2020-06-19 22:32:36', '2020-06-21', '2020-08-21', 1, '21.00', '0.00', '21.00', '0.00', 1, 1, NULL, NULL, '0.00', '0.00', '', NULL, NULL, NULL, NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 15, '', 'normal', 0, NULL, 69, NULL, 0, 15, 'EST-', 1, 'ae2a1eab9047201a967d4009f425d1da', '2020-06-19 22:38:34', '2020-06-22', NULL, 1, '7154.00', '1908.00', '7154.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 16, '', 'normal', 0, NULL, 69, NULL, 0, 16, 'EST-', 1, '05aa5055c66c34bdbc69e6a085499b81', '2020-06-19 22:40:24', '2020-06-22', NULL, 1, '7154.00', '1526.40', '5723.20', '0.00', 1, 1, '', '', '20.00', '20.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 17, 'Test Job Title', 'normal', 0, NULL, 69, NULL, 0, 17, 'EST-', 1, '1659de7f1a5ec0db2f945953fa1c646a', '2020-06-19 23:40:22', '2020-06-28', '2020-06-30', 1, '3436.60', '665.82', '3092.90', '0.00', 1, 1, '', '', '10.00', '10.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 18, 'Test Job Title', 'normal', 0, NULL, 69, NULL, 0, 18, 'EST-', 1, '429dd727e94997a0344c77f15da2c22f', '2020-06-19 23:40:42', '2020-06-28', '2020-06-30', 1, '3436.60', '665.82', '3092.90', '0.00', 1, 1, 'Test Client Note ', '', '10.00', '10.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 19, 'Test Job Title', 'normal', 0, NULL, 69, NULL, 0, 19, 'EST-', 1, '15046ee71dba06cf449cc9b2cd22f4b8', '2020-06-19 23:42:17', '2020-06-21', '2020-06-25', 1, '6611.60', '1131.84', '5289.30', '0.00', 1, 1, '', '', '20.00', '20.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 20, 'Test Job Title', 'normal', 0, NULL, 69, NULL, 0, 20, 'EST-', 1, 'e081cc62586cf2e3aa7d5eb8943282b9', '2020-06-19 23:42:46', '2020-06-21', '2020-06-25', 1, '6350.00', '1131.84', '5080.00', '0.00', 1, 1, 'Test Client Note', '', '20.00', '1270.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 22, 'Test Job Title', 'normal', 0, NULL, 69, NULL, 0, 22, 'EST-', 1, '7c590cca38b0996a99ffaf63d60b1806', '2020-06-19 23:44:17', '2020-06-21', '2020-06-25', 1, '7289.80', '1410.52', '7269.80', '0.00', 1, 1, 'Test Client Note', '', '0.00', '20.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 23, '', 'normal', 0, NULL, 107, NULL, 0, 23, 'EST-', 1, '751d211d4a5b7fea7050f6c0d7c7b001', '2020-06-20 00:59:20', '2020-06-27', NULL, 1, '13805.20', '2930.76', '9663.60', '0.00', 1, 1, 'Add Client Note Description.', 'Admin Note Added', '30.00', '30.00', 'before_tax', NULL, NULL, 'Terms and Condition added.', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 88, '0.00', '0.00', '0.00'),
(1, 24, '', 'normal', 0, NULL, 107, NULL, 0, 24, 'EST-', 1, 'e498fb379c13385695f378ffc07f67ae', '2020-06-20 01:00:31', '2020-06-27', '2020-06-29', 1, '22286.80', '2930.76', '15600.76', '0.00', 1, 1, 'Add Client Note Description.', 'Admin Note Added', '30.00', '6686.04', 'before_tax', NULL, NULL, 'Terms and Condition added.', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 88, '0.00', '0.00', '0.00'),
(1, 25, 'Test Job 1', 'normal', 0, NULL, 69, NULL, 0, 25, 'EST-', 1, '0437cb7e5714410023ef4331bc054c8a', '2020-06-20 09:47:19', '2020-06-27', NULL, 1, '2675.00', '1701.00', '2407.50', '0.00', 1, 1, 'This is note by client', 'This is note by admin', '10.00', '267.50', 'before_tax', NULL, NULL, 'Terms signed by client', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 26, 'Advertising Self-Regulation', 'normal', 0, NULL, 109, NULL, 0, 26, 'EST-', 1, 'e5f2edb66bc81ff312f0308fa9ba7c2b', '2020-06-20 17:21:01', '2020-06-20', '2020-06-27', 1, '5705.00', '0.51', '5705.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', '1552', 1, 'Amb', 'ambernath', 'MAHARASHTRA', '421501', 102, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '0.00', '0.00', '0.00'),
(1, 27, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 27, 'EST-', 1, 'e7744831f52d67baa97eff1a44f5abbd', '2020-06-20 17:37:10', '2020-06-19', '2020-06-26', 1, '0.00', '2.25', '0.00', '0.00', 1, 1, '', '', '10.00', '0.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 28, 'Advertising Ajinkya', 'normal', 0, NULL, 105, NULL, 0, 28, 'EST-', 1, '9a3f74a1a2a7f56e51e8d1217a94f80b', '2020-06-21 22:42:37', '2020-06-23', '2020-06-28', 1, '119.70', '2.25', '107.73', '0.00', 1, 1, 'Shshdbsbdhhdjd', 'Gsgsbsb', '10.00', '11.97', 'before_tax', NULL, NULL, 'Shshdh', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'svsv', 'svsb', 'zbsb', '440032', NULL, 90, '0.00', '0.00', '0.00'),
(1, 29, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 29, 'EST-', 1, 'b3e1c2cea0d2a4ad5c22acc571ed5dc9', '2020-06-24 10:23:37', '2020-06-19', '2020-06-26', 1, '192.90', '2.25', '152.90', '0.00', 1, 4, '', '', '0.00', '40.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 30, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 30, 'EST-', 1, '7030136f1752a947197109c34a082d9d', '2020-06-24 11:14:47', '2020-06-19', '2020-06-26', 1, '70.80', '2.25', '50.80', '0.00', 1, 1, '', '', '0.00', '20.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 31, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 31, 'EST-', 1, 'f58d4a2d6684fd5bbbc6ae66fccacec2', '2020-06-24 23:35:38', '2020-06-19', '2020-06-26', 1, '52.50', '2.25', '47.25', '0.00', 1, 1, '', '', '0.00', '5.25', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 32, 'Advertising Self-Regulation 2', 'normal', 0, NULL, 71, NULL, 0, 32, 'EST-', 1, '7bb08a4939be11d4be7824aa8c09eb33', '2020-06-24 23:37:01', '2020-06-19', '2020-06-26', 1, '52.50', '2.25', '47.25', '0.00', 1, 1, '', '', '0.00', '5.25', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 33, 'Advertising Self-Regulation', 'normal', 0, NULL, 71, NULL, 0, 33, 'EST-', 1, '63fb8fcde96201175bc38dfbef5e0adf', '2020-06-24 23:39:11', '2020-06-19', '2020-06-26', 1, '52.50', '2.25', '47.25', '0.00', 1, 1, '', '', '0.00', '5.25', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '0.00', '0.00'),
(1, 34, 'Test Add Estimate Again', 'normal', 0, NULL, 69, NULL, 0, 34, 'EST-', 1, 'bb1ff3f448198c75baf927a0c7686b38', '2020-06-24 23:58:47', '2020-07-01', NULL, 1, '635.00', '135.00', '317.50', '0.00', 1, 1, '', '', '50.00', '317.50', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 35, 'Add Estimate Test C', 'normal', 0, NULL, 96, NULL, 0, 35, 'EST-', 1, '356e11b415731158c7ef4e0b2bc54c04', '2020-06-25 00:43:48', '2020-07-02', '2020-07-02', 1, '20.00', '896.95', '16.00', '0.00', 1, 1, '', '', '20.00', '4.00', 'before_tax', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Shejsj', 'Some City ', 'Maharashtra ', '484457', NULL, 78, '0.00', '0.00', '0.00'),
(1, 36, 'test cc', 'normal', 0, NULL, 94, NULL, 0, 36, 'EST-', 1, '001e49e0cdb36b60f59068a5a6f82856', '2020-06-25 00:56:37', '2020-07-02', NULL, 1, '6800.00', '1440.00', '5440.00', '0.00', 1, 1, '', '', '20.00', '1360.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '0.00', '0.00'),
(1, 37, 'test cc', 'normal', 0, NULL, 94, NULL, 0, 37, 'EST-', 1, 'ba67d6165551c029d185c94296c235f4', '2020-06-25 00:56:52', '2020-07-02', '2020-06-27', 1, '0.00', '1794.71', '0.00', '0.00', 1, 1, '', '', '18.00', '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '0.00', '0.00'),
(1, 38, 'Test estimate again', 'normal', 0, NULL, 71, NULL, 0, 38, 'EST-', 1, '26d10d5a4b0e1053df508ded4539c86a', '2020-06-25 01:56:33', '2020-07-02', NULL, 1, '0.00', '1800.00', '0.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, '0.00', '0.00', '0.00'),
(1, 39, 'Test test', 'normal', 0, NULL, 69, NULL, 0, 39, 'EST-', 1, '6c97c6a1b880a6b56649f63dfcd4ca97', '2020-06-25 11:47:26', '2020-07-02', NULL, 1, '635.00', '135.00', '635.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 40, 'tEsttt', 'normal', 0, NULL, 69, NULL, 0, 40, 'EST-', 1, 'b1dcf1f17485b324e19e3f5dec64b072', '2020-06-25 12:31:50', '2020-07-02', NULL, 1, '6350.00', '1188.00', '5080.00', '0.00', 1, 1, '', '', '20.00', '1270.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 41, 'Multiple Item Test', 'normal', 0, NULL, 69, NULL, 0, 41, 'EST-', 1, 'e5cb38b3977ccea99878ad7bd75f5867', '2020-06-25 13:02:02', '2020-07-02', NULL, 1, '9129.60', '482.02', '8629.60', '0.00', 1, 1, '', '', '0.00', '500.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 42, 'Calc disc test', 'normal', 0, NULL, 69, NULL, 0, 42, 'EST-', 1, '7e3a423018933038e223baa38ca2ff81', '2020-06-25 13:40:37', '2020-07-02', NULL, 1, '7602.00', '1368.00', '6081.60', '0.00', 1, 1, '', '', '20.00', '1520.40', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 43, 'test calcc ', 'normal', 0, NULL, 69, NULL, 0, 43, 'EST-', 1, 'cdc171da8d3b474f19aa66cc2f3c0da5', '2020-06-25 13:42:26', '2020-07-02', '2020-06-27', 1, '6527.00', '1300.70', '6070.11', '0.00', 1, 1, '', '', '7.00', '456.89', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 44, 'Estimate 2f test', 'normal', 0, NULL, 96, NULL, 0, 44, 'EST-', 1, 'a6a923142a42689f06ae6261d409f6ed', '2020-06-25 14:32:40', '2020-07-02', '2020-07-02', 1, '127.00', '1528.19', '-73.00', '0.00', 1, 4, '', 'test', '0.00', '200.00', 'before_tax', 24, '2020-07-07 22:27:51', 'test', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Shejsj', 'Some City ', 'Maharashtra ', '484457', NULL, 78, '0.00', '0.00', '0.00'),
(1, 45, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 45, 'EST-', 1, '3b845d330a9c9336a4064dd2bd61f5cb', '2020-06-26 10:37:40', '2020-06-19', '2020-06-26', 1, '2470.60', '0.00', '2223.54', '0.00', 1, 1, '', '', '10.00', '247.06', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1335.60'),
(1, 46, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 46, 'EST-', 1, '47e3991c6fe07a2abe3878dcaf48b94c', '2020-06-26 10:46:09', '2020-06-19', '2020-06-26', 1, '2470.60', '0.00', '2223.54', '0.00', 1, 1, '', '', '10.00', '247.06', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1335.60'),
(1, 47, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 47, 'EST-', 1, '9e5e3e8157e580029ede4260039369a7', '2020-06-26 14:03:05', '2020-06-19', '2020-06-26', 1, '2470.60', '0.00', '2223.54', '0.00', 1, 1, '', '', '10.00', '247.06', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1335.60'),
(1, 50, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 48, 'EST-', 1, '4f653883049bd5374fb5a327d9dd7548', '2020-06-26 19:05:30', '2020-07-10', '2020-07-17', 1, '2438.80', '0.00', '2194.92', '0.00', 1, 1, 'Hchhc', 'Cgcg', '10.00', '243.88', 'before_tax', NULL, NULL, 'Vhvvh', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1303.80'),
(1, 51, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 105, NULL, 0, 49, 'EST-', 1, 'b08441ce44726ffcf2f19fbfbd244403', '2020-06-26 19:05:37', '2020-07-05', '2020-07-24', 1, '113159.40', '0.00', '113150.40', '0.00', 1, 1, 'gg', 'fg', '0.00', '9.00', '', NULL, NULL, 'gg', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'svsv', 'svsb', 'zbsb', '440032', 1, 90, '0.00', '2090.00', '111069.40'),
(1, 56, '', 'detail', 0, NULL, 94, NULL, 0, 50, 'EST-', 1, 'd0de99d2e6ff01758ac23b1b1c5a9024', '2020-06-26 20:19:45', '2022-02-06', '2020-03-07', 1, '15100.00', '0.00', '15100.00', '0.00', 43, 4, 'bxb', 'nxnx', NULL, '0.00', '', 19, '2020-07-05 21:05:56', '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '10000.00', '5100.00'),
(1, 58, 'Chxb', 'normal', 0, NULL, 94, NULL, 0, 51, 'EST-', 1, 'f96cc1a72eae777c6c8d4349cc7b6ae5', '2020-06-26 20:55:10', '2020-06-26', '2020-07-03', 1, '47.20', '6.48', '42.48', '0.00', 43, 1, '', '', '10.00', '4.72', 'before_tax', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'name', 'nasik', 'sgshd', '440032', NULL, 100, '0.00', '0.00', '0.00'),
(1, 59, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 52, 'EST-', 1, 'da96fdccfd3466f89ea2db5fff044801', '2020-06-26 21:15:27', '2020-06-19', '2020-06-26', 1, '2438.80', '0.00', '2194.92', '0.00', 1, 4, '', '', '10.00', '243.88', 'before_tax', 34, '2020-07-10 18:45:08', '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f086a02992ef.jpg', 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1303.80'),
(1, 60, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 53, 'EST-', 1, '60a6f1f0b195eb197be2909f755ad7a8', '2020-06-26 22:06:51', '2020-06-19', '2020-06-26', 1, '983.80', '0.00', '885.42', '0.00', 1, 4, '', '', '10.00', '98.38', 'before_tax', 30, '2020-07-08 22:47:35', '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f05ff76d5686.jpg', 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '500.00', '483.80'),
(1, 61, 'Dbdb', 'normal', 0, NULL, 94, NULL, 0, 54, 'EST-', 1, '3de8fa2e390d3fd189308deedf6a8368', '2020-06-26 22:06:53', '2020-06-26', '2020-07-03', 1, '94.40', '12.96', '84.96', '0.00', 43, 1, '', '', '10.00', '9.44', 'before_tax', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'name', 'nasik', 'sgshd', '440032', NULL, 100, '0.00', '0.00', '0.00'),
(1, 62, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 55, 'EST-', 1, '07eca6c67e6372a90fc92bd3a0ddc7c6', '2020-06-26 22:27:22', '2020-06-19', '2020-06-26', 1, '2438.80', '0.00', '2194.92', '0.00', 1, 4, '', '', '10.00', '243.88', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f049f9462b5e.jpeg', 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '1135.00', '1303.80'),
(1, 63, 'Advertising Self-Regulation 2', 'detail', 0, NULL, 71, NULL, 0, 56, 'EST-', 1, '2274aa3e4504937732287e78b0d0887e', '2020-06-26 22:57:56', '2020-06-19', '2020-06-26', 1, '200.00', '0.00', '180.00', '0.00', 1, 3, '', '', '10.00', '20.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '0.00', '200.00'),
(1, 64, 'Test add Est', 'normal', 0, NULL, 69, NULL, 0, 57, 'EST-', 1, '51a9e352adb806ed9468c7c750c4f611', '2020-06-26 23:35:27', '2020-06-26', '2020-07-03', 1, '5981.75', '705.60', '2990.87', '0.00', 1, 3, '', '', '50.00', '2990.88', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '0.00', '0.00'),
(1, 67, 'teat', 'detail', 0, NULL, 94, NULL, 0, 58, 'EST-', 1, 'b93e83c2a23d9059233243bdf657c333', '2020-06-27 13:28:23', '2022-03-06', '2020-04-07', 1, '1329.80', '0.00', '1329.80', '0.00', 43, 1, 'vzb', 'hxhs<br />\n', NULL, '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '1090.00', '239.80'),
(1, 68, 'Test updated', 'detail', 0, NULL, 71, NULL, 0, 59, 'EST-', 1, 'fe781fe53d89cacbb2724a9cb4cec384', '2020-07-01 12:54:56', '2020-06-19', '2020-06-26', 1, '0.00', '0.00', '0.00', '0.00', 43, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '0.00', '0.00', '0.00'),
(1, 69, 'test', 'detail', 0, NULL, 94, NULL, 0, 60, 'EST-', 1, 'd8fee00ba286a4a914b3647f42e0584b', '2020-07-01 18:33:25', '2022-03-06', '2020-04-07', 1, '1569.60', '0.00', '1569.60', '0.00', 43, 1, 'hdbd', 'jxnd', '0.00', '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '1090.00', '479.60'),
(1, 70, 'test', 'detail', 0, NULL, 94, NULL, 0, 61, 'EST-', 1, '76acaca2027ec3190fe88ea4c4a2bf39', '2020-07-03 11:04:46', '2022-03-06', '2020-04-07', 1, '3139.20', '0.00', '3139.20', '0.00', 43, 1, 'hdbd', 'jxnd', NULL, '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '2180.00', '959.20'),
(1, 71, 'testkrushna', 'normal', 0, NULL, 94, NULL, 0, 62, 'EST-', 1, 'f369dfee670e0dc0a3362b5ab6915e59', '2020-07-03 19:54:41', '2020-07-03', '2020-07-10', 1, '40.00', '0.00', '36.00', '0.00', 43, 1, 'test', 'test', '10.00', '4.00', 'before_tax', NULL, NULL, 't st', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'name', 'nasik', 'sgshd', '440032', NULL, 100, '0.00', '0.00', '0.00'),
(1, 72, 'test', 'detail', 0, NULL, 69, NULL, 0, 63, 'EST-', 1, 'bdd2bb897121148943717ff907cef25e', '2020-07-04 15:55:45', '2020-04-07', '2020-11-07', 1, '2049.20', '0.00', '2049.20', '0.00', 43, 1, 'bzbz', 'bzbz', NULL, '0.00', '', NULL, NULL, '', NULL, 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, '0.00', '1090.00', '959.20'),
(1, 74, 'Estimate for Vikram', 'normal', 0, NULL, 71, NULL, 0, 64, 'EST-', 1, '123a67b18fc09efedbcf887df641798e', '2020-07-05 13:52:58', '2020-07-05', '2020-07-12', 1, '1083.00', '6.30', '974.70', '0.00', 1, 4, '', '', '10.00', '108.30', 'before_tax', 23, '2020-07-07 22:26:14', '', '', 1, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f049f6f8e5d8.jpg', NULL, NULL, NULL, NULL, NULL, 0, '0.00', '0.00', '0.00'),
(1, 75, 'Estimate for Ajinkya', 'normal', 1, '2020-07-05 21:02:33', 69, NULL, 0, 65, 'EST-', 1, '892581d75e479df697a451154838caab', '2020-07-05 20:53:52', '2020-07-05', '2020-07-12', 1, '990.00', '89.09', '980.00', '0.00', 1, 4, '', '', '0.00', '10.00', 'before_tax', 18, '2020-07-05 21:04:39', '', '', 1, 'testing address Street 1', 'znznsns', 'djdjsk ', '78794', 7, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, '198, Panjrapole Road,', 'Mumbai', 'Maharashtra', '400004', 102, 0, '0.00', '0.00', '0.00'),
(1, 76, 'Segment Estimate in Client', 'normal', 0, NULL, 107, NULL, 0, 66, 'EST-', 1, '397d2206fba52ad0189dd1b0bb4c28f1', '2020-07-07 01:54:40', '2020-08-01', '2020-09-01', 1, '12700.00', '1350.00', '6350.00', '0.00', 1, 4, 'Testing estimate list in client segment', 'Testing estimate list in client', '50.00', '6350.00', 'before_tax', 22, '2020-07-07 22:21:22', 'Testing estimate list in client segment', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f048c4a4314c.jpeg', NULL, NULL, NULL, NULL, NULL, 88, '0.00', '0.00', '0.00'),
(1, 77, 'Test Estimate Client Segment', 'normal', 0, NULL, 124, NULL, 0, 67, 'EST-', 1, 'f32300415f7f562a20b2ebc8ac3a3f0b', '2020-07-07 01:56:49', '2020-08-02', '2020-09-02', 1, '885.00', '132.30', '867.30', '0.00', 1, 4, '', '', '2.00', '17.70', 'before_tax', 21, '2020-07-07 22:18:34', '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f0717f3c01af.jpg', NULL, NULL, NULL, NULL, NULL, 0, '0.00', '0.00', '0.00'),
(1, 82, 'zjzjs', 'normal', 0, NULL, 69, NULL, 0, 67, 'EST-', 1, '18f14154eea5ab53040d7ff1f69e1920', '2020-07-09 00:25:36', '2020-07-09', '2020-07-16', 1, '5900.00', '900.00', '5900.00', '0.00', 1, 4, '', '', '0.00', '0.00', '', 31, '2020-07-09 17:08:44', '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f08093e1200e.jpg', 'Dream Park', 'Mumbai', 'Maharashtra', '456723', NULL, 68, '0.00', '11909.00', '1589.40'),
(1, 84, ' nxnzsn', 'normal', 0, NULL, 96, NULL, 0, 68, 'EST-', 1, 'b291dfe6d5bde96fe4bf283afac60db6', '2020-07-10 12:40:57', '2020-07-10', '2020-07-17', 1, '0.00', '0.00', '0.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Mulund', 'Mumbai', 'Maha', '500081', NULL, 78, '0.00', '0.00', '0.00'),
(1, 85, ' nxnzsn', 'normal', 0, NULL, 96, NULL, 0, 69, 'EST-', 1, '028bd0d79084eeba1d955cf336da265f', '2020-07-10 12:41:03', '2020-07-10', '2020-07-17', 1, '20000.00', '0.00', '20000.00', '0.00', 1, 1, '', '', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Mulund', 'Mumbai', 'Maha', '500081', NULL, 78, '0.00', '0.00', '0.00'),
(1, 86, ' nxnzsn', 'normal', 0, NULL, 96, NULL, 0, 70, 'EST-', 1, 'ed26154ebf4da384c22a769e49af7735', '2020-07-10 12:41:21', '2020-07-10', '2020-07-17', 1, '206.35', '0.00', '185.71', '0.00', 1, 3, '', '', '10.00', '20.64', 'before_tax', 33, '2020-07-10 17:01:16', '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'Mulund', 'Mumbai', 'Maha', '500081', NULL, 78, '0.00', '0.00', '447.80'),
(1, 89, 'Begdbd', 'detail', 0, NULL, 94, NULL, 0, 71, 'EST-', 1, 'dbabc92376dffd15484ce78f41ce46a5', '2020-07-10 21:26:15', '2020-10-07', '2021-05-07', 1, '300.00', '0.00', '300.00', '0.00', 1, 1, 'Xgxgx', 'Vjvuv', '0.00', '0.00', '', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100, '0.00', '100.00', '200.00'),
(60, 90, 'Estimate for Reapiring House', 'normal', 0, NULL, 139, NULL, 0, 2, 'EST-', 1, '6febf8e00e5c4fb7385961d50ab77e22', '2020-07-11 15:02:24', '2020-07-11', '2020-07-18', 20, '1180.00', '486.00', '1062.00', '0.00', 71, 3, '', 'testing admin note', '10.00', '118.00', 'before_tax', NULL, NULL, '', NULL, 71, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, '50 Minty House', 'Mumbai', 'Maharashtra', '400004', NULL, 123, '0.00', '0.00', '0.00'),
(61, 91, 'Hall Paint', 'normal', 0, NULL, 141, NULL, 0, 2, 'EST-', 1, '3be43ed01592c8e1a6fef8231bcb96b0', '2020-07-11 20:46:28', '2020-07-11', '2020-07-18', 23, '55.40', '1.78', '54.85', '0.00', 72, 4, '', '', '1.00', '0.55', 'before_tax', 37, '2020-07-11 21:01:15', '', NULL, 72, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f09e33bcb9c9.jpeg', '202 sea shell chs ltd', 'navi mumbai', 'maharashtra', '400709', NULL, 124, '0.00', '0.00', '0.00'),
(62, 92, 'test', 'normal', 0, NULL, 144, NULL, 0, 2, 'EST-', 1, '43b82414cb9cb56e136a269a158e0772', '2020-07-11 20:50:07', '2020-07-14', '2020-07-22', 26, '15240.00', '3237.87', '15230.00', '0.00', 73, 4, 'Tedkck', 'Admin ', '0.00', '10.00', 'before_tax', 36, '2020-07-11 20:50:19', 'Check ', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 93, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 3, 'EST-', 1, '67b3902bddb342673b47afffb46ccd3f', '2020-07-11 21:10:18', '2020-07-11', '2020-07-18', 26, '2000.00', '0.00', '1988.00', '0.00', 73, 1, '', '', '0.00', '12.00', 'before_tax', NULL, NULL, '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 94, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 4, 'EST-', 1, 'e1dfc93aacf5153784dfdd451316b7b5', '2020-07-11 21:10:22', '2020-07-11', '2020-07-18', 26, '2000.00', '0.00', '1988.00', '0.00', 73, 1, '', '', '0.00', '12.00', 'before_tax', NULL, NULL, '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 95, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 5, 'EST-', 1, '309cbd9a3d358172d8cf649ca3df7b5d', '2020-07-11 21:10:25', '2020-07-11', '2020-07-18', 26, '2000.00', '0.00', '1988.00', '0.00', 73, 1, '', '', '0.00', '12.00', 'before_tax', NULL, NULL, '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 96, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 6, 'EST-', 1, '40358f2d45365d14e864ab3ea58a6f40', '2020-07-11 21:10:29', '2020-07-11', '2020-07-18', 26, '2000.00', '0.00', '1988.00', '0.00', 73, 1, '', '', '0.00', '12.00', 'before_tax', NULL, NULL, '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 97, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 7, 'EST-', 1, 'f18a6264fa065b172b6d72591b9a640c', '2020-07-11 21:10:38', '2020-07-11', '2020-07-18', 26, '2000.00', '0.00', '1988.00', '0.00', 73, 1, '', '', '0.00', '12.00', 'before_tax', NULL, NULL, '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 98, 'girish ', 'normal', 0, NULL, 144, NULL, 0, 8, 'EST-', 1, 'b17e0f88737d01c00212a0044c38eed3', '2020-07-11 21:10:53', '2020-07-11', '2020-07-18', 26, '2180.00', '179.01', '1918.40', '0.00', 73, 3, '', '', '12.00', '261.60', 'before_tax', 38, '2020-07-11 21:21:17', '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'ridjfj', 'jfkfjf', 'jfjdjcjf', '265668', NULL, 130, '0.00', '0.00', '0.00'),
(62, 99, 'title', 'normal', 0, NULL, 147, NULL, 0, 9, 'EST-', 1, 'c7af42a70674ce6fe41b2f31c4cba4ef', '2020-07-11 21:51:28', '2020-07-11', '2020-07-18', 26, '300.90', '45.90', '300.90', '0.00', 73, 4, '', '', '0.00', '0.00', '', 39, '2020-07-11 21:51:58', '', NULL, 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '5f09e75bc86ce.jpeg', 'girjdh', 'fjkffkc', 'fkfkfkf', '1234599883', NULL, 133, '0.00', '0.00', '0.00'),
(60, 102, '', 'detail', 0, NULL, 139, NULL, 0, 3, 'EST-', 1, 'e6f2659702c9eb213bf8da5c7c5238b5', '2020-07-12 20:26:40', '2020-12-07', '2021-07-07', 20, '267290.00', '0.00', '267280.00', '0.00', 71, 1, '', '', '0.00', '10.00', '', NULL, NULL, '', NULL, 71, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 122, '0.00', '2740.00', '264550.00'),
(1, 103, 'Test for my', 'normal', 0, NULL, 94, NULL, 0, 72, 'EST-', 1, '4d1fb86dcc04c57d23fbf37c6de1f01f', '2020-07-13 20:21:37', '2020-07-13', '2020-07-20', 1, '6800000.00', '1440000.00', '5440000.00', '0.00', 1, 1, '', 'Sgsgxhdhdbxbdb is a great place to work for and I am in bus stop and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am in bus and I am not feeling very bad bad me to come in a meeting at all the best for your reference namaste to be in touch and let you get a chance for ', '20.00', '1360000.00', 'before_tax', NULL, NULL, '', NULL, 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'brbd', 'dbfgg', 'sdffff', '440032', NULL, 138, '0.00', '0.00', '0.00');

-- --------------------------------------------------------

--
-- Table structure for table `tblevents`
--

CREATE TABLE `tblevents` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `eventid` bigint(20) UNSIGNED NOT NULL,
  `title` mediumtext NOT NULL,
  `description` text,
  `userid` bigint(20) UNSIGNED NOT NULL,
  `start` datetime NOT NULL,
  `end` datetime DEFAULT NULL,
  `public` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `color` varchar(10) DEFAULT NULL,
  `isstartnotified` tinyint(1) NOT NULL DEFAULT '0',
  `reminder_before` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `reminder_before_type` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblevents`
--

INSERT INTO `tblevents` (`tenant_id`, `eventid`, `title`, `description`, `userid`, `start`, `end`, `public`, `color`, `isstartnotified`, `reminder_before`, `reminder_before_type`) VALUES
(1, 1, 'Coding Tas', '', 1, '2020-04-28 00:00:00', '2020-05-15 06:00:00', 0, '#28B8DA', 1, 30, 'minutes'),
(1, 2, 'Blossm Flowers', '', 1, '2020-06-17 00:00:00', '2020-06-24 04:11:00', 0, '#28B8DA', 0, 30, 'minutes');

-- --------------------------------------------------------

--
-- Table structure for table `tblexpenses`
--

CREATE TABLE `tblexpenses` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `category` bigint(20) UNSIGNED NOT NULL,
  `currency` bigint(20) UNSIGNED NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `tax` bigint(20) UNSIGNED DEFAULT NULL,
  `tax2` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `tax_one_amount` decimal(15,2) DEFAULT NULL,
  `tax_two_amount` decimal(15,2) DEFAULT NULL,
  `number` bigint(20) DEFAULT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` bigint(20) NOT NULL DEFAULT '0',
  `is_tax_included` tinyint(4) NOT NULL DEFAULT '1',
  `total_amount` decimal(15,2) DEFAULT NULL,
  `reference_no` varchar(100) DEFAULT NULL,
  `note` text,
  `expense_name` varchar(191) DEFAULT NULL,
  `clientid` bigint(20) UNSIGNED NOT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `billable` bigint(20) UNSIGNED DEFAULT '0',
  `invoiceid` bigint(20) UNSIGNED DEFAULT NULL,
  `paymentmode` varchar(50) DEFAULT NULL,
  `date` date NOT NULL,
  `recurring_type` varchar(10) DEFAULT NULL,
  `repeat_every` bigint(20) UNSIGNED DEFAULT NULL,
  `recurring` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `total_cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `custom_recurring` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `last_recurring_date` date DEFAULT NULL,
  `create_invoice_billable` tinyint(1) DEFAULT NULL,
  `send_invoice_to_customer` tinyint(1) NOT NULL,
  `recurring_from` bigint(20) UNSIGNED DEFAULT NULL,
  `raised_by` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `reimburse_id` bigint(20) UNSIGNED DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblexpenses`
--

INSERT INTO `tblexpenses` (`tenant_id`, `id`, `category`, `currency`, `amount`, `tax`, `tax2`, `tax_one_amount`, `tax_two_amount`, `number`, `prefix`, `number_format`, `is_tax_included`, `total_amount`, `reference_no`, `note`, `expense_name`, `clientid`, `project_id`, `billable`, `invoiceid`, `paymentmode`, `date`, `recurring_type`, `repeat_every`, `recurring`, `cycles`, `total_cycles`, `custom_recurring`, `last_recurring_date`, `create_invoice_billable`, `send_invoice_to_customer`, `recurring_from`, `raised_by`, `reimburse_id`, `dateadded`, `addedfrom`) VALUES
(1, 80, 1, 1, '5000.00', 1, 0, '450.00', '0.00', 6, 'EX-', 1, 0, '5450.00', '', '', 'API Zero Test', 0, 0, 0, NULL, ' ', '2020-05-14', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 11, '2020-05-27 23:21:34', 0),
(1, 81, 1, 1, '4550.00', 1, 0, '450.00', '0.00', 7, 'EX-', 1, 1, '5000.00', '', 'Expense Description', 'API Zero Test', 0, 0, 1, NULL, '', '2020-05-31', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 11, '2020-05-28 11:12:20', 0),
(1, 84, 6, 1, '12313.00', 0, 0, '0.00', '0.00', 8, 'EX-', 1, 1, '12313.00', '', 'ss', 'Test expense', 0, 0, 0, NULL, '', '2020-06-02', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 0, '2020-06-02 08:36:15', 1),
(1, 85, 6, 1, '5000.00', 0, 0, '0.00', '0.00', 2, 'EX-', 1, 1, '5000.00', '', '', 'Expense number', 0, 0, 0, NULL, '', '2020-06-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 0, '2020-06-03 09:06:13', 1),
(1, 86, 1, 1, '5000.00', 1, 0, '450.00', '0.00', 10, 'EX-', 1, 0, '5450.00', '', '', 'xpense one e 89', 0, 0, 0, NULL, ' ', '2020-05-14', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 11, '2020-06-03 09:07:30', 0),
(1, 87, 4, 1, '850.00', NULL, 0, NULL, NULL, 11, 'EX-', 1, 1, '1000.00', '', 'Expense Description', 'Multiple taxes', 69, 0, 1, NULL, '', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 0, '2020-07-03 12:04:08', 1),
(1, 89, 6, 1, '500.00', NULL, 0, NULL, NULL, 13, 'EX-', 1, 0, '500.00', '', 'Hxhxgxh', 'Hchch', 94, 0, 1, NULL, '', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 68, '2020-07-03 17:33:29', 0),
(1, 90, 6, 1, '600.00', NULL, 0, NULL, NULL, 14, 'EX-', 1, 0, '600.00', '', 'Shdhfjdjfj', 'Taxtest', 69, 0, 1, NULL, '', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 44, '2020-07-03 17:54:26', 0),
(1, 91, 6, 1, '500.00', NULL, 0, NULL, NULL, 15, 'EX-', 1, 0, '500.00', '', 'Vjfjch', 'Test tac', 94, 0, 1, NULL, '', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 0, '2020-07-03 19:36:26', 0),
(1, 93, 20, 1, '3678.00', NULL, 0, NULL, NULL, 17, 'EX-', 1, 0, '5406.66', '12345', 'Multiple taxes adding ', 'Test add taxess', 107, 0, 0, NULL, '1', '2020-07-04', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-03 19:36:55', 0),
(1, 94, 6, 1, '410.00', NULL, 0, NULL, NULL, 18, 'EX-', 1, 1, '500.00', '', 'Fydcfjfhcf', 'Sgdhhd', 94, 0, 1, NULL, '', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 65, '2020-07-03 20:14:50', 0),
(1, 95, 6, 1, '320.00', NULL, 0, NULL, NULL, 19, 'EX-', 1, 1, '500.00', '', 'Hdgdyxgdh', 'Chdhdhf', 69, 0, 1, NULL, '1', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 68, '2020-07-03 20:18:11', 0),
(1, 96, 10, 1, '8663.00', NULL, 0, NULL, NULL, 20, 'EX-', 1, 0, '11002.01', '15322', 'Test add final description edit', 'New Test Expense Add', 107, 0, 1, NULL, '2', '2020-07-04', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 64, '2020-07-04 03:05:05', 0),
(1, 97, 6, 1, '410.00', NULL, 0, NULL, NULL, 21, 'EX-', 1, 1, '500.00', 'Sgnsgn', 'Hfhxhd', 'Dxhd', 94, 0, 1, NULL, '2', '2020-07-04', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 43, 61, '2020-07-04 14:58:32', 0),
(1, 98, 4, 1, '73.00', NULL, 0, NULL, NULL, 22, 'EX-', 1, 1, '100.00', '', 'meeting at andheri', 'travelling to andheri', 94, 0, 1, NULL, '1', '2020-07-06', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 0, '2020-07-06 04:04:39', 0),
(1, 99, 4, 1, '365.00', NULL, 0, NULL, NULL, 23, 'EX-', 1, 1, '500.00', '243626', 'Food foood foooood', 'Ketan Sakulkar expense', 94, 0, 1, 32, '2', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-07 12:13:18', 0),
(1, 100, 4, 1, '365.00', NULL, 0, NULL, NULL, 24, 'EX-', 1, 1, '500.00', '243626', 'Food foood foooood', 'Ketan Sakulkar expense', 94, 0, 1, NULL, '2', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-07 12:13:25', 0),
(1, 101, 4, 1, '365.00', NULL, 0, NULL, NULL, 25, 'EX-', 1, 1, '500.00', '243626', 'Food foood foooood', 'Ketan Sakulkar expense', 94, 0, 1, NULL, '2', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-07 12:14:04', 0),
(1, 102, 4, 1, '365.00', NULL, 0, NULL, NULL, 26, 'EX-', 1, 1, '500.00', '243626', 'Food foood foooood', 'Ketan Sakulkar expense', 94, 0, 1, NULL, '2', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-07 12:14:16', 0),
(1, 103, 1, 1, '5000.00', NULL, 0, NULL, NULL, 27, 'EX-', 1, 1, '5000.00', '', '', 'xpense one e 89', 71, 0, 1, NULL, ' ', '2020-05-14', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 0, '2020-07-07 12:17:52', 0),
(1, 105, 4, 1, '365.00', NULL, 0, NULL, NULL, 29, 'EX-', 1, 1, '500.00', '243626', 'Food foood foooood', 'Ketan Sakulkar expense', 94, 0, 1, 29, '2', '2020-07-03', NULL, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 1, 34, '2020-07-07 12:21:22', 0);

-- --------------------------------------------------------

--
-- Table structure for table `tblexpenses_categories`
--

CREATE TABLE `tblexpenses_categories` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblexpenses_categories`
--

INSERT INTO `tblexpenses_categories` (`tenant_id`, `id`, `name`, `description`) VALUES
(1, 1, 'Testing Expense', ''),
(1, 2, 'Travelling Expense', ''),
(1, 3, 'Works', ''),
(1, 4, 'Kitchen', ''),
(1, 5, 'Test Category Add', ''),
(1, 6, 'Adding Category ', ''),
(1, 7, 'New Category Add Test Recording', ''),
(1, 8, 'new test category', ''),
(1, 9, 'Tax Included', ''),
(1, 10, 'Tax excluded', ''),
(1, 11, 'testing', ''),
(1, 12, 'vikram here', ''),
(1, 13, 'testing', ''),
(1, 14, 'vikram', ''),
(1, 15, 'testing', ''),
(1, 16, 'testung', ''),
(1, 17, 'testing', ''),
(1, 18, 'testing', ''),
(1, 19, 'Test new cattytt', ''),
(1, 20, 'ffffg', '');

-- --------------------------------------------------------

--
-- Table structure for table `tblexpense_taxes`
--

CREATE TABLE `tblexpense_taxes` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `expense_id` bigint(20) UNSIGNED NOT NULL,
  `taxrate` decimal(15,2) NOT NULL,
  `taxname` varchar(100) NOT NULL,
  `amount` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblexpense_taxes`
--

INSERT INTO `tblexpense_taxes` (`tenant_id`, `id`, `expense_id`, `taxrate`, `taxname`, `amount`) VALUES
(1, 4, 88, '9.00', 'CGST', '450.00'),
(1, 5, 88, '18.00', 'IGST', '900.00'),
(1, 6, 89, '0.00', '-', '0.00'),
(1, 7, 89, '0.00', '-', '0.00'),
(1, 9, 90, '0.00', '-', '0.00'),
(1, 10, 91, '0.00', '[', '0.00'),
(1, 11, 91, '0.00', '[', '0.00'),
(1, 12, 92, '9.00', 'CGST', '450.00'),
(1, 13, 92, '18.00', 'IGST', '900.00'),
(1, 17, 94, '18.00', 'IGST', '90.00'),
(1, 18, 94, '0.00', '[', '0.00'),
(1, 34, 87, '5.00', 'somename 3', '50.00'),
(1, 35, 87, '5.00', 'Other tax', '50.00'),
(1, 36, 87, '5.00', 'somename 5', '50.00'),
(1, 90, 93, '20.00', 'custom tax', '735.60'),
(1, 91, 93, '18.00', 'IGST', '662.04'),
(1, 92, 93, '9.00', 'CGST', '331.02'),
(1, 104, 97, '18.00', 'IGST', '90.00'),
(1, 105, 95, '18.00', 'IGST', '90.00'),
(1, 106, 95, '9.00', 'SGST', '45.00'),
(1, 107, 95, '9.00', 'CGST', '45.00'),
(1, 108, 96, '18.00', 'IGST', '1559.34'),
(1, 109, 96, '9.00', 'CGST', '779.67'),
(1, 110, 98, '9.00', 'SGST', '9.00'),
(1, 111, 98, '18.00', 'IGST', '18.00'),
(1, 112, 99, '9.00', 'SGST', '45.00'),
(1, 113, 99, '18.00', 'IGST', '90.00'),
(1, 114, 100, '9.00', 'SGST', '45.00'),
(1, 115, 100, '18.00', 'IGST', '90.00'),
(1, 116, 101, '9.00', 'SGST', '45.00'),
(1, 117, 101, '18.00', 'IGST', '90.00'),
(1, 118, 102, '9.00', 'SGST', '45.00'),
(1, 119, 102, '18.00', 'IGST', '90.00'),
(1, 120, 103, '0.00', 'CGST', '0.00'),
(1, 121, 103, '0.00', 'IGST', '0.00'),
(1, 122, 104, '0.00', 'CGST', '0.00'),
(1, 123, 104, '0.00', 'IGST', '0.00'),
(1, 128, 105, '9.00', 'SGST', '45.00'),
(1, 129, 105, '18.00', 'IGST', '90.00');

-- --------------------------------------------------------

--
-- Table structure for table `tblfailed_events`
--

CREATE TABLE `tblfailed_events` (
  `unique_code` varchar(255) NOT NULL,
  `tenant_id` bigint(20) DEFAULT NULL,
  `operation` varchar(255) NOT NULL,
  `failure_reason` text NOT NULL,
  `request_data` text NOT NULL,
  `addedon` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblfiles`
--

CREATE TABLE `tblfiles` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `file_name` varchar(191) NOT NULL,
  `filetype` varchar(40) DEFAULT NULL,
  `visible_to_customer` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `attachment_key` varchar(32) DEFAULT NULL,
  `external` varchar(40) DEFAULT NULL,
  `external_link` text,
  `thumbnail_link` text COMMENT 'For external usage',
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED DEFAULT '0',
  `task_comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblfiles`
--

INSERT INTO `tblfiles` (`tenant_id`, `id`, `rel_id`, `rel_type`, `file_name`, `filetype`, `visible_to_customer`, `attachment_key`, `external`, `external_link`, `thumbnail_link`, `staffid`, `contact_id`, `task_comment_id`, `dateadded`) VALUES
(1, 41, 38, 'expense', 'client.png', 'image/png', 0, 'e372d672cbfa983d890bd781c7da3cf2', NULL, NULL, NULL, 0, 0, 0, '2020-05-22 08:53:00'),
(1, 62, 80, 'expense', 'client.png', 'image/png', 0, 'cdde62c78026011626b60a4b01db6216', NULL, NULL, NULL, 0, 0, 0, '2020-05-27 23:21:34'),
(1, 63, 80, 'expense', 'client.png', 'image/png', 0, '9185527b982f497e20aa6b7fc5059c69', NULL, NULL, NULL, 0, 0, 0, '2020-05-28 07:24:21'),
(1, 64, 37, 'expense', 'client.png', 'image/png', 0, 'bf3871cedb3ceb2f65647c10d645bc25', NULL, NULL, NULL, 0, 0, 0, '2020-05-28 07:26:16'),
(1, 65, 38, 'expense', 'client.png', 'image/png', 0, '841e36383bc5f78ccfe88b6832024cfa', NULL, NULL, NULL, 0, 0, 0, '2020-05-28 07:26:51'),
(1, 66, 39, 'expense', 'client.png', 'image/png', 0, '9741806170a4a1d9808bcc930025fc6f', NULL, NULL, NULL, 0, 0, 0, '2020-05-28 07:30:17'),
(1, 67, 3, 'lead', 'Screen Shot 2020-05-29 at 6.50.06 PM.png', 'image/png', 0, '6bf3e61954a623246967c62d7f5fedb5', NULL, NULL, NULL, 1, 0, 0, '2020-05-29 18:56:26'),
(1, 68, 3, 'lead', 'openlist-master.zip', 'application/zip', 0, '4cf64885d7f7ceca4520bab7ee3cca9e', NULL, NULL, NULL, 1, 0, 0, '2020-05-29 18:56:58'),
(1, 69, 1, 'newsfeed_post', 'screencapture-treo-pulsethemes-angular-demo-dashboards-finance-2020-06-19-12_48_40.pdf', 'application/pdf', 0, 'c20f1504df17eef8090da80f311acde0', NULL, NULL, NULL, 1, 0, 0, '2020-06-19 13:38:34'),
(1, 70, 89, 'expense', 'IMG_20200703_173252481.jpg', 'image/png', 0, 'f4ba801af7e433c59a04cf3c0c7a7853', NULL, NULL, NULL, 0, 0, 0, '2020-07-03 17:33:29'),
(1, 71, 95, 'expense', 'IMG_20200704_150908808.jpg', 'image/png', 0, '417c11050901eb1f0a06a50e43522710', NULL, NULL, NULL, 0, 0, 0, '2020-07-04 15:09:18'),
(1, 73, 105, 'expense', 'IMG_20200707_121254866.jpg', 'image/png', 0, '5c6f574e1f320e6e024bd80472f3a3a9', NULL, NULL, NULL, 0, 0, 0, '2020-07-07 12:21:22');

-- --------------------------------------------------------

--
-- Table structure for table `tblform_questions`
--

CREATE TABLE `tblform_questions` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `questionid` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) DEFAULT NULL,
  `question` mediumtext NOT NULL,
  `required` tinyint(1) NOT NULL DEFAULT '0',
  `question_order` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblform_question_box`
--

CREATE TABLE `tblform_question_box` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `boxid` bigint(20) UNSIGNED NOT NULL,
  `boxtype` varchar(10) NOT NULL,
  `questionid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblform_question_box_description`
--

CREATE TABLE `tblform_question_box_description` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `questionboxdescriptionid` bigint(20) UNSIGNED NOT NULL,
  `description` mediumtext NOT NULL,
  `boxid` mediumtext NOT NULL,
  `questionid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblform_results`
--

CREATE TABLE `tblform_results` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `resultid` bigint(20) UNSIGNED NOT NULL,
  `boxid` bigint(20) UNSIGNED NOT NULL,
  `boxdescriptionid` bigint(20) UNSIGNED DEFAULT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) DEFAULT NULL,
  `questionid` bigint(20) UNSIGNED NOT NULL,
  `answer` text,
  `resultsetid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblgdpr_requests`
--

CREATE TABLE `tblgdpr_requests` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `clientid` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `contact_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `lead_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `request_type` varchar(191) DEFAULT NULL,
  `status` varchar(40) DEFAULT NULL,
  `request_date` datetime NOT NULL,
  `request_from` varchar(150) DEFAULT NULL,
  `description` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblindustry`
--

CREATE TABLE `tblindustry` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblindustry`
--

INSERT INTO `tblindustry` (`id`, `name`, `code_name`) VALUES
(1, 'IT', 'information_technology'),
(2, 'BPO', 'bpo'),
(3, 'Sales', 'sales');

-- --------------------------------------------------------

--
-- Table structure for table `tblinventory_history`
--

CREATE TABLE `tblinventory_history` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `assets` bigint(20) UNSIGNED NOT NULL,
  `date_time` datetime NOT NULL,
  `acction` varchar(50) NOT NULL,
  `inventory_begin` bigint(20) UNSIGNED DEFAULT NULL,
  `inventory_end` bigint(20) UNSIGNED NOT NULL,
  `cost` decimal(15,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblinventory_history`
--

INSERT INTO `tblinventory_history` (`tenant_id`, `id`, `assets`, `date_time`, `acction`, `inventory_begin`, `inventory_end`, `cost`) VALUES
(1, 1, 1, '2020-05-07 00:00:00', 'add_new', 0, 2, '4000'),
(1, 2, 2, '2020-05-09 00:00:00', 'add_new', 0, 5, '35000'),
(1, 3, 1, '2020-05-08 03:00:00', 'allocation', 2, 1, NULL),
(1, 4, 1, '2020-05-08 05:00:00', 'additional', 1, 6, '10000'),
(1, 5, 1, '2020-05-22 01:47:00', 'additional', 6, 11, '10000');

-- --------------------------------------------------------

--
-- Table structure for table `tblinvoicepaymentrecords`
--

CREATE TABLE `tblinvoicepaymentrecords` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `invoiceid` bigint(20) UNSIGNED NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `paymentmode` varchar(40) DEFAULT NULL,
  `paymentmethod` varchar(191) DEFAULT NULL,
  `date` date NOT NULL,
  `daterecorded` datetime NOT NULL,
  `note` text NOT NULL,
  `transactionid` mediumtext
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblinvoicepaymentrecords`
--

INSERT INTO `tblinvoicepaymentrecords` (`tenant_id`, `id`, `invoiceid`, `amount`, `paymentmode`, `paymentmethod`, `date`, `daterecorded`, `note`, `transactionid`) VALUES
(1, 1, 1, '10.00', '1', '', '2020-06-14', '2020-06-14 19:22:44', '', ''),
(1, 2, 1, '10.00', 'paypal', NULL, '2020-06-14', '2020-06-14 19:56:46', '', '7VT51574RX514951E'),
(1, 3, 3, '1000.00', '1', NULL, '2020-06-26', '2020-06-26 13:19:24', '', ''),
(1, 4, 15, '100.00', '1', NULL, '2020-06-29', '2020-06-29 15:23:20', 'note', 'trans -123'),
(1, 5, 17, '500.00', '1', NULL, '2020-06-29', '2020-06-29 16:41:42', 'note', 't-1235'),
(1, 6, 17, '500.00', '1', NULL, '2020-06-29', '2020-06-30 14:06:44', 'note', 't-1235'),
(1, 7, 17, '100.00', '1', NULL, '2020-06-29', '2020-06-30 14:44:53', 'note', 't-1235'),
(1, 8, 9, '30.00', '2', NULL, '2020-06-30', '2020-06-30 16:53:34', 'Test invoice payment ', '1234'),
(1, 9, 9, '30.00', '1', NULL, '2020-06-30', '2020-06-30 17:00:41', 'Paying 500 ', '1213'),
(1, 10, 9, '30.00', '2', NULL, '2020-06-30', '2020-06-30 17:08:12', 'Test update invoice on payment ', '212'),
(1, 11, 9, '30.00', '2', NULL, '2020-06-30', '2020-06-30 17:08:51', 'Test again', '1241'),
(1, 12, 9, '30.00', '2', NULL, '2020-06-30', '2020-06-30 17:09:24', 'Test', '2133'),
(1, 13, 17, '50.00', '1', NULL, '2020-06-29', '2020-06-30 17:14:26', 'note', 't-1235'),
(1, 14, 9, '862.56', '1', NULL, '2020-06-30', '2020-06-30 17:19:38', 'Test amount correction ', '3214'),
(1, 15, 5, '58.00', '1', NULL, '2020-06-29', '2020-06-30 19:50:01', 'note', 't-1235'),
(1, 16, 5, '58.00', '1', NULL, '2020-06-29', '2020-06-30 19:51:50', 'note', 't-1235'),
(1, 17, 15, '100.00', '1', NULL, '0000-00-00', '2020-06-30 19:52:05', '', ''),
(1, 18, 15, '500.00', '2', NULL, '0000-00-00', '2020-06-30 20:57:54', '', ''),
(1, 19, 16, '5000.00', '2', NULL, '2020-06-30', '2020-06-30 23:26:06', 'Test note', '1234'),
(1, 20, 11, '965.00', '2', NULL, '2020-06-30', '2020-06-30 23:54:42', 'Reload test', '121'),
(1, 21, 11, '1000.00', '1', NULL, '2020-06-30', '2020-06-30 23:55:47', 'Payment list reload test', '121'),
(1, 22, 10, '350.00', '2', NULL, '2020-07-02', '2020-07-02 01:17:09', '1st payment collected', '1212'),
(1, 23, 34, '2194.92', '2', NULL, '0000-00-00', '2020-07-10 21:12:53', '', 'Hfh'),
(1, 24, 31, '500.00', '1', NULL, '0000-00-00', '2020-07-10 21:14:14', '', 'Fgb'),
(1, 25, 35, '40.00', '2', NULL, '2020-07-10', '2020-07-10 21:55:06', 'Some pending', '7875'),
(60, 26, 40, '500.00', '21', NULL, '0000-00-00', '2020-07-12 21:13:06', '', 'hshshsh'),
(1, 27, 26, '1000.00', '2', NULL, '2020-07-14', '2020-07-14 12:52:14', 'Shsjs', '446');

-- --------------------------------------------------------

--
-- Table structure for table `tblinvoices`
--

CREATE TABLE `tblinvoices` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `sent` tinyint(1) NOT NULL DEFAULT '0',
  `datesend` datetime DEFAULT NULL,
  `clientid` bigint(20) UNSIGNED NOT NULL,
  `deleted_customer_name` varchar(100) DEFAULT NULL,
  `number` bigint(20) UNSIGNED NOT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `datecreated` datetime NOT NULL,
  `date` date NOT NULL,
  `duedate` date DEFAULT NULL,
  `currency` bigint(20) UNSIGNED NOT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT '0.00',
  `total` decimal(15,2) NOT NULL,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `addedfrom` bigint(20) UNSIGNED DEFAULT NULL,
  `hash` varchar(32) NOT NULL,
  `status` bigint(20) UNSIGNED DEFAULT '1',
  `clientnote` text,
  `adminnote` text,
  `last_overdue_reminder` date DEFAULT NULL,
  `cancel_overdue_reminders` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `allowed_payment_modes` mediumtext,
  `token` mediumtext,
  `discount_percent` decimal(15,2) DEFAULT '0.00',
  `discount_total` decimal(15,2) DEFAULT '0.00',
  `discount_type` varchar(30) NOT NULL,
  `recurring` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `recurring_type` varchar(10) DEFAULT NULL,
  `custom_recurring` tinyint(1) NOT NULL DEFAULT '0',
  `cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `total_cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `is_recurring_from` bigint(20) UNSIGNED DEFAULT NULL,
  `last_recurring_date` date DEFAULT NULL,
  `terms` text,
  `sale_agent` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` bigint(20) UNSIGNED DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` bigint(20) UNSIGNED DEFAULT NULL,
  `include_shipping` tinyint(1) NOT NULL,
  `show_shipping_on_invoice` tinyint(1) NOT NULL DEFAULT '1',
  `show_quantity_as` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `project_id` bigint(20) UNSIGNED DEFAULT '0',
  `subscription_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `property_street` varchar(200) DEFAULT NULL,
  `property_city` varchar(100) DEFAULT NULL,
  `property_state` varchar(100) DEFAULT NULL,
  `property_zip` varchar(100) DEFAULT NULL,
  `property_country` bigint(20) UNSIGNED DEFAULT NULL,
  `property_id` bigint(20) UNSIGNED DEFAULT NULL,
  `po_number` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblinvoices`
--

INSERT INTO `tblinvoices` (`tenant_id`, `id`, `sent`, `datesend`, `clientid`, `deleted_customer_name`, `number`, `prefix`, `number_format`, `datecreated`, `date`, `duedate`, `currency`, `subtotal`, `total_tax`, `total`, `adjustment`, `addedfrom`, `hash`, `status`, `clientnote`, `adminnote`, `last_overdue_reminder`, `cancel_overdue_reminders`, `allowed_payment_modes`, `token`, `discount_percent`, `discount_total`, `discount_type`, `recurring`, `recurring_type`, `custom_recurring`, `cycles`, `total_cycles`, `is_recurring_from`, `last_recurring_date`, `terms`, `sale_agent`, `billing_street`, `billing_city`, `billing_state`, `billing_zip`, `billing_country`, `shipping_street`, `shipping_city`, `shipping_state`, `shipping_zip`, `shipping_country`, `include_shipping`, `show_shipping_on_invoice`, `show_quantity_as`, `project_id`, `subscription_id`, `property_street`, `property_city`, `property_state`, `property_zip`, `property_country`, `property_id`, `po_number`) VALUES
(1, 1, 0, NULL, 71, NULL, 1, 'INV-', 1, '2020-05-13 01:19:20', '2020-05-13', '2020-06-12', 15, '20.00', '0.00', '20.00', '0.00', 1, '43240355f2f0148811726eb95ae1d10a', 2, '', '', NULL, 0, 'a:2:{i:0;s:1:\"1\";i:1;s:6:\"paypal\";}', 'EC-94H59717UT9938621', '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 0, '', '', '', '', 0, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 2, 0, NULL, 71, NULL, 2, 'INV-', 1, '2020-06-26 12:16:08', '2020-06-26', '2020-07-26', 15, '550.00', '45.00', '495.00', '0.00', 1, 'de9db3abd2561470a5e57488b65db86b', 1, '', 'ad', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '10.00', '55.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 34, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 3, 0, NULL, 71, NULL, 3, 'INV-', 1, '2020-06-26 13:19:02', '2020-06-26', '2020-07-26', 15, '150.00', '0.00', '50.00', '0.00', 1, '98ca5626d4f5db39f6fcd1a8488e6f18', 2, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '100.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 0, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 4, 0, NULL, 71, NULL, 4, 'INV-', 1, '2020-06-26 15:41:43', '2020-06-19', '2020-06-26', 1, '6985.00', '1188.00', '5588.00', '0.00', 1, '9bdc0c3b509fdef56511ae19b5c09b39', 1, '', '', NULL, 0, 'a:0:{}', NULL, '20.00', '1397.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, 'terms one', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '666'),
(1, 5, 0, NULL, 71, NULL, 5, 'INV-', 1, '2020-06-26 15:52:25', '2020-06-19', '2020-06-26', 1, '6985.00', '1188.00', '5588.00', '0.00', 1, '4320bffcf78f0530a25f13918a4c4795', 3, '', '', NULL, 0, 'a:0:{}', NULL, '20.00', '1397.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, NULL),
(1, 6, 0, NULL, 71, NULL, 6, 'INV-', 1, '2020-06-26 15:52:50', '2020-06-19', '2020-06-26', 1, '6985.00', '1188.00', '5588.00', '0.00', 1, 'dc8863c051712f80cb706adff129af2f', 1, '', '', NULL, 0, 'a:0:{}', NULL, '20.00', '1397.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, NULL),
(1, 7, 0, NULL, 71, NULL, 7, 'INV-', 1, '2020-06-26 15:54:26', '2020-06-19', '2020-06-26', 1, '6985.00', '1188.00', '5588.00', '0.00', 1, '8b317af5cfbc325554612f31c99c7719', 1, '', '', NULL, 0, 'a:0:{}', NULL, '20.00', '1397.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, NULL),
(1, 8, 0, NULL, 69, NULL, 8, 'INV-', 1, '2020-06-26 16:15:03', '2020-06-26', '2020-07-03', 1, '6538.00', '590.40', '5230.40', '0.00', 1, 'abc35809e59f2737889d7660d32b35a4', 1, 'Test client note added', 'Test admin note added', NULL, 0, 'a:0:{}', NULL, '20.00', '1307.60', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, 'Test t&c added', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 68, NULL),
(1, 9, 0, NULL, 96, NULL, 9, 'INV-', 1, '2020-06-26 16:18:13', '2020-06-26', '2020-07-03', 1, '2074.80', '324.76', '2012.56', '0.00', 1, '79a4fbabb5ba989d0392f3f5453c6fd8', 3, '', '', NULL, 0, 'a:0:{}', NULL, '3.00', '62.24', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 78, NULL),
(1, 10, 0, NULL, 107, NULL, 10, 'INV-', 1, '2020-06-26 16:45:40', '2020-06-26', '2020-07-06', 1, '4080.00', '896.40', '3386.40', '0.00', 1, 'e9c43e65deaa972f557ee270f99dfb3c', 3, '', '', NULL, 0, 'a:0:{}', NULL, '17.00', '693.60', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 88, NULL),
(1, 11, 0, NULL, 71, NULL, 11, 'INV-', 1, '2020-06-26 19:42:11', '2020-06-19', '2020-06-26', 1, '6985.00', '1480.75', '6965.00', '0.00', 1, 'b81d52510e964a2312bfc4fe6e390f64', 3, 'Ajinkya Sonar', '', NULL, 0, 'a:0:{}', NULL, '0.00', '20.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '55555'),
(1, 12, 0, NULL, 69, NULL, 12, 'INV-', 1, '2020-06-26 20:37:57', '2020-06-26', '2020-07-03', 1, '118.00', '18.00', '118.00', '0.00', 43, '77e7d32418e4a2429f8ed5da4dbac2b8', 1, '', '', NULL, 0, 'a:0:{}', NULL, '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'girish', 'girish', 'kckfdjjd', '157576', 2, 98, ''),
(1, 13, 0, NULL, 69, NULL, 13, 'INV-', 1, '2020-06-26 20:56:54', '2020-06-26', '2020-07-03', 1, '35400.00', '5130.00', '33630.00', '0.00', 43, '7f64747309cc387618ffcbf4c23c3429', 1, '', '', NULL, 0, 'a:0:{}', NULL, '5.00', '1770.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'girish', 'girish', 'kckfdjjd', '157576', 2, 98, '000'),
(1, 14, 0, NULL, 94, NULL, 14, 'INV-', 1, '2020-06-26 22:05:54', '2020-06-26', '2020-07-03', 1, '236.00', '35.28', '231.28', '0.00', 43, '3484f2c3a8abed48b3f14868c168d4f9', 1, '', '', NULL, 0, 'a:0:{}', NULL, '2.00', '4.72', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'name', 'nasik', 'sgshd', '440032', 7, 100, ''),
(1, 15, 0, NULL, 107, NULL, 15, 'INV-', 1, '2020-06-27 18:16:41', '2020-06-29', '2020-07-06', 1, '2384.10', '444.69', '2145.69', '0.00', 1, '70ff28e14e1b0224ca345eb10e9e77d6', 3, 'Testing client notee', 'Testing Admin note', NULL, 0, 'a:2:{i:0;s:1:\"1\";i:1;s:1:\"2\";}', NULL, '10.00', '238.41', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, 'Testing terms', 1, '', '', '', '', 0, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 88, '124'),
(1, 16, 0, NULL, 71, NULL, 16, 'INV-', 1, '2020-06-29 11:41:37', '2020-06-19', '2020-06-26', 1, '6731.00', '1144.80', '5384.80', '0.00', 1, '7a57879a3ba7d953d96ccda4da8b5980', 3, 'Fycgx', 'Fyfy', NULL, 0, 'a:0:{}', NULL, '20.00', '1346.20', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, 'Fufhc', 43, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '55556'),
(1, 17, 0, NULL, 71, NULL, 17, 'INV-', 1, '2020-06-29 16:30:31', '2020-06-19', '2020-06-26', 1, '1270.00', '270.00', '1070.00', '0.00', 1, 'faa8b9c1318ca7d0762572b2fb046dab', 2, '', '', NULL, 0, 'a:0:{}', NULL, '0.00', '200.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 1, 68, '555'),
(1, 18, 0, NULL, 69, NULL, 18, 'INV-', 1, '2020-07-05 21:04:39', '2020-07-05', '2020-08-04', 1, '990.00', '89.09', '980.00', '0.00', 1, 'd2e03d779b7d92b2664e873acc946deb', 6, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '10.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, 'testing address Street 1', 'znznsns', 'djdjsk ', '78794', 7, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 19, 1, NULL, 94, NULL, 19, 'INV-', 1, '2020-07-05 21:05:56', '2020-07-05', '2020-08-04', 1, '15100.00', '0.00', '15100.00', '0.00', 43, '55270fbc6f7738f7f93d93ebf6fa83f2', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, NULL, '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 20, 0, NULL, 107, NULL, 20, 'INV-', 1, '2020-07-07 02:10:32', '2020-07-07', '2020-07-14', 1, '141.60', '21.38', '140.18', '0.00', 1, 'ed1446ba0fa03802d8597dad8ac1bd30', 1, '', '', NULL, 0, 'a:0:{}', NULL, '1.00', '1.42', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 88, '1142'),
(1, 21, 0, NULL, 107, NULL, 21, 'INV-', 1, '2020-07-07 22:18:33', '2020-07-07', '2020-08-06', 1, '885.00', '132.30', '867.30', '0.00', 1, 'b449335d308d1156fa3fce17c2bb77bc', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '2.00', '17.70', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 22, 0, NULL, 107, NULL, 22, 'INV-', 1, '2020-07-07 22:21:22', '2020-07-07', '2020-08-06', 1, '12700.00', '1350.00', '6350.00', '0.00', 1, 'b5124a45d772228328abc05a087f95c9', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '50.00', '6350.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 23, 0, NULL, 71, NULL, 23, 'INV-', 1, '2020-07-07 22:26:14', '2020-07-07', '2020-08-06', 1, '57.00', '6.30', '51.30', '0.00', 1, '08344042b9ae6fdeb97b373ae034835a', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '10.00', '5.70', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 24, 0, NULL, 96, NULL, 24, 'INV-', 1, '2020-07-07 22:27:50', '2020-07-07', '2020-08-06', 1, '127.00', '-15.52', '-73.00', '0.00', 1, '60e42f9bf9c75c22c9cef59d7ad94be5', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '200.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 43, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 25, 0, NULL, 107, NULL, 25, 'INV-', 1, '2020-07-08 01:45:18', '2020-07-08', '2020-07-15', 1, '25400.00', '4320.00', '20320.00', '0.00', 1, '7c97d4649c21834ca21646ed5d4ac073', 1, '', '', NULL, 0, 'a:0:{}', NULL, '20.00', '5080.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 88, '1214'),
(1, 26, 0, NULL, 107, NULL, 26, 'INV-', 1, '2020-07-08 01:45:18', '2020-07-08', '2020-07-15', 1, '25400.00', '4320.00', '20320.00', '0.00', 1, '9f16c4df10b15e96c54f607825d52cfc', 3, 'Test', '', NULL, 0, 'a:0:{}', NULL, '20.00', '5080.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 88, '1214'),
(1, 27, 1, NULL, 96, NULL, 27, 'INV-', 1, '2020-07-08 01:48:17', '2020-07-08', '2020-07-15', 1, '531.00', '79.38', '520.38', '0.00', 1, '76ae17797fd08893afd3adb86b30edca', 5, 'Test edit ', '', NULL, 0, 'a:0:{}', NULL, '2.00', '10.62', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, 78, '22132'),
(1, 29, 0, NULL, 94, NULL, 28, 'INV-', 1, '2020-07-08 18:06:08', '2020-07-08', '2020-08-07', 1, '365.00', '0.00', '365.00', '0.00', 0, '717c4ceefd4e5601d589319b60720713', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 0, '', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 30, 1, NULL, 107, NULL, 29, 'INV-', 1, '2020-07-08 22:47:35', '2020-07-08', '2020-08-07', 1, '983.80', '0.00', '885.42', '0.00', 1, 'efeb4b354b8b3896ca50c9773a53102b', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '10.00', '98.38', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'PS1', 'PMumbai', 'PMaha', 'P500080', 236, 88, ''),
(1, 31, 1, NULL, 69, NULL, 30, 'INV-', 1, '2020-07-09 17:08:44', '2020-07-09', '2020-08-08', 1, '11800.00', '1800.00', '11780.00', '0.00', 1, 'd9e5e2be498e7f070d1c23e95948cc4e', 3, 'Zvsgdhdh', 'Dgdhdh', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '20.00', '', 0, NULL, 0, 0, 0, NULL, NULL, 'Bdhdhdh', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'Dream Park', 'Mumbai', 'Maharashtra', '456723', 6, 68, '25$6$6'),
(1, 32, 0, NULL, 94, NULL, 31, 'INV-', 1, '2020-07-10 15:47:46', '2020-07-10', '2020-08-09', 1, '365.00', '0.00', '365.00', '0.00', 0, '90f40cf8be5abb2b602a283a2e98df34', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 0, '', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 33, 0, NULL, 96, NULL, 32, 'INV-', 1, '2020-07-10 17:01:15', '2020-07-10', '2020-08-09', 1, '447.80', '0.00', '403.02', '0.00', 1, 'b0d665f5fa15714f3cfdb93bd9983fec', 1, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '10.00', '44.78', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 34, 0, NULL, 71, NULL, 33, 'INV-', 1, '2020-07-10 18:45:08', '2020-07-10', '2020-08-09', 1, '2438.80', '0.00', '2194.92', '0.00', 1, '057f4c2bf3698c94effaec1da6ff2389', 2, '', '', NULL, 0, 'a:7:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:6:\"paypal\";}', NULL, '10.00', '243.88', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 35, 0, NULL, 94, NULL, 34, 'INV-', 1, '2020-07-10 21:15:40', '2020-07-10', '2020-07-17', 1, '47.20', '7.20', '47.20', '0.00', 1, 'a2d6f431b81240a46f65b39e76998643', 3, 'Hdhcch', 'Hcchchd', NULL, 0, 'a:0:{}', NULL, '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, 'Chch', 1, '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'znznzn', 'znznz', 'znznz', '89464', 6, 119, '57888'),
(1, 36, 0, NULL, 144, NULL, 2, 'INV-', 1, '2020-07-11 20:50:19', '2020-07-11', '2020-08-10', 26, '15240.00', '3237.87', '15230.00', '0.00', 73, '165e197826ee40e988b869bb9d26dd92', 1, '', '', NULL, 0, 'a:11:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:2:\"17\";i:7;s:2:\"20\";i:8;s:2:\"23\";i:9;s:2:\"26\";i:10;s:2:\"29\";}', NULL, '0.00', '10.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 37, 0, NULL, 141, NULL, 3, 'INV-', 1, '2020-07-11 21:01:15', '2020-07-11', '2020-08-10', 23, '11.80', '1.78', '11.68', '0.00', 72, 'e1e2f1a6e0f2e5579ad44096b8dced34', 1, '', '', NULL, 0, 'a:11:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:2:\"17\";i:7;s:2:\"20\";i:8;s:2:\"23\";i:9;s:2:\"26\";i:10;s:2:\"29\";}', NULL, '1.00', '0.12', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 72, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 38, 0, NULL, 144, NULL, 4, 'INV-', 1, '2020-07-11 21:21:17', '2020-07-11', '2020-08-10', 26, '2180.00', '179.01', '2168.00', '0.00', 73, '8daf7e9cbba4554696476759e7b5376e', 1, '', '', NULL, 0, 'a:11:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:2:\"17\";i:7;s:2:\"20\";i:8;s:2:\"23\";i:9;s:2:\"26\";i:10;s:2:\"29\";}', NULL, '0.00', '12.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1, 39, 0, NULL, 147, NULL, 5, 'INV-', 1, '2020-07-11 21:51:58', '2020-07-11', '2020-08-10', 26, '300.90', '45.90', '300.90', '0.00', 73, '8eff3b621316150acd5e51189ecbbcaa', 1, '', '', NULL, 0, 'a:11:{i:0;s:1:\"1\";i:1;s:1:\"3\";i:2;s:1:\"6\";i:3;s:1:\"9\";i:4;s:2:\"12\";i:5;s:2:\"15\";i:6;s:2:\"17\";i:7;s:2:\"20\";i:8;s:2:\"23\";i:9;s:2:\"26\";i:10;s:2:\"29\";}', NULL, '0.00', '0.00', '', 0, NULL, 0, 0, 0, NULL, NULL, '', 73, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(60, 40, 0, NULL, 139, NULL, 6, 'INV-', 1, '2020-07-12 21:04:02', '2020-07-12', '2020-07-19', 20, '680.00', '162.00', '612.00', '0.00', 71, '13dce1a86bcc2b2fba52efa5394b2035', 3, '', '', NULL, 0, 'a:0:{}', NULL, '10.00', '68.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 71, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, '198 Panjrapole Road', 'Mumbai', 'Maharashtra', '400004', 102, 122, ''),
(1, 41, 0, NULL, 94, NULL, 39, 'INV-', 1, '2020-07-13 20:16:44', '2020-07-13', '2020-07-20', 1, '635000.00', '108000.00', '508000.00', '0.00', 1, '0c4e8749e30aacdd4a1238e99da2ee6e', 1, '', 'Namaste namaste namaste namaste namaste is a great place to work for and I am very excited about this opportunity and I look forward to working with you and your family see all the happiness of the day family and friends with you and your family see all the happiness of the day family and friends with you and your family see all the happiness of the day family and friends with you and your family see all the happiness of the day family and t spare a moment and just register at the same time so according to the logic worker apply for many nakas for the same job but cannot be present at different nakas at the same time so according to the logic worker apply for many nakas for the same job but cannot be present at different nakas at the same time yyyyy the only way to get a job is to take a look at the same time so according to the logic worker apply for many nakas for the same job but cannot be present at different nakas at the same time so', NULL, 0, 'a:0:{}', NULL, '20.00', '127000.00', 'before_tax', 0, NULL, 0, 0, 0, NULL, NULL, '', 1, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, 0, 0, 'brbd', 'dbfgg', 'sdffff', '440032', 11, 138, '');

-- --------------------------------------------------------

--
-- Table structure for table `tblitemable`
--

CREATE TABLE `tblitemable` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(15) NOT NULL,
  `description` mediumtext NOT NULL,
  `long_description` mediumtext,
  `qty` decimal(15,2) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `unit` varchar(40) DEFAULT NULL,
  `item_order` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblitemable`
--

INSERT INTO `tblitemable` (`tenant_id`, `id`, `rel_id`, `rel_type`, `description`, `long_description`, `qty`, `rate`, `unit`, `item_order`) VALUES
(1, 1, 1, 'invoice', '[Expense] Testing Expense', '', '1.00', '20.00', '', 1),
(1, 2, 1, 'estimate', 'aa', 'aa', '1.00', '0.00', '', 1),
(1, 3, 2, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 4, 3, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 5, 4, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 6, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 7, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 8, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 9, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 10, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 11, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 12, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 13, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 14, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 15, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 16, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 17, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 18, 6, 'estimate', 'New', 'One', '1.00', '20.00', '', 1),
(1, 19, 6, 'estimate', 'new', 'Two', '1.00', '30.00', '', 2),
(1, 20, 7, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 1),
(1, 21, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 22, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 23, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 24, 5, 'estimate', 'AP Item 1', 'Test description', '1.00', '5.00', '', 1),
(1, 25, 5, 'estimate', 'Testing Line item', 'Testing Line item', '1.00', '20.00', '', 2),
(1, 26, 5, 'estimate', 'Test item 2', 'More desc', '1.00', '100.00', '', 3),
(1, 27, 8, 'estimate', 'test', 'test', '1.00', '20.00', NULL, 1),
(1, 28, 8, 'estimate', 'test 3', 'test 3', '1.00', '30.00', NULL, 2),
(1, 29, 9, 'estimate', 'Ketank10', 'Gssgdhd', '1.00', '15.00', NULL, 1),
(1, 30, 10, 'estimate', 'Ketank10', 'Gssgdhd', '2.00', '100.00', NULL, 1),
(1, 31, 11, 'estimate', 'test', 'test', '1.00', '20.00', NULL, 1),
(1, 33, 12, 'estimate', 'Ketank10', 'Gssgdhd', '1.00', '100.00', NULL, 1),
(1, 34, 12, 'estimate', 'New item', 'It the new item for estimate', '1.00', '200.00', NULL, 2),
(1, 35, 15, 'estimate', 'add product api', 'some description', '10.00', '500.00', NULL, 1),
(1, 36, 15, 'estimate', 'Ketanproduct', 'some description', '10.00', '30.00', NULL, 2),
(1, 37, 16, 'estimate', 'New item', 'It the new item for estimate', '1.00', '200.00', NULL, 3),
(1, 38, 16, 'estimate', 'Ketanproduct', 'some description', '10.00', '30.00', NULL, 2),
(1, 39, 17, 'estimate', 'add product api', '', '5.00', '500.00', NULL, 1),
(1, 40, 17, 'estimate', 'Ketanproduct', '', '8.00', '30.00', NULL, 2),
(1, 41, 18, 'estimate', 'add product api', '', '5.00', '500.00', NULL, 1),
(1, 42, 18, 'estimate', 'Ketanproduct', '', '8.00', '30.00', NULL, 2),
(1, 43, 19, 'estimate', 'add product api', '', '10.00', '500.00', NULL, 1),
(1, 44, 19, 'estimate', 'newly added', 'newly', '2.00', '30.00', NULL, 2),
(1, 45, 20, 'estimate', 'add product api', '', '10.00', '500.00', NULL, 1),
(1, 49, 22, 'estimate', 'add product api', '', '10.00', '500.00', NULL, 1),
(1, 50, 22, 'estimate', 'Ketanproduct', 'Product Description Test', '8.00', '30.00', NULL, 2),
(1, 51, 23, 'estimate', 'newly added', 'newly edited', '1.00', '20.00', NULL, 6),
(1, 52, 23, 'estimate', 'Add test product api ', '', '8.00', '200.00', NULL, 2),
(1, 53, 23, 'estimate', 'Ketanproduct', '', '8.00', '30.00', NULL, 3),
(1, 54, 23, 'estimate', 'Ajinkya', '', '100.00', '100.00', NULL, 4),
(1, 55, 24, 'estimate', 'add product api', 'No description available', '10.00', '500.00', NULL, 5),
(1, 56, 24, 'estimate', 'Add test product api ', '', '8.00', '200.00', NULL, 2),
(1, 57, 24, 'estimate', 'Ketanproduct', '', '8.00', '30.00', NULL, 3),
(1, 58, 24, 'estimate', 'Ajinkya', '', '100.00', '100.00', NULL, 4),
(1, 59, 25, 'estimate', 'add product api', 'No description available', '1.00', '500.00', NULL, 3),
(1, 60, 25, 'estimate', 'Ketanproduct', 'Product added by Ketan', '50.00', '30.00', NULL, 2),
(1, 61, 26, 'estimate', 'AAAAAA', '11', '1.00', '5000.00', NULL, 2),
(1, 64, 28, 'estimate', 'test', 'test', '5.00', '21.00', NULL, 2),
(1, 66, 29, 'estimate', 'test', 'test', '4.00', '20.00', NULL, 5),
(1, 67, 29, 'estimate', 'test 3', 'test 3', '1.00', '30.00', NULL, 6),
(1, 70, 29, 'estimate', 'newly added', 'newly edited', '1.00', '20.00', NULL, 2),
(1, 71, 14, 'estimate', 'newly added', 'newly edited', '1.00', '20.00', NULL, 1),
(1, 72, 29, 'estimate', 'newly added', 'newly', '1.00', '30.00', NULL, 3),
(1, 76, 29, 'estimate', 'newly added', 'newly edited', '1.00', '20.00', NULL, 4),
(1, 77, 22, 'estimate', 'Ajinkya', 'Test add item ', '5.00', '100.00', NULL, 3),
(1, 80, 30, 'estimate', 'Ketank10', 'Gssgdhd', '4.00', '15.00', NULL, 2),
(1, 81, 31, 'estimate', 'test', 'test', '1.00', '20.00', NULL, 1),
(1, 82, 31, 'estimate', 'test 3', 'test 3', '1.00', '30.00', NULL, 2),
(1, 83, 32, 'estimate', 'test', 'test', '1.00', '20.00', NULL, 1),
(1, 84, 32, 'estimate', 'test 3', 'test 3', '1.00', '30.00', NULL, 2),
(1, 85, 33, 'estimate', 'test', 'test', '1.00', '20.00', NULL, 1),
(1, 86, 33, 'estimate', 'test 3', 'test 3', '1.00', '30.00', NULL, 2),
(1, 87, 34, 'estimate', 'Ajinkya', '', '5.00', '100.00', NULL, 1),
(1, 89, 36, 'estimate', 'Aaaaaaaaaaa', '', '1.00', '5000.00', NULL, 1),
(1, 103, 35, 'estimate', 'Testing Line item 1', 'Testing Line item', '1.00', '20.00', NULL, 1),
(1, 105, 39, 'estimate', 'Ajinkya', '', '5.00', '100.00', NULL, 1),
(1, 106, 40, 'estimate', 'Aaaaaaaaaaa', '', '1.00', '5000.00', NULL, 1),
(1, 108, 41, 'estimate', 'Ajinkya', '', '8.00', '100.00', NULL, 1),
(1, 109, 41, 'estimate', 'Ketanproduct', '', '50.00', '30.00', NULL, 2),
(1, 110, 41, 'estimate', 'Add test product api ', 'Add product', '1.00', '200.00', NULL, 3),
(1, 111, 41, 'estimate', 'add product service modify', 'Modify service', '6.00', '40.00', NULL, 4),
(1, 112, 42, 'estimate', 'AAAAAA', '', '1.00', '5000.00', NULL, 1),
(1, 113, 42, 'estimate', 'Ajinkya', '', '8.00', '100.00', NULL, 2),
(1, 115, 42, 'estimate', 'add product service modify', '', '5.00', '40.00', NULL, 4),
(1, 116, 43, 'estimate', 'Aaaaaaaaaaa', '', '1.00', '5000.00', NULL, 1),
(1, 117, 43, 'estimate', 'Ketanproduct', '', '5.00', '30.00', NULL, 2),
(1, 120, 44, 'estimate', 'Ajinkya1', 'test', '1.00', '100.00', NULL, 2),
(1, 122, 41, 'estimate', 'Aaaaaaaaaaa', '', '1.00', '5000.00', NULL, 5),
(1, 123, 2, 'invoice', 'aa', 'aa', '1.00', '500.00', NULL, 1),
(1, 124, 3, 'invoice', 'newly added', 'newly', '5.00', '30.00', NULL, 2),
(1, 125, 4, 'invoice', 'test', 'test', '5.00', '100.00', NULL, 1),
(1, 126, 4, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 2),
(1, 127, 5, 'invoice', 'test', 'test', '5.00', '100.00', NULL, 1),
(1, 128, 5, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 2),
(1, 129, 6, 'invoice', 'test', 'test', '5.00', '100.00', NULL, 1),
(1, 130, 6, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 2),
(1, 131, 7, 'invoice', 'test', 'test', '5.00', '100.00', NULL, 1),
(1, 132, 7, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 2),
(1, 133, 8, 'invoice', 'Ajinkya', '', '8.00', '100.00', NULL, 1),
(1, 134, 8, 'invoice', 'Aaaaaaaaaaa', 'Added for invoice test', '1.00', '5000.00', NULL, 2),
(1, 135, 9, 'invoice', 'Ketanproduct', '', '8.00', '30.00', NULL, 1),
(1, 136, 9, 'invoice', 'Ajinkya', '', '15.00', '100.00', NULL, 2),
(1, 137, 10, 'invoice', 'Ketanproduct', '', '100.00', '30.00', NULL, 1),
(1, 139, 11, 'invoice', 'test', 'test', '5.00', '100.00', NULL, 3),
(1, 140, 11, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 1),
(1, 141, 12, 'invoice', 'AP Item 1', 'Test description', '1.00', '100.00', NULL, 1),
(1, 142, 58, 'estimate', 'add product service modify', 'test service hhhhh', '1.00', '40.00', NULL, 1),
(1, 143, 13, 'invoice', 'Ketank10', 'Gssgdhd', '1.00', '30000.00', NULL, 1),
(1, 144, 14, 'invoice', 'Ajinkya', 'Dhdhdhd', '2.00', '100.00', NULL, 1),
(1, 145, 61, 'estimate', 'add product service modify', 'test service hhhhh', '2.00', '40.00', NULL, 1),
(1, 147, 64, 'estimate', 'Aaaaaaaaaaa', '', '1.00', '5000.00', NULL, 1),
(1, 150, 64, 'estimate', 'Ketank10', 'No description available', '5.00', '15.00', NULL, 3),
(1, 153, 15, 'invoice', 'Ketanproduct', 'No description available', '20.00', '30.00', NULL, 1),
(1, 155, 15, 'invoice', 'newly edited', 'newly', '3.00', '30.00', NULL, 2),
(1, 156, 16, 'invoice', 'test', 'test', '3.00', '100.00', NULL, 3),
(1, 157, 16, 'invoice', 'AAAAAA', 'test 3', '1.00', '5000.00', NULL, 1),
(1, 158, 17, 'invoice', 'test', 'test', '10.00', '100.00', NULL, 2),
(1, 160, 15, 'invoice', 'Add test product api ', 'No description available', '6.00', '200.00', NULL, 4),
(1, 161, 71, 'estimate', 'add product service modify', 'test service hhhhh', '1.00', '40.00', NULL, 1),
(1, 162, 74, 'estimate', 'Item 1', 'Item 1 Description', '19.00', '50.00', NULL, 2),
(1, 163, 75, 'estimate', 'Keyboard', 'Keyboard iMac', '1.00', '500.00', NULL, 1),
(1, 164, 75, 'estimate', 'PC', 'iMac', '1.00', '400.00', NULL, 2),
(1, 165, 18, 'invoice', 'Keyboard', 'Keyboard iMac', '1.00', '500.00', NULL, 1),
(1, 166, 18, 'invoice', 'PC', 'iMac', '1.00', '400.00', NULL, 2),
(1, 167, 76, 'estimate', 'Aaaaaaaaaaa', '', '2.00', '5000.00', NULL, 1),
(1, 168, 77, 'estimate', 'Ketank10', '', '50.00', '15.00', NULL, 1),
(1, 169, 20, 'invoice', 'Ketanproduct', '', '4.00', '30.00', NULL, 1),
(1, 170, 21, 'invoice', 'Ketank10', '', '50.00', '15.00', NULL, 1),
(1, 171, 22, 'invoice', 'Aaaaaaaaaaa', '', '2.00', '5000.00', NULL, 1),
(1, 172, 23, 'invoice', 'Item 1', 'Item 1 Description', '1.00', '50.00', NULL, 1),
(1, 173, 24, 'invoice', 'Ajinkya1', 'test', '1.00', '100.00', NULL, 2),
(1, 174, 25, 'invoice', 'Aaaaaaaaaaa', '', '4.00', '5000.00', NULL, 1),
(1, 175, 26, 'invoice', 'Aaaaaaaaaaa', '', '4.00', '5000.00', NULL, 1),
(1, 176, 27, 'invoice', 'Ketanproduct', '', '15.00', '30.00', NULL, 1),
(1, 179, 29, 'invoice', '[Expense] Kitchen', '', '1.00', '365.00', '', 1),
(1, 181, 82, 'estimate', 'Aaaaaaaaaaa', 'Brvrvvr', '1.00', '5000.00', NULL, 2),
(1, 182, 31, 'invoice', 'Aaaaaaaaaaa', 'Dfg', '2.00', '5000.00', NULL, 2),
(1, 185, 85, 'estimate', 'Add test product api ', '', '100.00', '200.00', NULL, 1),
(1, 186, 86, 'estimate', 'Add test product api', 'Crcrcr', '1.00', '200.00', NULL, 1),
(1, 188, 32, 'invoice', '[Expense] Kitchen', '', '1.00', '365.00', '', 1),
(1, 189, 33, 'invoice', 'Add test product api ', '', '100.00', '200.00', NULL, 1),
(1, 190, 35, 'invoice', 'add product service modify', 'test service hhhhh', '1.00', '40.00', NULL, 1),
(1, 191, 90, 'estimate', 'PC pu', 'PC', '1.00', '500.00', NULL, 3),
(1, 192, 90, 'estimate', 'Repairing PC', 'Repairing PC', '1.00', '500.00', NULL, 2),
(1, 194, 91, 'estimate', 'POP', '', '1.00', '10.00', NULL, 1),
(1, 195, 92, 'estimate', 'girish test product', 'The call is not going in to be the best time to get back in the office and call me again  morning I know that I have to call have to call and call me again and call tomorrow and send me again I am in tomorrowyou tomorrow as soon you have any availability tomorrow we will ', '12.00', '1000.00', NULL, 1),
(1, 196, 36, 'invoice', 'girish test product', 'The call is not going in to be the best time to get back in the office and call me again  morning I know that I have to call have to call and call me again and call tomorrow and send me again I am in tomorrowyou tomorrow as soon you have any availability tomorrow we will', '12.00', '1000.00', NULL, 1),
(1, 197, 37, 'invoice', 'POP', '', '1.00', '10.00', NULL, 1),
(1, 198, 93, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 199, 94, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 200, 95, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 201, 96, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 202, 97, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 203, 98, 'estimate', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 204, 38, 'invoice', 'girish test product', '', '2.00', '1000.00', NULL, 1),
(1, 206, 91, 'estimate', 'Paint', 'For walls', '1.00', '40.00', NULL, 3),
(1, 207, 99, 'estimate', 'tech', '', '1.00', '255.00', NULL, 1),
(1, 208, 39, 'invoice', 'tech', '', '1.00', '255.00', NULL, 1),
(1, 209, 40, 'invoice', 'PC', 'PC', '1.00', '500.00', NULL, 2),
(1, 210, 86, 'estimate', 'Ketank10', 'Gssgdhd it\'s not like that only I will be available for the update soon and thanks for the day as well as the other day I was In the coming year and beyond the usual time I was In need', '1.00', '5.00', NULL, 3),
(1, 211, 41, 'invoice', 'AP Item 1', 'Test description', '1.00', '500000.00', NULL, 1),
(1, 212, 103, 'estimate', 'add product service modify', 'test service hhhhh', '1.00', '5000000.00', NULL, 1);

-- --------------------------------------------------------

--
-- Table structure for table `tblitems`
--

CREATE TABLE `tblitems` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `description` mediumtext NOT NULL,
  `long_description` text,
  `rate` decimal(15,2) NOT NULL,
  `tax` bigint(20) UNSIGNED DEFAULT NULL,
  `tax2` bigint(20) UNSIGNED DEFAULT NULL,
  `unit` varchar(40) DEFAULT NULL,
  `group_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblitems`
--

INSERT INTO `tblitems` (`tenant_id`, `id`, `description`, `long_description`, `rate`, `tax`, `tax2`, `unit`, `group_id`) VALUES
(1, 1, 'Testing Line item 1', 'Testing Line item', '20.00', NULL, NULL, '', 2),
(1, 2, 'Testing Line Item 2', 'Description', '20.00', NULL, NULL, NULL, 2),
(1, 3, 'Testing Line Item 3', 'Description', '20.00', NULL, NULL, NULL, 2),
(1, 4, 'AP Item 1', 'Test description', '5.00', NULL, NULL, NULL, 1),
(1, 5, 'AP Item 2', 'Test description', '5.00', NULL, NULL, NULL, 0),
(1, 6, 'AP Item 3', 'Test description', '5.00', NULL, NULL, NULL, 0),
(1, 7, 'Testing Line Item 12', '', '25.00', NULL, NULL, NULL, 0),
(1, 8, 'Ketanproduct', 'Temp product', '30.00', NULL, NULL, NULL, 0),
(1, 9, 'Ketank10', 'Gssgdhd', '15.00', NULL, NULL, NULL, 0),
(1, 12, 'Ajinkya', 'Dhdhdhd', '100.00', NULL, NULL, NULL, 0),
(1, 13, 'Add test product api ', 'test api product', '200.00', NULL, NULL, NULL, 2),
(1, 14, 'add product service modify', 'test service hhhhh', '40.00', NULL, NULL, NULL, 2),
(1, 16, 'New item', 'It the new item for estimate', '200.00', NULL, NULL, NULL, 0),
(1, 19, 'Aaaaaaaaaaa', 'demo discription', '5000.00', NULL, NULL, NULL, 2),
(1, 20, 'AAAAAA', 'Disclaimer the information contained in', '5000.00', NULL, NULL, NULL, 1),
(1, 21, 'roshan', 'roshan', '50.00', NULL, NULL, NULL, 2),
(41, 22, 'Product1', 'Description for product', '200.00', NULL, NULL, NULL, 0),
(60, 23, 'PC i3', 'PC i3 processor', '700.00', NULL, NULL, NULL, 9),
(60, 24, 'Laptop repairing', 'Laptop repairing', '1000.00', NULL, NULL, NULL, 8),
(61, 25, 'POP', 'Plaster of Paris', '10.00', NULL, NULL, NULL, 12),
(62, 26, 'tgjj', 'trghjl', '1234.00', NULL, NULL, NULL, 15),
(62, 27, 'girish test product', 'test the test and then test it out and test test testing test and testing it done ', '1000.00', NULL, NULL, NULL, 14),
(61, 28, 'Paint', 'Nerollac', '40.00', NULL, NULL, NULL, 12),
(62, 29, 'tech', 'rtfgb', '255.00', NULL, NULL, NULL, 15),
(60, 30, 'Mouse', 'Microsoft mousw', '500.00', NULL, NULL, NULL, 9);

-- --------------------------------------------------------

--
-- Table structure for table `tblitems_groups`
--

CREATE TABLE `tblitems_groups` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblitems_groups`
--

INSERT INTO `tblitems_groups` (`tenant_id`, `id`, `name`) VALUES
(1, 1, 'Services'),
(1, 2, 'Products'),
(57, 3, 'Services'),
(57, 4, 'Products'),
(59, 5, 'Services'),
(59, 6, 'Products'),
(60, 8, 'Services'),
(60, 9, 'Products'),
(61, 11, 'Services'),
(61, 12, 'Products'),
(62, 14, 'Services'),
(62, 15, 'Products'),
(63, 17, 'Services'),
(63, 18, 'Products');

-- --------------------------------------------------------

--
-- Table structure for table `tblitems_groups_static`
--

CREATE TABLE `tblitems_groups_static` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblitems_groups_static`
--

INSERT INTO `tblitems_groups_static` (`id`, `name`) VALUES
(1, 'Services'),
(2, 'Products');

-- --------------------------------------------------------

--
-- Table structure for table `tblitem_tax`
--

CREATE TABLE `tblitem_tax` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `itemid` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `taxrate` decimal(15,2) NOT NULL,
  `taxname` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblitem_tax`
--

INSERT INTO `tblitem_tax` (`tenant_id`, `id`, `itemid`, `rel_id`, `rel_type`, `taxrate`, `taxname`) VALUES
(1, 1, 7, 5, 'estimate', '1.00', 'a'),
(1, 2, 7, 5, 'estimate', '30.00', '30%'),
(1, 3, 8, 5, 'estimate', '30.00', '30%'),
(1, 4, 10, 5, 'estimate', '1.00', 'a'),
(1, 5, 10, 5, 'estimate', '30.00', '30%'),
(1, 6, 11, 5, 'estimate', '30.00', '30%'),
(1, 7, 13, 5, 'estimate', '1.00', 'a'),
(1, 8, 13, 5, 'estimate', '30.00', '30%'),
(1, 9, 14, 5, 'estimate', '30.00', '30%'),
(1, 10, 16, 5, 'estimate', '1.00', 'a'),
(1, 11, 16, 5, 'estimate', '30.00', '30%'),
(1, 12, 17, 5, 'estimate', '30.00', '30%'),
(1, 13, 18, 6, 'estimate', '2.00', 'b'),
(1, 14, 18, 6, 'estimate', '3.00', 'c'),
(1, 15, 19, 6, 'estimate', '2.00', 'b'),
(1, 16, 19, 6, 'estimate', '3.00', 'c'),
(1, 17, 20, 7, 'estimate', '9.00', 'CGST'),
(1, 18, 20, 7, 'estimate', '9.00', 'SGST'),
(1, 20, 20, 7, 'estimate', '30.00', '30%'),
(1, 21, 22, 5, 'estimate', '1.00', 'a'),
(1, 22, 22, 5, 'estimate', '30.00', '30%'),
(1, 23, 23, 5, 'estimate', '30.00', '30%'),
(1, 24, 25, 5, 'estimate', '1.00', 'a'),
(1, 25, 25, 5, 'estimate', '30.00', '30%'),
(1, 26, 26, 5, 'estimate', '30.00', '30%'),
(1, 27, 27, 8, 'estimate', '5.00', 'somename'),
(1, 28, 28, 8, 'estimate', '5.00', 'somename'),
(1, 29, 30, 10, 'estimate', '18.00', 'IGST'),
(1, 30, 30, 10, 'estimate', '9.00', 'SGST'),
(1, 31, 31, 11, 'estimate', '5.00', 'somename'),
(1, 33, 33, 12, 'estimate', '18.00', 'IGST'),
(1, 34, 33, 12, 'estimate', '9.00', 'SGST'),
(1, 35, 34, 12, 'estimate', '18.00', 'IGST'),
(1, 36, 34, 12, 'estimate', '9.00', 'CGST'),
(1, 37, 35, 15, 'estimate', '18.00', 'IGST'),
(1, 38, 35, 15, 'estimate', '9.00', 'SGST'),
(1, 39, 35, 15, 'estimate', '9.00', 'CGST'),
(1, 40, 36, 15, 'estimate', '18.00', 'IGST'),
(1, 41, 36, 15, 'estimate', '9.00', 'SGST'),
(1, 42, 36, 15, 'estimate', '9.00', 'CGST'),
(1, 46, 38, 16, 'estimate', '18.00', 'IGST'),
(1, 47, 38, 16, 'estimate', '9.00', 'SGST'),
(1, 48, 38, 16, 'estimate', '9.00', 'CGST'),
(1, 49, 39, 17, 'estimate', '18.00', 'IGST'),
(1, 50, 39, 17, 'estimate', '9.00', 'CGST'),
(1, 51, 40, 17, 'estimate', '18.00', 'IGST'),
(1, 52, 40, 17, 'estimate', '9.00', 'CGST'),
(1, 53, 41, 18, 'estimate', '18.00', 'IGST'),
(1, 54, 41, 18, 'estimate', '9.00', 'CGST'),
(1, 55, 42, 18, 'estimate', '18.00', 'IGST'),
(1, 56, 42, 18, 'estimate', '9.00', 'CGST'),
(1, 57, 43, 19, 'estimate', '18.00', 'IGST'),
(1, 58, 43, 19, 'estimate', '9.00', 'CGST'),
(1, 59, 44, 19, 'estimate', '18.00', 'IGST'),
(1, 60, 44, 19, 'estimate', '9.00', 'CGST'),
(1, 61, 45, 20, 'estimate', '18.00', 'IGST'),
(1, 62, 45, 20, 'estimate', '9.00', 'CGST'),
(1, 69, 49, 22, 'estimate', '18.00', 'IGST'),
(1, 70, 49, 22, 'estimate', '9.00', 'CGST'),
(1, 71, 50, 22, 'estimate', '18.00', 'IGST'),
(1, 72, 50, 22, 'estimate', '9.00', 'CGST'),
(1, 74, 52, 23, 'estimate', '18.00', 'IGST'),
(1, 75, 52, 23, 'estimate', '9.00', 'SGST'),
(1, 76, 53, 23, 'estimate', '18.00', 'IGST'),
(1, 77, 53, 23, 'estimate', '9.00', 'SGST'),
(1, 78, 54, 23, 'estimate', '18.00', 'IGST'),
(1, 79, 54, 23, 'estimate', '9.00', 'SGST'),
(1, 80, 54, 23, 'estimate', '9.00', 'CGST'),
(1, 82, 56, 24, 'estimate', '18.00', 'IGST'),
(1, 83, 56, 24, 'estimate', '9.00', 'SGST'),
(1, 84, 57, 24, 'estimate', '18.00', 'IGST'),
(1, 85, 57, 24, 'estimate', '9.00', 'SGST'),
(1, 86, 58, 24, 'estimate', '18.00', 'IGST'),
(1, 87, 58, 24, 'estimate', '9.00', 'SGST'),
(1, 88, 58, 24, 'estimate', '9.00', 'CGST'),
(1, 91, 60, 25, 'estimate', '18.00', 'IGST'),
(1, 92, 60, 25, 'estimate', '9.00', 'SGST'),
(1, 93, 60, 25, 'estimate', '9.00', 'CGST'),
(1, 102, 68, 29, 'estimate', '5.00', 'somename'),
(1, 104, 69, 29, 'estimate', '5.00', 'somename'),
(1, 105, 70, 29, 'estimate', '5.00', 'somename'),
(1, 106, 71, 14, 'estimate', '5.00', 'somename'),
(1, 109, 76, 29, 'estimate', '5.00', 'somename'),
(1, 110, 51, 29, 'estimate', '5.00', 'somename'),
(1, 111, 55, 24, 'estimate', '18.00', 'IGST'),
(1, 112, 55, 24, 'estimate', '9.00', 'SGST'),
(1, 113, 59, 25, 'estimate', '18.00', 'IGST'),
(1, 114, 59, 25, 'estimate', '9.00', 'SGST'),
(1, 120, 61, 26, 'estimate', '5.10', 'Other tax 1'),
(1, 121, 61, 26, 'estimate', '9.00', 'SGST'),
(1, 127, 77, 22, 'estimate', '18.00', 'IGST'),
(1, 128, 77, 22, 'estimate', '9.00', 'SGST'),
(1, 159, 66, 29, 'estimate', '5.00', 'somename'),
(1, 160, 67, 29, 'estimate', '5.00', 'somename'),
(1, 161, 67, 29, 'estimate', '18.00', 'IGST'),
(1, 162, 64, 28, 'estimate', '5.00', 'somename'),
(1, 163, 64, 28, 'estimate', '9.00', 'SGST'),
(1, 169, 80, 30, 'estimate', '18.00', 'IGST'),
(1, 170, 81, 31, 'estimate', '5.00', 'somename'),
(1, 171, 82, 31, 'estimate', '5.00', 'somename'),
(1, 172, 83, 32, 'estimate', '5.00', 'somename'),
(1, 173, 84, 32, 'estimate', '5.00', 'somename'),
(1, 174, 85, 33, 'estimate', '5.00', 'somename'),
(1, 175, 86, 33, 'estimate', '5.00', 'somename'),
(1, 176, 87, 34, 'estimate', '18.00', 'IGST'),
(1, 177, 87, 34, 'estimate', '9.00', 'SGST'),
(1, 180, 89, 36, 'estimate', '18.00', 'IGST'),
(1, 181, 89, 36, 'estimate', '9.00', 'SGST'),
(1, 182, 89, 36, 'estimate', '9.00', 'CGST'),
(1, 203, 105, 39, 'estimate', '9.00', 'CGST'),
(1, 204, 105, 39, 'estimate', '18.00', 'IGST'),
(1, 205, 106, 40, 'estimate', '9.00', 'SGST'),
(1, 206, 106, 40, 'estimate', '18.00', 'IGST'),
(1, 209, 108, 41, 'estimate', '9.00', 'CGST'),
(1, 210, 108, 41, 'estimate', '9.00', 'SGST'),
(1, 211, 109, 41, 'estimate', '18.00', 'IGST'),
(1, 212, 110, 41, 'estimate', '9.00', 'CGST'),
(1, 213, 110, 41, 'estimate', '18.00', 'IGST'),
(1, 214, 111, 41, 'estimate', '9.00', 'SGST'),
(1, 215, 112, 42, 'estimate', '18.00', 'IGST'),
(1, 216, 112, 42, 'estimate', '9.00', 'SGST'),
(1, 217, 113, 42, 'estimate', '9.00', 'CGST'),
(1, 218, 113, 42, 'estimate', '18.00', 'IGST'),
(1, 222, 115, 42, 'estimate', '9.00', 'SGST'),
(1, 223, 115, 42, 'estimate', '9.00', 'CGST'),
(1, 224, 116, 43, 'estimate', '18.00', 'IGST'),
(1, 225, 116, 43, 'estimate', '9.00', 'CGST'),
(1, 226, 117, 43, 'estimate', '9.00', 'SGST'),
(1, 227, 117, 43, 'estimate', '9.00', 'CGST'),
(1, 234, 122, 41, 'estimate', '18.00', 'IGST'),
(1, 235, 123, 2, 'invoice', '5.00', 'somename 3'),
(1, 236, 123, 2, 'invoice', '5.00', 'Other tax'),
(1, 239, 125, 4, 'invoice', '18.00', 'IGST'),
(1, 240, 125, 4, 'invoice', '9.00', 'SGST'),
(1, 241, 126, 4, 'invoice', '18.00', 'IGST'),
(1, 242, 126, 4, 'invoice', '9.00', 'SGST'),
(1, 243, 127, 5, 'invoice', '18.00', 'IGST'),
(1, 244, 127, 5, 'invoice', '9.00', 'SGST'),
(1, 245, 128, 5, 'invoice', '18.00', 'IGST'),
(1, 246, 128, 5, 'invoice', '9.00', 'SGST'),
(1, 247, 129, 6, 'invoice', '18.00', 'IGST'),
(1, 248, 129, 6, 'invoice', '9.00', 'SGST'),
(1, 249, 130, 6, 'invoice', '18.00', 'IGST'),
(1, 250, 130, 6, 'invoice', '9.00', 'SGST'),
(1, 251, 131, 7, 'invoice', '18.00', 'IGST'),
(1, 252, 131, 7, 'invoice', '9.00', 'SGST'),
(1, 253, 132, 7, 'invoice', '18.00', 'IGST'),
(1, 254, 132, 7, 'invoice', '9.00', 'SGST'),
(1, 255, 133, 8, 'invoice', '9.00', 'CGST'),
(1, 256, 133, 8, 'invoice', '9.00', 'SGST'),
(1, 257, 133, 8, 'invoice', '18.00', 'IGST'),
(1, 258, 134, 8, 'invoice', '9.00', 'SGST'),
(1, 259, 135, 9, 'invoice', '18.00', 'IGST'),
(1, 260, 135, 9, 'invoice', '9.00', 'SGST'),
(1, 261, 136, 9, 'invoice', '18.00', 'IGST'),
(1, 262, 137, 10, 'invoice', '18.00', 'IGST'),
(1, 263, 137, 10, 'invoice', '9.00', 'SGST'),
(1, 264, 137, 10, 'invoice', '9.00', 'CGST'),
(1, 267, 9, 50, 'detail_estimate', '18.00', 'IGST'),
(1, 268, 9, 50, 'detail_estimate', '9.00', 'SGST'),
(1, 269, 10, 50, 'detail_estimate', '18.00', 'IGST'),
(1, 270, 11, 51, 'detail_estimate', '18.00', 'IGST'),
(1, 271, 11, 51, 'detail_estimate', '9.00', 'SGST'),
(1, 272, 12, 51, 'detail_estimate', '18.00', 'IGST'),
(1, 281, 141, 12, 'invoice', '18.00', 'IGST'),
(1, 283, 142, 58, 'estimate', '18.00', 'IGST'),
(1, 284, 143, 13, 'invoice', '18.00', 'IGST'),
(1, 285, 18, 59, 'detail_estimate', '18.00', 'IGST'),
(1, 286, 18, 59, 'detail_estimate', '9.00', 'SGST'),
(1, 287, 19, 59, 'detail_estimate', '18.00', 'IGST'),
(1, 288, 144, 14, 'invoice', '18.00', 'IGST'),
(1, 289, 20, 60, 'detail_estimate', '18.00', 'IGST'),
(1, 290, 20, 60, 'detail_estimate', '9.00', 'SGST'),
(1, 291, 21, 60, 'detail_estimate', '18.00', 'IGST'),
(1, 292, 145, 61, 'estimate', '18.00', 'IGST'),
(1, 293, 22, 62, 'detail_estimate', '18.00', 'IGST'),
(1, 294, 22, 62, 'detail_estimate', '9.00', 'SGST'),
(1, 295, 23, 62, 'detail_estimate', '18.00', 'IGST'),
(1, 296, 24, 63, 'detail_estimate', '18.00', 'IGST'),
(1, 297, 24, 63, 'detail_estimate', '9.00', 'SGST'),
(1, 298, 25, 63, 'detail_estimate', '18.00', 'IGST'),
(1, 300, 147, 64, 'estimate', '9.00', 'CGST'),
(1, 301, 147, 64, 'estimate', '9.00', 'SGST'),
(1, 307, 28, 67, 'detail_estimate', '9.00', 'CGST'),
(1, 336, 140, 11, 'invoice', '18.00', 'IGST'),
(1, 337, 140, 11, 'invoice', '9.00', 'SGST'),
(1, 340, 139, 11, 'invoice', '18.00', 'IGST'),
(1, 341, 139, 11, 'invoice', '9.00', 'SGST'),
(1, 349, 153, 15, 'invoice', '9.00', 'CGST'),
(1, 350, 153, 15, 'invoice', '18.00', 'IGST'),
(1, 352, 155, 15, 'invoice', '9.00', 'CGST'),
(1, 353, 150, 64, 'estimate', '9.00', 'CGST'),
(1, 356, 157, 16, 'invoice', '18.00', 'IGST'),
(1, 357, 157, 16, 'invoice', '9.00', 'SGST'),
(1, 364, 156, 16, 'invoice', '18.00', 'IGST'),
(1, 365, 156, 16, 'invoice', '9.00', 'SGST'),
(1, 370, 158, 17, 'invoice', '18.00', 'IGST'),
(1, 371, 158, 17, 'invoice', '9.00', 'SGST'),
(1, 374, 160, 15, 'invoice', '9.00', 'CGST'),
(1, 375, 160, 15, 'invoice', '18.00', 'IGST'),
(1, 376, 29, 68, 'detail_estimate', '9.00', 'CGST'),
(1, 377, 30, 69, 'detail_estimate', '9.00', 'CGST'),
(1, 378, 31, 69, 'detail_estimate', '9.00', 'CGST'),
(1, 379, 32, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 380, 36, 73, 'detail_estimate', '9.00', 'CGST'),
(1, 381, 37, 70, 'detail_estimate', '9.00', 'CGST'),
(1, 382, 38, 70, 'detail_estimate', '9.00', 'CGST'),
(1, 383, 120, 44, 'estimate', '18.00', 'IGST'),
(1, 384, 120, 44, 'estimate', '9.00', 'CGST'),
(1, 385, 39, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 386, 39, 51, 'detail_estimate', '18.00', 'IGST'),
(1, 387, 40, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 388, 41, 51, 'detail_estimate', '9.00', 'SGST'),
(1, 389, 42, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 390, 43, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 391, 44, 51, 'detail_estimate', '9.00', 'CGST'),
(1, 392, 45, 51, 'detail_estimate', '9.00', 'SGST'),
(1, 393, 46, 51, 'detail_estimate', '9.00', 'SGST'),
(1, 394, 47, 72, 'detail_estimate', '9.00', 'CGST'),
(1, 398, 163, 75, 'estimate', '18.00', 'CGST'),
(1, 399, 165, 18, 'invoice', '18.00', 'CGST'),
(1, 400, 167, 76, 'estimate', '9.00', 'SGST'),
(1, 401, 167, 76, 'estimate', '18.00', 'IGST'),
(1, 402, 168, 77, 'estimate', '18.00', 'IGST'),
(1, 403, 169, 20, 'invoice', '9.00', 'SGST'),
(1, 404, 169, 20, 'invoice', '9.00', 'CGST'),
(1, 405, 170, 21, 'invoice', '18.00', 'IGST'),
(1, 406, 171, 22, 'invoice', '9.00', 'SGST'),
(1, 407, 171, 22, 'invoice', '18.00', 'IGST'),
(1, 408, 172, 23, 'invoice', '5.00', 'Other tax'),
(1, 409, 172, 23, 'invoice', '9.00', 'CGST'),
(1, 410, 173, 24, 'invoice', '18.00', 'IGST'),
(1, 411, 173, 24, 'invoice', '9.00', 'CGST'),
(1, 412, 174, 25, 'invoice', '9.00', 'SGST'),
(1, 413, 174, 25, 'invoice', '18.00', 'IGST'),
(1, 414, 175, 26, 'invoice', '9.00', 'SGST'),
(1, 415, 175, 26, 'invoice', '18.00', 'IGST'),
(1, 416, 176, 27, 'invoice', '18.00', 'IGST'),
(1, 422, 52, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 423, 53, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 425, 54, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 426, 55, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 427, 56, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 428, 57, 82, 'detail_estimate', '18.00', 'IGST'),
(1, 429, 58, 82, 'detail_estimate', '9.00', 'CGST'),
(1, 430, 59, 82, 'detail_estimate', '18.00', 'IGST'),
(1, 431, 60, 82, 'detail_estimate', '18.00', 'IGST'),
(1, 434, 61, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 435, 62, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 436, 63, 86, 'detail_estimate', '9.00', 'SGST'),
(1, 437, 64, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 438, 65, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 439, 66, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 440, 67, 86, 'detail_estimate', '18.00', 'IGST'),
(1, 441, 162, 74, 'estimate', '5.00', 'Other tax'),
(1, 442, 162, 74, 'estimate', '9.00', 'CGST'),
(1, 443, 68, 63, 'detail_estimate', '9.00', 'SGST'),
(1, 444, 68, 63, 'detail_estimate', '18.00', 'IGST'),
(1, 448, 190, 35, 'invoice', '18.00', 'IGST'),
(1, 449, 182, 31, 'invoice', '18.00', 'IGST'),
(1, 450, 70, 89, 'detail_estimate', '18.00', 'IGST'),
(1, 453, 192, 90, 'estimate', '18.00', 'IGST'),
(1, 455, 191, 90, 'estimate', '9.00', 'CGST'),
(1, 456, 191, 90, 'estimate', '9.00', 'SGST'),
(1, 457, 194, 91, 'estimate', '18.00', 'IGST'),
(1, 458, 195, 92, 'estimate', '18.00', 'IGST'),
(1, 459, 195, 92, 'estimate', '9.00', 'CGST'),
(1, 460, 196, 36, 'invoice', '18.00', 'IGST'),
(1, 461, 196, 36, 'invoice', '9.00', 'CGST'),
(1, 462, 197, 37, 'invoice', '18.00', 'IGST'),
(1, 463, 203, 98, 'estimate', '9.00', 'CGST'),
(1, 464, 204, 38, 'invoice', '9.00', 'CGST'),
(1, 467, 206, 91, 'estimate', '9.00', 'CGST'),
(1, 468, 207, 99, 'estimate', '18.00', 'IGST'),
(1, 469, 208, 39, 'invoice', '18.00', 'IGST'),
(1, 474, 73, 102, 'detail_estimate', '18.00', 'IGST'),
(1, 475, 73, 102, 'detail_estimate', '9.00', 'SGST'),
(1, 476, 209, 40, 'invoice', '9.00', 'SGST'),
(1, 477, 209, 40, 'invoice', '18.00', 'IGST'),
(1, 478, 209, 40, 'invoice', '9.00', 'CGST'),
(1, 479, 181, 82, 'estimate', '18.00', 'IGST'),
(1, 480, 210, 86, 'estimate', '9.00', 'SGST'),
(1, 481, 210, 86, 'estimate', '18.00', 'IGST'),
(1, 482, 211, 41, 'invoice', '18.00', 'IGST'),
(1, 483, 211, 41, 'invoice', '9.00', 'SGST'),
(1, 484, 212, 103, 'estimate', '18.00', 'IGST'),
(1, 485, 212, 103, 'estimate', '9.00', 'SGST'),
(1, 486, 212, 103, 'estimate', '9.00', 'CGST'),
(1, 494, 79, 89, 'detail_estimate', '9.00', 'SGST');

-- --------------------------------------------------------

--
-- Table structure for table `tblknowedge_base_article_feedback`
--

CREATE TABLE `tblknowedge_base_article_feedback` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `articleanswerid` bigint(20) UNSIGNED NOT NULL,
  `articleid` bigint(20) UNSIGNED NOT NULL,
  `answer` bigint(20) UNSIGNED NOT NULL,
  `ip` varchar(40) NOT NULL,
  `date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblknowledge_base`
--

CREATE TABLE `tblknowledge_base` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `articleid` bigint(20) UNSIGNED NOT NULL,
  `articlegroup` bigint(20) UNSIGNED NOT NULL,
  `subject` mediumtext NOT NULL,
  `description` text NOT NULL,
  `slug` mediumtext NOT NULL,
  `active` tinyint(4) NOT NULL,
  `datecreated` datetime NOT NULL,
  `article_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `staff_article` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblknowledge_base_groups`
--

CREATE TABLE `tblknowledge_base_groups` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `groupid` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `group_slug` text,
  `description` mediumtext,
  `active` tinyint(4) NOT NULL,
  `color` varchar(10) DEFAULT '#28B8DA',
  `group_order` bigint(20) UNSIGNED DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblleads`
--

CREATE TABLE `tblleads` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `number` bigint(20) DEFAULT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` bigint(20) DEFAULT NULL,
  `hash` varchar(65) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `company` varchar(191) DEFAULT NULL,
  `description` text,
  `country` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `zip` varchar(15) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `state` varchar(50) DEFAULT NULL,
  `address` varchar(100) DEFAULT NULL,
  `address_2` varchar(100) DEFAULT NULL,
  `assigned` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `dateadded` datetime NOT NULL,
  `from_form_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `status` bigint(20) UNSIGNED NOT NULL,
  `source` bigint(20) UNSIGNED NOT NULL,
  `lastcontact` datetime DEFAULT NULL,
  `dateassigned` date DEFAULT NULL,
  `last_status_change` datetime DEFAULT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(100) DEFAULT NULL,
  `website` varchar(150) DEFAULT NULL,
  `leadorder` bigint(20) UNSIGNED DEFAULT '1',
  `phonenumber` varchar(50) DEFAULT NULL,
  `date_converted` datetime DEFAULT NULL,
  `lost` tinyint(1) NOT NULL DEFAULT '0',
  `junk` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `last_lead_status` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `is_imported_from_email_integration` tinyint(1) NOT NULL DEFAULT '0',
  `email_integration_uid` varchar(30) DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  `default_language` varchar(40) DEFAULT NULL,
  `client_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads`
--

INSERT INTO `tblleads` (`tenant_id`, `id`, `number`, `prefix`, `number_format`, `hash`, `name`, `title`, `company`, `description`, `country`, `zip`, `city`, `state`, `address`, `address_2`, `assigned`, `dateadded`, `from_form_id`, `status`, `source`, `lastcontact`, `dateassigned`, `last_status_change`, `addedfrom`, `email`, `website`, `leadorder`, `phonenumber`, `date_converted`, `lost`, `junk`, `last_lead_status`, `is_imported_from_email_integration`, `email_integration_uid`, `is_public`, `default_language`, `client_id`) VALUES
(1, 1, 19, 'LD-', 0, '964735dbbfc13f52f864bc325595c361-2bed6cf9db6fffe806a2c86152aa2072', 'Ajinkya  Sonar', '', 'Spryox', 'This is a test lead added by iOS device for testing', 28, '428064', 'Mumbai', 'Maharashtra', 'Room 007, highlander hill', 'Cosmos galaxy road, seven wonders road', 59, '2020-06-06 13:51:07', 0, 1, 1, '2020-06-06 13:51:07', '2020-06-06', NULL, 0, 'ajinkyatest.spryox@gmail.com', 'www.spryox.com', 1, '9167000000', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 2, 20, 'LD-', 0, '967dc9a8fd8f42228d396987aa2a72bc-cdb1b1a136664ac03bcf2ef746ceab4a', 'vsbs bdhs', '', 'hzbs', 'vdbd ', 5, 'hshs', 'tdgs', 'gsgs', 'gsbsgsgshgsh', 'tsgs', 34, '2020-06-06 13:58:43', 0, 1, 1, '2020-06-06 13:58:43', '2020-06-06', NULL, 0, 'vsvs@gmail.com', 'hzbdv', 1, '94949161', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 3, 21, 'LD-', 0, '1ef3392bd62b47fbcd2fbde59a87b999-b9a6edf41afecbedac93021cf109f50e', 'Lead One', 'Lead Title', 'Full Company', 'Full description', 102, '400080', 'Mumbai', 'Maha', 'SL Road', 'Mulund', 1, '2020-06-06 15:20:44', 0, 1, 1, '2020-06-06 15:20:44', '2020-06-06', NULL, 0, 'akash@gmail.commm', 'www.website.com', 1, '1231231231', NULL, 0, 0, 0, 0, NULL, 0, '', 0),
(1, 4, 22, 'LD-', 0, '8a812732ac009a1a8c03fa6502ff336d-6f2c510f6cd9c6f59fadb0d8d4b4e627', 'Full lead', 'Lead Title', 'Full Company', 'Full description', 2, 'ABCD', 'Mumbai', 'Maha', 'SL Road', 'Mulund', 34, '2020-07-08 01:59:34', 0, 1, 19, '2020-07-08 01:59:34', '2020-07-08', NULL, 0, 'akash@gmail.commm', 'full website', 1, '1231231231', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 5, 23, 'LD-', 0, '84d2e00430b722f2542b22c0ca4d954d-e62809c45f9e97f35d5e7d78598f5d50', 'Full lead', 'Lead Title', 'Full Company', 'Full description', 2, 'ABCD', 'Mumbai', 'Maha', 'SL Road', 'Mulund', 34, '2020-07-08 01:59:48', 0, 1, 19, '2020-07-08 01:59:48', '2020-07-08', NULL, 0, 'akash@gmail.commm', 'full website', 1, '1231231231', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 6, 24, 'LD-', 0, '162005bfa07331703fe1024f99cfae9c-f10e20062678c247143f532dbae74cbb', 'Krushna Bade', '', '', 'Test Nav in lead ', 0, '', '', '', '', '', 45, '2020-07-08 02:06:44', 0, 1, 1, '2020-07-08 02:06:44', '2020-07-08', NULL, 0, 'krushna@test.com', '', 1, '9122488763', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 7, 25, 'LD-', 0, '03dd8d1b822ecb606151be5420748bb4-f8f5b455f04dffb50b960ab454d47bb7', 'Akash  Parmar 1', '', '', 'Test', 0, '', '', '', '', '', 44, '2020-07-08 02:10:14', 0, 16, 2, '2020-07-08 02:10:14', '2020-07-08', NULL, 0, 'akash@test.com', '', 1, '125499546', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 8, 26, 'LD-', 0, '2341190475d07ba0808cfdb9007a33cc-1784bb949e10636cd72334971a1de6c5', 'Leads  Testing', '', '', '', 0, '', '', '', '', '', 67, '2020-07-08 02:14:12', 0, 1, 2, '2020-07-08 02:14:12', '2020-07-08', NULL, 0, 'leads@lead.com', '', 1, '915427558', NULL, 0, 0, 0, 0, NULL, 1, '', 0),
(1, 9, 27, 'LD-', 0, 'c9cd00052db4bdd0514c4f7e44bd1fc1-b9f7d61c61113708c921ac5768ddebb7', 'Default  Lead I’d test', '', '', '', 0, '', '', '', '', '', 43, '2020-07-08 02:18:10', 0, 1, 1, '2020-07-08 02:18:10', '2020-07-08', NULL, 0, 'default@lead test.com', '', 1, '9167722487', NULL, 0, 0, 0, 0, NULL, 1, '', 0);

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_email_integration`
--

CREATE TABLE `tblleads_email_integration` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL COMMENT 'the ID always must be 1',
  `active` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(100) NOT NULL,
  `imap_server` varchar(100) NOT NULL,
  `password` mediumtext NOT NULL,
  `check_every` bigint(20) UNSIGNED NOT NULL DEFAULT '5',
  `responsible` bigint(20) UNSIGNED NOT NULL,
  `lead_source` bigint(20) UNSIGNED NOT NULL,
  `lead_status` bigint(20) UNSIGNED NOT NULL,
  `encryption` varchar(3) DEFAULT NULL,
  `folder` varchar(100) NOT NULL,
  `last_run` varchar(50) DEFAULT NULL,
  `notify_lead_imported` tinyint(1) NOT NULL DEFAULT '1',
  `notify_lead_contact_more_times` tinyint(1) NOT NULL DEFAULT '1',
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` mediumtext,
  `mark_public` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `only_loop_on_unseen_emails` tinyint(1) NOT NULL DEFAULT '1',
  `delete_after_import` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `create_task_if_customer` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_email_integration`
--

INSERT INTO `tblleads_email_integration` (`tenant_id`, `id`, `active`, `email`, `imap_server`, `password`, `check_every`, `responsible`, `lead_source`, `lead_status`, `encryption`, `folder`, `last_run`, `notify_lead_imported`, `notify_lead_contact_more_times`, `notify_type`, `notify_ids`, `mark_public`, `only_loop_on_unseen_emails`, `delete_after_import`, `create_task_if_customer`) VALUES
(1, 1, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(53, 2, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(55, 3, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(56, 4, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(57, 5, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(59, 6, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(60, 7, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(61, 8, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(62, 9, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1),
(63, 10, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_email_integration_static`
--

CREATE TABLE `tblleads_email_integration_static` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `active` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(100) NOT NULL,
  `imap_server` varchar(100) NOT NULL,
  `password` mediumtext NOT NULL,
  `check_every` bigint(20) UNSIGNED NOT NULL DEFAULT '5',
  `responsible` bigint(20) UNSIGNED NOT NULL,
  `lead_source` bigint(20) UNSIGNED NOT NULL,
  `lead_status` bigint(20) UNSIGNED NOT NULL,
  `encryption` varchar(3) DEFAULT NULL,
  `folder` varchar(100) NOT NULL,
  `last_run` varchar(50) DEFAULT NULL,
  `notify_lead_imported` tinyint(1) NOT NULL DEFAULT '1',
  `notify_lead_contact_more_times` tinyint(1) NOT NULL DEFAULT '1',
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` mediumtext,
  `mark_public` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `only_loop_on_unseen_emails` tinyint(1) NOT NULL DEFAULT '1',
  `delete_after_import` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `create_task_if_customer` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_email_integration_static`
--

INSERT INTO `tblleads_email_integration_static` (`id`, `active`, `email`, `imap_server`, `password`, `check_every`, `responsible`, `lead_source`, `lead_status`, `encryption`, `folder`, `last_run`, `notify_lead_imported`, `notify_lead_contact_more_times`, `notify_type`, `notify_ids`, `mark_public`, `only_loop_on_unseen_emails`, `delete_after_import`, `create_task_if_customer`) VALUES
(1, 0, '', '', '', 10, 0, 0, 0, 'tls', 'inbox', '', 1, 1, 'assigned', '', 0, 1, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_sources`
--

CREATE TABLE `tblleads_sources` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(150) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_sources`
--

INSERT INTO `tblleads_sources` (`tenant_id`, `id`, `name`) VALUES
(1, 1, 'Google'),
(1, 2, 'Facebook'),
(52, 3, 'Google'),
(52, 4, 'Facebook'),
(53, 6, 'Google'),
(53, 7, 'Facebook'),
(55, 9, 'Google'),
(55, 10, 'Facebook'),
(56, 12, 'Google'),
(56, 13, 'Facebook'),
(57, 15, 'Google'),
(57, 16, 'Facebook'),
(59, 38, 'Google'),
(59, 39, 'Facebook'),
(60, 41, 'Google'),
(60, 42, 'Facebook'),
(61, 44, 'Google'),
(61, 45, 'Facebook'),
(62, 47, 'Google'),
(62, 48, 'Facebook'),
(63, 50, 'Google'),
(63, 51, 'Facebook');

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_sources_static`
--

CREATE TABLE `tblleads_sources_static` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(150) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_sources_static`
--

INSERT INTO `tblleads_sources_static` (`id`, `name`) VALUES
(1, 'Google'),
(2, 'Facebook');

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_status`
--

CREATE TABLE `tblleads_status` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL,
  `statusorder` bigint(20) UNSIGNED DEFAULT NULL,
  `color` varchar(10) DEFAULT '#28B8DA',
  `isdefault` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_status`
--

INSERT INTO `tblleads_status` (`tenant_id`, `id`, `name`, `statusorder`, `color`, `isdefault`) VALUES
(1, 1, 'Customer', 1000, '#7cb342', 1),
(52, 2, 'Customer', 1000, '#7cb342', 1),
(53, 3, 'Customer', 1000, '#7cb342', 1),
(55, 4, 'Customer', 1000, '#7cb342', 1),
(56, 5, 'Customer', 1000, '#7cb342', 1),
(57, 6, 'Customer', 1000, '#7cb342', 1),
(1, 16, 'New Status Add', 7, '#28B8DA', 0),
(59, 17, 'Customer', 1000, '#7cb342', 1),
(60, 18, 'Customer', 1000, '#7cb342', 1),
(61, 19, 'Customer', 1000, '#7cb342', 1),
(62, 20, 'Customer', 1000, '#7cb342', 1),
(63, 21, 'Customer', 1000, '#7cb342', 1);

-- --------------------------------------------------------

--
-- Table structure for table `tblleads_status_static`
--

CREATE TABLE `tblleads_status_static` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL,
  `statusorder` bigint(20) UNSIGNED DEFAULT NULL,
  `color` varchar(10) DEFAULT '#28B8DA',
  `isdefault` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblleads_status_static`
--

INSERT INTO `tblleads_status_static` (`id`, `name`, `statusorder`, `color`, `isdefault`) VALUES
(1, 'Customer', 1000, '#7cb342', 1);

-- --------------------------------------------------------

--
-- Table structure for table `tbllead_activity_log`
--

CREATE TABLE `tbllead_activity_log` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `leadid` bigint(20) UNSIGNED NOT NULL,
  `description` mediumtext NOT NULL,
  `additional_data` text,
  `date` datetime NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `full_name` varchar(100) DEFAULT NULL,
  `custom_activity` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbllead_activity_log`
--

INSERT INTO `tbllead_activity_log` (`tenant_id`, `id`, `leadid`, `description`, `additional_data`, `date`, `staffid`, `full_name`, `custom_activity`) VALUES
(1, 1, 1, 'not_lead_activity_created', '', '2020-05-02 15:44:09', 2, 'Akash Parmar', 0),
(1, 2, 2, 'not_lead_activity_created', '', '2020-05-02 15:44:46', 1, 'Spryox Admin', 0),
(1, 3, 3, 'not_lead_activity_created', '', '2020-05-02 16:03:00', 3, 'Akash 2 Parmar 2', 0),
(1, 4, 3, 'not_lead_activity_added_attachment', '', '2020-05-29 18:56:26', 1, 'Spryox Admin', 0),
(1, 5, 3, 'not_lead_activity_added_attachment', '', '2020-05-29 18:56:58', 1, 'Spryox Admin', 0),
(1, 6, 4, 'not_lead_activity_created', '', '2020-06-02 20:27:57', 1, 'Spryox Admin', 0),
(1, 7, 5, 'not_lead_activity_created', '', '2020-06-05 19:48:47', 0, '', 0),
(1, 8, 5, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-06-05 19:48:50', 0, '', 0),
(1, 9, 6, 'not_lead_activity_created', '', '2020-06-05 19:50:28', 0, '', 0),
(1, 10, 6, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:90:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/65\" target=\"_blank\">bdbd gdbd</a>\";}', '2020-06-05 19:50:30', 0, '', 0),
(1, 11, 7, 'not_lead_activity_created', '', '2020-06-05 20:02:43', 0, '', 0),
(1, 12, 7, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-06-05 20:02:45', 0, '', 0),
(1, 13, 8, 'not_lead_activity_created', '', '2020-06-05 20:04:40', 0, '', 0),
(1, 14, 8, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-06-05 20:04:41', 0, '', 0),
(1, 15, 9, 'not_lead_activity_created', '', '2020-06-05 20:07:37', 0, '', 0),
(1, 16, 9, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/1\" target=\"_blank\">Spryox Admin</a>\";}', '2020-06-05 20:07:40', 0, '', 0),
(1, 17, 10, 'not_lead_activity_created', '', '2020-06-05 20:09:46', 0, '', 0),
(1, 18, 10, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:86:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/63\" target=\"_blank\">me ns</a>\";}', '2020-06-05 20:09:47', 0, '', 0),
(1, 19, 11, 'not_lead_activity_created', '', '2020-06-05 21:28:42', 0, '', 0),
(1, 20, 11, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:81:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/ 2\" target=\"_blank\"></a>\";}', '2020-06-05 21:28:42', 0, '', 0),
(1, 21, 12, 'not_lead_activity_created', '', '2020-06-05 21:43:53', 0, '', 0),
(1, 22, 12, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:81:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/ 2\" target=\"_blank\"></a>\";}', '2020-06-05 21:43:53', 0, '', 0),
(1, 23, 13, 'not_lead_activity_created', '', '2020-06-05 21:44:29', 0, '', 0),
(1, 24, 13, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:81:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/ 2\" target=\"_blank\"></a>\";}', '2020-06-05 21:44:29', 0, '', 0),
(1, 25, 14, 'not_lead_activity_created', '', '2020-06-05 21:50:27', 0, '', 0),
(1, 26, 14, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:81:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/ 2\" target=\"_blank\"></a>\";}', '2020-06-05 21:50:27', 0, '', 0),
(1, 27, 15, 'not_lead_activity_created', '', '2020-06-05 21:52:24', 0, '', 0),
(1, 28, 15, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/1\" target=\"_blank\">Spryox Admin</a>\";}', '2020-06-05 21:52:26', 0, '', 0),
(1, 29, 16, 'not_lead_activity_created', '', '2020-06-05 21:53:19', 0, '', 0),
(1, 30, 16, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/1\" target=\"_blank\">Spryox Admin</a>\";}', '2020-06-05 21:53:20', 0, '', 0),
(1, 31, 17, 'not_lead_activity_created', '', '2020-06-06 04:05:59', 0, '', 0),
(1, 32, 17, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/1\" target=\"_blank\">Spryox Admin</a>\";}', '2020-06-06 04:06:01', 0, '', 0),
(1, 33, 18, 'not_lead_activity_created', '', '2020-06-06 09:55:51', 0, '', 0),
(1, 34, 18, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-06-06 09:55:53', 0, '', 0),
(1, 35, 1, 'not_lead_activity_created', '', '2020-06-06 13:51:07', 0, '', 0),
(1, 36, 1, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/59\" target=\"_blank\">Akash Parmar</a>\";}', '2020-06-06 13:51:08', 0, '', 0),
(1, 37, 2, 'not_lead_activity_created', '', '2020-06-06 13:58:43', 0, '', 0),
(1, 38, 2, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-06-06 13:58:44', 0, '', 0),
(1, 39, 3, 'not_lead_activity_created', '', '2020-06-06 15:20:44', 0, '', 0),
(1, 40, 3, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/1\" target=\"_blank\">Spryox Admin</a>\";}', '2020-06-06 15:20:46', 0, '', 0),
(1, 41, 4, 'not_lead_activity_created', '', '2020-07-08 01:59:34', 0, '', 0),
(1, 42, 4, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-07-08 01:59:34', 0, '', 0),
(1, 43, 5, 'not_lead_activity_created', '', '2020-07-08 01:59:48', 0, '', 0),
(1, 44, 5, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/34\" target=\"_blank\">Vikram Pawar</a>\";}', '2020-07-08 01:59:48', 0, '', 0),
(1, 45, 6, 'not_lead_activity_created', '', '2020-07-08 02:06:44', 0, '', 0),
(1, 46, 6, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:89:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/45\" target=\"_blank\">John Doe</a>\";}', '2020-07-08 02:06:44', 0, '', 0),
(1, 47, 7, 'not_lead_activity_created', '', '2020-07-08 02:10:14', 0, '', 0),
(1, 48, 7, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:93:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/44\" target=\"_blank\">Akash Parmar</a>\";}', '2020-07-08 02:10:15', 0, '', 0),
(1, 49, 8, 'not_lead_activity_created', '', '2020-07-08 02:14:12', 0, '', 0),
(1, 50, 8, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:117:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/67\" target=\"_blank\">Test ADD Team Member Test Member ADD</a>\";}', '2020-07-08 02:14:13', 0, '', 0),
(1, 51, 9, 'not_lead_activity_created', '', '2020-07-08 02:18:10', 0, '', 0),
(1, 52, 9, 'not_lead_activity_assigned_to', 'a:2:{i:0;s:0:\"\";i:1;s:92:\"<a href=\"https://dev.my.contractorplus.app/admin/profile/43\" target=\"_blank\">Team Member</a>\";}', '2020-07-08 02:18:10', 0, '', 0);

-- --------------------------------------------------------

--
-- Table structure for table `tbllead_integration_emails`
--

CREATE TABLE `tbllead_integration_emails` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `subject` mediumtext,
  `body` mediumtext,
  `dateadded` datetime NOT NULL,
  `leadid` bigint(20) UNSIGNED NOT NULL,
  `emailid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblmail_queue`
--

CREATE TABLE `tblmail_queue` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `engine` varchar(40) DEFAULT NULL,
  `email` varchar(191) NOT NULL,
  `cc` text,
  `bcc` text,
  `message` mediumtext NOT NULL,
  `alt_message` mediumtext,
  `status` enum('pending','sending','sent','failed') DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `headers` text,
  `attachments` mediumtext
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblmigrations`
--

CREATE TABLE `tblmigrations` (
  `version` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblmigrations`
--

INSERT INTO `tblmigrations` (`version`) VALUES
(244);

-- --------------------------------------------------------

--
-- Table structure for table `tblmilestones`
--

CREATE TABLE `tblmilestones` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` text,
  `description_visible_to_customer` tinyint(1) DEFAULT '0',
  `due_date` date NOT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL,
  `color` varchar(10) DEFAULT NULL,
  `milestone_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `datecreated` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblmodules`
--

CREATE TABLE `tblmodules` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `module_name` varchar(55) NOT NULL,
  `installed_version` varchar(11) NOT NULL,
  `active` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblmodules`
--

INSERT INTO `tblmodules` (`id`, `module_name`, `installed_version`, `active`) VALUES
(1, 'assets', '1.0.0', 1),
(2, 'appointly', '1.1.4', 1),
(8, 'api', '1.0.0', 1);

-- --------------------------------------------------------

--
-- Table structure for table `tblnewsfeed_comment_likes`
--

CREATE TABLE `tblnewsfeed_comment_likes` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `postid` bigint(20) UNSIGNED NOT NULL,
  `commentid` bigint(20) UNSIGNED NOT NULL,
  `userid` bigint(20) UNSIGNED NOT NULL,
  `dateliked` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblnewsfeed_posts`
--

CREATE TABLE `tblnewsfeed_posts` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `postid` bigint(20) UNSIGNED NOT NULL,
  `creator` bigint(20) UNSIGNED NOT NULL,
  `datecreated` datetime NOT NULL,
  `visibility` varchar(100) NOT NULL,
  `content` text NOT NULL,
  `pinned` bigint(20) UNSIGNED NOT NULL,
  `datepinned` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblnewsfeed_posts`
--

INSERT INTO `tblnewsfeed_posts` (`tenant_id`, `postid`, `creator`, `datecreated`, `visibility`, `content`, `pinned`, `datepinned`) VALUES
(1, 1, 1, '2020-06-19 13:38:30', 'all', 'Testing the share feature', 0, NULL),
(1, 2, 1, '2020-07-10 20:05:09', 'all', 'Hi Testing announcmenet', 0, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tblnewsfeed_post_comments`
--

CREATE TABLE `tblnewsfeed_post_comments` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `content` text,
  `userid` bigint(20) UNSIGNED NOT NULL,
  `postid` bigint(20) UNSIGNED NOT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblnewsfeed_post_likes`
--

CREATE TABLE `tblnewsfeed_post_likes` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `postid` bigint(20) UNSIGNED NOT NULL,
  `userid` bigint(20) UNSIGNED NOT NULL,
  `dateliked` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblnotes`
--

CREATE TABLE `tblnotes` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `description` text,
  `date_contacted` datetime DEFAULT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblnotes`
--

INSERT INTO `tblnotes` (`tenant_id`, `id`, `rel_id`, `rel_type`, `description`, `date_contacted`, `addedfrom`, `dateadded`) VALUES
(1, 1, 1, 'estimate', 'this is test estimate note', NULL, 1, '2020-05-27 02:21:50'),
(1, 2, 1, 'estimate', 'Roshan has commented on this note hlhlhjkl', NULL, 1, '2020-05-27 02:22:00'),
(1, 4, 72, 'expense', 'Test one', NULL, 1, '2020-05-29 10:37:32'),
(1, 5, 72, 'expense', 'Test one', NULL, 1, '2020-05-29 10:38:23'),
(1, 6, 72, 'expense', 'Final', NULL, 1, '2020-05-29 10:41:06'),
(1, 7, 72, 'expense', 'Test ', NULL, 1, '2020-05-29 10:42:55'),
(1, 9, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-05-29 18:57:17'),
(1, 10, 81, 'expense', NULL, NULL, 1, '2020-06-01 13:40:19'),
(1, 12, 73, 'expense', 'New note test', NULL, 1, '2020-06-02 08:28:17'),
(1, 16, 81, 'expense', 'one', NULL, 1, '2020-06-02 08:33:33'),
(1, 19, 84, 'expense', 'one', NULL, 1, '2020-06-02 08:37:03'),
(1, 20, 84, 'expense', 'two', NULL, 1, '2020-06-02 08:37:15'),
(1, 22, 80, 'expense', 'tt', NULL, 1, '2020-06-02 08:37:55'),
(1, 24, 84, 'expense', 'jk', NULL, 1, '2020-06-02 08:38:23'),
(1, 25, 84, 'expense', 'jk', NULL, 1, '2020-06-02 08:38:23'),
(1, 27, 84, 'expense', 'df', NULL, 1, '2020-06-02 08:38:57'),
(1, 36, 84, 'expense', 'two', NULL, 1, '2020-06-02 08:43:52'),
(1, 43, 84, 'expense', 'Two', NULL, 1, '2020-06-02 08:47:47'),
(1, 44, 84, 'expense', 'Three', NULL, 1, '2020-06-02 08:47:54'),
(1, 46, 82, 'expense', 'Note for expnse id 82 updated', NULL, 1, '2020-06-02 16:28:15'),
(1, 47, 104, 'customer', 'test', NULL, 1, '2020-06-02 16:54:47'),
(1, 48, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:34:20'),
(1, 49, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:35:51'),
(1, 50, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:35:56'),
(1, 51, 82, 'expense', 'Empty array test', NULL, 1, '2020-06-02 17:36:49'),
(1, 52, 82, 'expense', 'Empty array test', NULL, 1, '2020-06-02 17:36:54'),
(1, 53, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:38:01'),
(1, 54, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:38:15'),
(1, 55, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 17:39:44'),
(1, 56, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 21:59:10'),
(1, 57, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 22:00:31'),
(1, 58, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 22:19:32'),
(1, 59, 84, 'expense', 'Test upload', NULL, 1, '2020-06-02 23:22:30'),
(1, 60, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 23:25:25'),
(1, 61, 84, 'expense', 'Test 1 edit', NULL, 1, '2020-06-02 23:26:02'),
(1, 62, 82, 'expense', 'Note for expnse id 82 api test', NULL, 1, '2020-06-02 23:32:11'),
(1, 63, 84, 'expense', 'Test note edit attachments ', NULL, 1, '2020-06-03 13:54:21'),
(1, 64, 0, 'relation_type', 'Notes by android', NULL, 43, '2020-06-03 19:53:10'),
(1, 65, 0, 'relation_type', 'Botex', NULL, 43, '2020-06-03 19:54:43'),
(1, 66, 0, 'relation_type', 'Expense notes', NULL, 43, '2020-06-03 19:56:42'),
(1, 71, 4, 'post_inspection', 'Complete integration one', NULL, 1, '2020-06-03 22:32:25'),
(1, 89, 77, 'expense', 'Notes in expense', NULL, 43, '2020-06-04 01:45:16'),
(1, 95, 69, 'customer', 'Text', NULL, 1, '2020-06-04 13:05:45'),
(1, 96, 86, 'expense', 'Normal pdf', NULL, 43, '2020-06-05 01:15:40'),
(1, 97, 75, 'post_inspection', 'stat ', NULL, 1, '2020-06-10 19:15:34'),
(1, 98, 95, 'post_inspection', ' Vbbnn', NULL, 43, '2020-06-13 09:13:05'),
(1, 99, 74, 'estimate', 'Trying this Estimate', NULL, 1, '2020-07-05 13:54:35'),
(1, 100, 82, 'estimate', 'Chxhccjcj', NULL, 1, '2020-07-09 13:53:26'),
(1, 101, 50, 'estimate', 'Dbdhdjjd', NULL, 1, '2020-07-10 21:34:23'),
(59, 102, 110, 'post_inspection', 'note', NULL, 70, '2020-07-11 10:31:10'),
(60, 103, 90, 'estimate', 'tried sending estimate to client but of no use', NULL, 71, '2020-07-11 20:19:35'),
(60, 104, 90, 'estimate', 'tried again but client not responding', NULL, 71, '2020-07-11 20:23:54'),
(61, 105, 91, 'estimate', 'Some notes added', NULL, 72, '2020-07-11 21:00:13'),
(1, 106, 89, 'estimate', 'Ketan ', NULL, 1, '2020-07-13 18:02:17'),
(1, 107, 86, 'estimate', 'Xhxjch', NULL, 1, '2020-07-13 19:14:23'),
(60, 108, 112, 'post_inspection', 'please test rhis note', NULL, 71, '2020-07-14 01:52:59');

-- --------------------------------------------------------

--
-- Table structure for table `tblnote_files`
--

CREATE TABLE `tblnote_files` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `note_id` bigint(20) UNSIGNED DEFAULT NULL,
  `file_name` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
  `filetype` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  `visible_to_customer` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `attachment_key` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `external` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  `external_link` text COLLATE utf8_unicode_ci,
  `thumbnail_link` text COLLATE utf8_unicode_ci COMMENT 'For external usage',
  `original_file_name` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tblnote_files`
--

INSERT INTO `tblnote_files` (`id`, `note_id`, `file_name`, `filetype`, `visible_to_customer`, `attachment_key`, `external`, `external_link`, `thumbnail_link`, `original_file_name`, `dateadded`) VALUES
(2, 6, '5ed0996ae9eaa.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-05-29 10:41:06'),
(5, 9, '5ed10a61e69be.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-05-29 18:57:17'),
(6, 10, '5ed4b7ebb3826.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-01 13:40:19'),
(8, 12, '5ed5c0497212a.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:28:17'),
(9, 12, '5ed5c04974597.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:28:17'),
(10, 13, '5ed5c04a1d7e6.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:28:18'),
(11, 13, '5ed5c04a21b56.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:28:18'),
(13, 15, '5ed5c06c025a7.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:28:52'),
(14, 15, '5ed5c0807495e.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:29:12'),
(15, 15, '5ed5c08075b05.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:29:12'),
(16, 15, '5ed5c08077bca.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:29:12'),
(17, 15, '5ed5c080874ec.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:29:12'),
(18, 15, '5ed5c0808818a.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:29:12'),
(19, 15, '5ed5c0808a2a5.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:29:12'),
(20, 16, '5ed5c204d5f87.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:35:40'),
(21, 16, '5ed5c206dbd8e.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:35:42'),
(22, 16, '5ed5c206e4742.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:35:42'),
(23, 20, '5ed5c2747b4aa.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:37:32'),
(24, 20, '5ed5c2747c7fd.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:37:32'),
(25, 36, '5ed5c3f02b23b.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:43:52'),
(26, 36, '5ed5c3f02d4b5.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'download.png', '2020-06-02 08:43:52'),
(27, 36, '5ed5c3f02f754.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:43:52'),
(28, 43, '5ed5c4db8ffff.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:47:47'),
(30, 44, '5ed5c52477ddf.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-06-02 08:49:00'),
(32, 45, '5ed5c546536b0.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 08:49:34'),
(33, 46, '5ed630fd5d566.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 16:29:09'),
(34, 46, '5ed63191a0bc4.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 16:31:37'),
(35, 46, '5ed6491753e3b.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 18:11:59'),
(36, 46, '5ed67424b5c35.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 21:15:40'),
(37, 46, '5ed6745c6b5d2.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-02 21:16:36'),
(38, 60, '5ed10a1b029d5.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-06-02 23:25:25'),
(39, 61, '5ed692ab56b3c.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591120553.6471639.jpeg', '2020-06-02 23:26:02'),
(42, 62, '5ed6941654428.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591120915.882909.jpeg', '2020-06-02 23:32:11'),
(43, 62, '5ed6941711463.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591120915.924121.jpeg', '2020-06-02 23:32:11'),
(44, 62, '5ed69931d5e3f.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'CP-logo.png', '2020-06-02 23:53:45'),
(50, 61, '5ed69d44b4b20.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591123266.833137.jpeg', '2020-06-03 00:11:08'),
(51, 61, '5ed73c96894e8.pdf', 'pdf', 0, NULL, NULL, NULL, NULL, 'App%20Brewery%20Flutter%20Course%20Syllabus.pdf', '2020-06-03 11:30:54'),
(52, 63, '5ed75e259dce6.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591172643.8064861.jpeg', '2020-06-03 13:54:21'),
(53, 63, '5ed75e25ecf65.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591172643.956164.jpeg', '2020-06-03 13:54:21'),
(55, 61, '5ed7d76cb9a59.mp4', 'video/mp4', 0, NULL, NULL, NULL, NULL, '1591203688.1362739.mp4', '2020-06-03 22:31:32'),
(56, 71, '5ed7d7a125144.pdf', 'application/pdf', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-03 22:32:25'),
(57, 71, '5ed7d7a129723.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-06-03 22:32:25'),
(125, 95, '5ed945da0c65d.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200605_003455517.jpg', '2020-06-05 00:34:58'),
(126, 95, '5ed945e19708a.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200605_003503817.jpg', '2020-06-05 00:35:05'),
(129, 96, '5ed94f5b7334e.pdf', 'image/png', 0, NULL, NULL, NULL, NULL, 'pdf.pdf', '2020-06-05 01:15:40'),
(130, 96, '5ed94f7fb4983.docx', 'image/png', 0, NULL, NULL, NULL, NULL, 'Curriculam Vitae_._.docx', '2020-06-05 01:16:07'),
(131, 96, '5ed950539b0d5.pdf', 'image/png', 0, NULL, NULL, NULL, NULL, 'pdf (1).pdf', '2020-06-05 01:19:39'),
(133, 89, '5ed956b75bc91.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200604_231412164.jpg', '2020-06-05 01:46:55'),
(134, 89, '5ed956b78f9bc.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200604_211811926.jpg', '2020-06-05 01:46:55'),
(135, 89, '5ed9584a76bab.mp4', 'image/png', 0, NULL, NULL, NULL, NULL, 'VID-20200602-WA0004.mp4', '2020-06-05 01:53:38'),
(136, 97, '5ee0e3fa3c6a2.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1591796728.389673.jpeg', '2020-06-10 19:15:34'),
(137, 98, '5ee44b32ab094.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200612-WA0078.jpg', '2020-06-13 09:13:05'),
(138, 98, '5ee44b3b67558.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200612-WA0078.jpg', '2020-06-13 09:13:05'),
(139, 98, '5ee44b3ba616b.mp4', 'image/png', 0, NULL, NULL, NULL, NULL, 'VID-20200612-WA0081.mp4', '2020-06-13 09:13:05'),
(140, 98, '5ee44b6232c3f.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200612-WA0078.jpg', '2020-06-13 09:13:30'),
(141, 98, '5ee44b62c0318.mp4', 'image/png', 0, NULL, NULL, NULL, NULL, 'VID-20200612-WA0081.mp4', '2020-06-13 09:13:30'),
(142, 98, '5ee44b62c2f0d.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200612-WA0085.jpg', '2020-06-13 09:13:30'),
(149, 100, '5f06d46150d62.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'my_screenshot_filename07072020_214139.jpg', '2020-07-09 13:55:05'),
(150, 100, '5f06d4cc2b332.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, '661a2a55-9c21-44fe-888c-f1c5f277bc39.jpg', '2020-07-09 13:56:52'),
(159, 100, '5f074371b38a7.docx', 'image/png', 0, NULL, NULL, NULL, NULL, 'Resume 2k20 ketan.docx', '2020-07-09 21:48:57'),
(160, 101, '5f08915c0f245.docx', 'image/png', 0, NULL, NULL, NULL, NULL, '5f074371b38a7.docx', '2020-07-10 21:34:23'),
(161, 101, '5f0891735f430.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'loan-club02.jpg', '2020-07-10 21:34:23'),
(162, 101, '5f0891735f472.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'worker_build_profile4b.png', '2020-07-10 21:34:23'),
(163, 101, '5f0891739fdbb.png', 'image/png', 0, NULL, NULL, NULL, NULL, 'worker_build_profile3.png', '2020-07-10 21:34:23'),
(164, 101, '5f0891747e5e0.pdf', 'image/png', 0, NULL, NULL, NULL, NULL, 'pdf (1)(1).pdf', '2020-07-10 21:34:23'),
(165, 101, '5f08917549843.pdf', 'image/png', 0, NULL, NULL, NULL, NULL, 'pdf (1).pdf', '2020-07-10 21:34:23'),
(166, 103, '5f09d12a1c15e.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200711_201808299.jpg', '2020-07-11 20:19:35'),
(167, 103, '5f09d133ef96d.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200711-WA0031.jpg', '2020-07-11 20:19:35'),
(168, 103, '5f09d1491f120.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200711-WA0006.jpg', '2020-07-11 20:19:35'),
(169, 103, '5f09d1720cfe9.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200710-WA0018.jpg', '2020-07-11 20:19:35'),
(170, 103, '5f09d176768bc.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'Screenshot_20200710-143746.jpg', '2020-07-11 20:19:35'),
(171, 103, '5f09d17d4897c.mp4', 'image/png', 0, NULL, NULL, NULL, NULL, 'VID-20200710-WA0005.mp4', '2020-07-11 20:19:35'),
(173, 104, '5f09d26e37b7c.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200711-WA0027.jpg', '2020-07-11 20:23:54'),
(175, 104, '5f09d27b37365.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200711-WA0024.jpg', '2020-07-11 20:23:54'),
(176, 105, '5f09dae56c438.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1594481379.362998.jpeg', '2020-07-11 21:00:13'),
(177, 105, '5f09db02b55a1.jpeg', 'image/jpeg', 0, NULL, NULL, NULL, NULL, '1594481410.1496282.jpeg', '2020-07-11 21:00:13'),
(178, 106, '5f0c544d95a23.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG_20200713_180210763.jpg', '2020-07-13 18:02:17'),
(179, 107, '5f0c64e5f25ea.mp4', 'image/png', 0, NULL, NULL, NULL, NULL, 'ea92822e4abaa0113fa8ce640428a61e.0p.mp4', '2020-07-13 19:14:23'),
(180, 108, '5f0cc2a0a1193.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'IMG-20200714-WA0000.jpg', '2020-07-14 01:52:59'),
(181, 108, '5f0cc2a0a1182.jpg', 'image/png', 0, NULL, NULL, NULL, NULL, 'Screenshot_20200714-011750.jpg', '2020-07-14 01:52:59');

-- --------------------------------------------------------

--
-- Table structure for table `tblnotifications`
--

CREATE TABLE `tblnotifications` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `isread` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `isread_inline` tinyint(1) NOT NULL DEFAULT '0',
  `date` datetime NOT NULL,
  `description` text NOT NULL,
  `fromuserid` bigint(20) UNSIGNED NOT NULL,
  `fromclientid` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `from_fullname` varchar(100) NOT NULL,
  `touserid` bigint(20) UNSIGNED NOT NULL,
  `fromcompany` bigint(20) UNSIGNED DEFAULT NULL,
  `link` mediumtext,
  `additional_data` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblnotifications`
--

INSERT INTO `tblnotifications` (`tenant_id`, `id`, `isread`, `isread_inline`, `date`, `description`, `fromuserid`, `fromclientid`, `from_fullname`, `touserid`, `fromcompany`, `link`, `additional_data`) VALUES
(1, 1, 0, 0, '2020-06-05 19:48:47', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=5', 'a:1:{i:0;s:9:\"nvkv hxhf\";}'),
(1, 2, 0, 0, '2020-06-05 19:50:28', 'not_assigned_lead_to_you', 0, 0, '', 65, NULL, '#leadid=6', 'a:1:{i:0;s:9:\"gshs hshs\";}'),
(1, 3, 0, 0, '2020-06-05 20:02:43', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=7', 'a:1:{i:0;s:13:\"gegeyehe yehe\";}'),
(1, 4, 0, 0, '2020-06-05 20:04:40', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=8', 'a:1:{i:0;s:13:\"gegeyehe yehe\";}'),
(1, 5, 1, 1, '2020-06-05 20:07:37', 'not_assigned_lead_to_you', 0, 0, '', 1, NULL, '#leadid=9', 'a:1:{i:0;s:10:\"bsbd hdhdh\";}'),
(1, 6, 0, 0, '2020-06-05 20:09:46', 'not_assigned_lead_to_you', 0, 0, '', 63, NULL, '#leadid=10', 'a:1:{i:0;s:9:\"bdbf bdbf\";}'),
(1, 7, 1, 1, '2020-06-05 21:52:24', 'not_assigned_lead_to_you', 0, 0, '', 1, NULL, '#leadid=15', 'a:1:{i:0;s:10:\"Test shsjs\";}'),
(1, 8, 1, 1, '2020-06-05 21:53:19', 'not_assigned_lead_to_you', 0, 0, '', 1, NULL, '#leadid=16', 'a:1:{i:0;s:10:\"Test shsjs\";}'),
(1, 9, 1, 1, '2020-06-06 04:05:59', 'not_assigned_lead_to_you', 0, 0, '', 1, NULL, '#leadid=17', 'a:1:{i:0;s:14:\"Ajinkya  Sonar\";}'),
(1, 10, 0, 0, '2020-06-06 09:55:51', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=18', 'a:1:{i:0;s:9:\"Full lead\";}'),
(1, 11, 0, 0, '2020-06-06 13:51:07', 'not_assigned_lead_to_you', 0, 0, '', 59, NULL, '#leadid=1', 'a:1:{i:0;s:14:\"Ajinkya  Sonar\";}'),
(1, 12, 0, 0, '2020-06-06 13:58:43', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=2', 'a:1:{i:0;s:9:\"vsbs bdhs\";}'),
(1, 13, 1, 1, '2020-06-06 15:20:44', 'not_assigned_lead_to_you', 0, 0, '', 1, NULL, '#leadid=3', 'a:1:{i:0;s:8:\"Lead One\";}'),
(1, 14, 1, 1, '2020-06-15 21:01:30', 'not_customer_viewed_estimate', 0, 0, '', 1, 1, 'estimates/list_estimates/7', 'a:1:{i:0;s:10:\"EST-000007\";}'),
(1, 15, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 34, NULL, '#postid=1', NULL),
(1, 16, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 67, NULL, '#postid=1', NULL),
(1, 17, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 64, NULL, '#postid=1', NULL),
(1, 18, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 43, NULL, '#postid=1', NULL),
(1, 19, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 63, NULL, '#postid=1', NULL),
(1, 20, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 17, NULL, '#postid=1', NULL),
(1, 21, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 18, NULL, '#postid=1', NULL),
(1, 22, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 45, NULL, '#postid=1', NULL),
(1, 23, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 68, NULL, '#postid=1', NULL),
(1, 24, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 65, NULL, '#postid=1', NULL),
(1, 25, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 15, NULL, '#postid=1', NULL),
(1, 26, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 16, NULL, '#postid=1', NULL),
(1, 27, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 19, NULL, '#postid=1', NULL),
(1, 28, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 20, NULL, '#postid=1', NULL),
(1, 29, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 21, NULL, '#postid=1', NULL),
(1, 30, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 23, NULL, '#postid=1', NULL),
(1, 31, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 24, NULL, '#postid=1', NULL),
(1, 32, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 25, NULL, '#postid=1', NULL),
(1, 33, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 26, NULL, '#postid=1', NULL),
(1, 34, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 29, NULL, '#postid=1', NULL),
(1, 35, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 30, NULL, '#postid=1', NULL),
(1, 36, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 31, NULL, '#postid=1', NULL),
(1, 37, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 44, NULL, '#postid=1', NULL),
(1, 38, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 59, NULL, '#postid=1', NULL),
(1, 39, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 60, NULL, '#postid=1', NULL),
(1, 40, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 61, NULL, '#postid=1', NULL),
(1, 41, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 62, NULL, '#postid=1', NULL),
(1, 42, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 66, NULL, '#postid=1', NULL),
(1, 43, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 22, NULL, '#postid=1', NULL),
(1, 44, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 27, NULL, '#postid=1', NULL),
(1, 45, 0, 0, '2020-06-19 13:38:30', 'not_published_new_post', 1, 0, 'Spryox Admin', 28, NULL, '#postid=1', NULL),
(1, 46, 1, 1, '2020-06-20 03:26:14', 'not_event', 0, 0, '', 1, 1, 'utilities/calendar?eventid=1', 'a:1:{i:0;s:10:\"Coding Tas\";}'),
(1, 47, 0, 0, '2020-06-20 03:52:52', 'not_task_assigned_to_you', 1, 0, 'Spryox Admin', 17, NULL, '#taskid=3', 'a:1:{i:0;s:21:\"Testing Task Creation\";}'),
(1, 48, 0, 0, '2020-06-20 03:52:55', 'not_task_assigned_to_you', 1, 0, 'Spryox Admin', 58, NULL, '#taskid=3', 'a:1:{i:0;s:21:\"Testing Task Creation\";}'),
(1, 49, 0, 0, '2020-06-20 03:52:58', 'not_task_assigned_to_you', 1, 0, 'Spryox Admin', 39, NULL, '#taskid=3', 'a:1:{i:0;s:21:\"Testing Task Creation\";}'),
(1, 50, 0, 0, '2020-06-20 03:52:58', 'not_task_assigned_someone', 1, 0, 'Spryox Admin', 58, NULL, '#taskid=3', 'a:2:{i:0;s:13:\"chetan jadhav\";i:1;s:21:\"Testing Task Creation\";}'),
(1, 51, 0, 0, '2020-06-27 12:41:39', 'not_task_assigned_to_you', 1, 0, 'Spryox Admin', 34, NULL, '#taskid=5', 'a:1:{i:0;s:9:\"Task API \";}'),
(1, 52, 0, 0, '2020-06-27 12:41:43', 'not_task_assigned_to_you', 1, 0, 'Spryox Admin', 58, NULL, '#taskid=5', 'a:1:{i:0;s:9:\"Task API \";}'),
(1, 53, 0, 0, '2020-06-27 12:41:43', 'not_task_assigned_someone', 1, 0, 'Spryox Admin', 34, NULL, '#taskid=5', 'a:2:{i:0;s:12:\"Justin Smith\";i:1;s:9:\"Task API \";}'),
(1, 54, 0, 0, '2020-06-27 17:49:25', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=6', 'a:1:{i:0;N;}'),
(1, 55, 1, 1, '2020-06-27 17:49:26', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=6', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;N;}'),
(1, 56, 0, 0, '2020-06-27 17:49:26', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=6', 'a:1:{i:0;N;}'),
(1, 57, 1, 1, '2020-06-27 17:49:26', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=6', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;N;}'),
(1, 58, 0, 0, '2020-06-27 17:49:26', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=6', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;N;}'),
(1, 59, 0, 0, '2020-06-27 17:49:26', 'not_task_assigned_to_you', 0, 0, '', 17, NULL, '#taskid=6', 'a:1:{i:0;N;}'),
(1, 60, 1, 1, '2020-06-27 17:49:26', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=6', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;N;}'),
(1, 61, 0, 0, '2020-06-27 18:04:01', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=7', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 62, 1, 1, '2020-06-27 18:04:01', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=7', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 63, 0, 0, '2020-06-27 18:04:01', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=7', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 64, 1, 1, '2020-06-27 18:04:01', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=7', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 65, 0, 0, '2020-06-27 18:04:01', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=7', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 66, 0, 0, '2020-06-27 18:04:01', 'not_task_assigned_to_you', 0, 0, '', 17, NULL, '#taskid=7', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 67, 1, 1, '2020-06-27 18:04:02', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=7', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 68, 0, 0, '2020-06-27 18:04:02', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=7', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 69, 0, 0, '2020-06-27 18:04:02', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=7', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 70, 0, 0, '2020-06-29 10:55:32', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=8', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 71, 1, 1, '2020-06-29 10:55:32', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=8', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 72, 0, 0, '2020-06-29 10:55:32', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=8', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 73, 1, 1, '2020-06-29 10:55:32', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=8', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 74, 0, 0, '2020-06-29 10:55:32', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=8', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 75, 0, 0, '2020-06-29 10:55:32', 'not_task_assigned_to_you', 0, 0, '', 17, NULL, '#taskid=8', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 76, 1, 1, '2020-06-29 10:55:33', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=8', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 77, 0, 0, '2020-06-29 10:55:33', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=8', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 78, 0, 0, '2020-06-29 10:55:33', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=8', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 79, 0, 0, '2020-06-29 13:03:42', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=9', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 80, 1, 1, '2020-06-29 13:03:42', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=9', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 81, 0, 0, '2020-06-29 13:03:42', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=9', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 82, 1, 1, '2020-06-29 13:03:43', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=9', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 83, 0, 0, '2020-06-29 13:03:43', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=9', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:8:\"new task\";}'),
(1, 84, 0, 0, '2020-06-29 13:03:43', 'not_task_assigned_to_you', 0, 0, '', 17, NULL, '#taskid=9', 'a:1:{i:0;s:8:\"new task\";}'),
(1, 85, 1, 1, '2020-06-29 13:03:43', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=9', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 86, 0, 0, '2020-06-29 13:03:43', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=9', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 87, 0, 0, '2020-06-29 13:03:43', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=9', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:8:\"new task\";}'),
(1, 88, 0, 0, '2020-06-29 13:06:55', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=10', 'a:1:{i:0;s:16:\"Priority Testing\";}'),
(1, 89, 1, 1, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:16:\"Priority Testing\";}'),
(1, 90, 0, 0, '2020-06-29 13:06:56', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=10', 'a:1:{i:0;s:16:\"Priority Testing\";}'),
(1, 91, 1, 1, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:16:\"Priority Testing\";}'),
(1, 92, 0, 0, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:16:\"Priority Testing\";}'),
(1, 93, 0, 0, '2020-06-29 13:06:56', 'not_task_assigned_to_you', 0, 0, '', 17, NULL, '#taskid=10', 'a:1:{i:0;s:16:\"Priority Testing\";}'),
(1, 94, 1, 1, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=10', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:16:\"Priority Testing\";}'),
(1, 95, 0, 0, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=10', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:16:\"Priority Testing\";}'),
(1, 96, 0, 0, '2020-06-29 13:06:56', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=10', 'a:2:{i:0;s:14:\"Ketan Sakulkat\";i:1;s:16:\"Priority Testing\";}'),
(1, 97, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 98, 1, 1, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=11', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:13:\"Test Add task\";}'),
(1, 99, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_to_you', 0, 0, '', 45, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 100, 1, 1, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=11', 'a:2:{i:0;s:8:\"John Doe\";i:1;s:13:\"Test Add task\";}'),
(1, 101, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=11', 'a:2:{i:0;s:8:\"John Doe\";i:1;s:13:\"Test Add task\";}'),
(1, 102, 0, 0, '2020-06-29 23:19:33', 'not_task_will_do_user', 0, 0, '', 45, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 103, 0, 0, '2020-06-29 23:19:33', 'not_task_will_do_user', 0, 0, '', 61, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 104, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_to_you', 0, 0, '', 43, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 105, 1, 1, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=11', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Add task\";}'),
(1, 106, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 45, NULL, '#taskid=11', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Add task\";}'),
(1, 107, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=11', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Add task\";}'),
(1, 108, 0, 0, '2020-06-29 23:19:33', 'not_task_assigned_to_you', 0, 0, '', 64, NULL, '#taskid=11', 'a:1:{i:0;s:13:\"Test Add task\";}'),
(1, 109, 0, 0, '2020-06-29 23:19:34', 'not_task_assigned_someone', 0, 0, '', 43, NULL, '#taskid=11', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Add task\";}'),
(1, 110, 1, 1, '2020-06-29 23:19:34', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=11', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Add task\";}'),
(1, 111, 0, 0, '2020-06-29 23:19:34', 'not_task_assigned_someone', 0, 0, '', 45, NULL, '#taskid=11', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Add task\";}'),
(1, 112, 0, 0, '2020-06-29 23:19:34', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=11', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Add task\";}'),
(1, 113, 0, 0, '2020-06-29 23:29:15', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=12', 'a:1:{i:0;s:17:\"Test add Task iOS\";}'),
(1, 114, 1, 1, '2020-06-29 23:29:16', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=12', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:17:\"Test add Task iOS\";}'),
(1, 115, 0, 0, '2020-06-29 23:29:16', 'not_task_assigned_to_you', 0, 0, '', 43, NULL, '#taskid=12', 'a:1:{i:0;s:17:\"Test add Task iOS\";}'),
(1, 116, 1, 1, '2020-06-29 23:29:16', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=12', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:17:\"Test add Task iOS\";}'),
(1, 117, 0, 0, '2020-06-29 23:29:16', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=12', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:17:\"Test add Task iOS\";}'),
(1, 118, 0, 0, '2020-06-29 23:29:16', 'not_task_will_do_user', 0, 0, '', 43, NULL, '#taskid=12', 'a:1:{i:0;s:17:\"Test add Task iOS\";}'),
(1, 119, 0, 0, '2020-06-29 23:29:16', 'not_task_will_do_user', 0, 0, '', 61, NULL, '#taskid=12', 'a:1:{i:0;s:17:\"Test add Task iOS\";}'),
(1, 120, 0, 0, '2020-06-30 16:03:28', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 121, 0, 0, '2020-06-30 16:03:28', 'not_task_assigned_someone', 0, 0, '', 43, NULL, '#taskid=13', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:3:\"jrr\";}'),
(1, 122, 0, 0, '2020-06-30 16:03:29', 'not_task_assigned_to_you', 0, 0, '', 66, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 123, 0, 0, '2020-06-30 16:03:29', 'not_task_assigned_someone', 0, 0, '', 43, NULL, '#taskid=13', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:3:\"jrr\";}'),
(1, 124, 0, 0, '2020-06-30 16:03:29', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=13', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:3:\"jrr\";}'),
(1, 125, 1, 1, '2020-06-30 19:51:50', 'not_invoice_payment_recorded', 0, 0, '', 1, 1, 'invoices/list_invoices/5', 'a:1:{i:0;s:10:\"INV-000005\";}'),
(1, 126, 1, 1, '2020-06-30 19:52:06', 'not_invoice_payment_recorded', 0, 0, '', 1, 1, 'invoices/list_invoices/15', 'a:1:{i:0;s:10:\"INV-000015\";}'),
(1, 127, 1, 1, '2020-06-30 20:57:54', 'not_invoice_payment_recorded', 0, 0, '', 1, 1, 'invoices/list_invoices/15', 'a:1:{i:0;s:10:\"INV-000015\";}'),
(1, 128, 0, 0, '2020-06-30 23:26:07', 'not_invoice_payment_recorded', 0, 0, '', 43, 1, 'invoices/list_invoices/16', 'a:1:{i:0;s:10:\"INV-000016\";}'),
(1, 129, 0, 0, '2020-07-01 14:53:10', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=14', 'a:1:{i:0;s:16:\"Test Task Reload\";}'),
(1, 130, 1, 1, '2020-07-01 14:53:10', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=14', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:16:\"Test Task Reload\";}'),
(1, 131, 0, 0, '2020-07-01 14:53:10', 'not_task_will_do_user', 0, 0, '', 61, NULL, '#taskid=14', 'a:1:{i:0;s:16:\"Test Task Reload\";}'),
(1, 132, 0, 0, '2020-07-01 14:53:10', 'not_task_assigned_to_you', 0, 0, '', 64, NULL, '#taskid=14', 'a:1:{i:0;s:16:\"Test Task Reload\";}'),
(1, 133, 1, 1, '2020-07-01 14:53:11', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=14', 'a:2:{i:0;s:9:\"test test\";i:1;s:16:\"Test Task Reload\";}'),
(1, 134, 0, 0, '2020-07-01 14:53:11', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=14', 'a:2:{i:0;s:9:\"test test\";i:1;s:16:\"Test Task Reload\";}'),
(1, 135, 0, 0, '2020-07-01 14:53:11', 'not_task_assigned_to_you', 0, 0, '', 34, NULL, '#taskid=14', 'a:1:{i:0;s:16:\"Test Task Reload\";}'),
(1, 136, 0, 0, '2020-07-01 14:53:11', 'not_task_assigned_someone', 0, 0, '', 64, NULL, '#taskid=14', 'a:2:{i:0;s:12:\"Vikram Pawar\";i:1;s:16:\"Test Task Reload\";}'),
(1, 137, 1, 1, '2020-07-01 14:53:11', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=14', 'a:2:{i:0;s:12:\"Vikram Pawar\";i:1;s:16:\"Test Task Reload\";}'),
(1, 138, 0, 0, '2020-07-01 14:53:11', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=14', 'a:2:{i:0;s:12:\"Vikram Pawar\";i:1;s:16:\"Test Task Reload\";}'),
(1, 139, 1, 1, '2020-07-01 21:14:49', 'not_customer_viewed_invoice', 0, 0, '', 1, 1, 'invoices/list_invoices/17', 'a:1:{i:0;s:10:\"INV-000017\";}'),
(1, 140, 1, 1, '2020-07-02 00:32:53', 'not_customer_viewed_invoice', 0, 0, '', 1, 1, 'invoices/list_invoices/17', 'a:1:{i:0;s:10:\"INV-000017\";}'),
(1, 141, 1, 1, '2020-07-02 01:17:29', 'not_customer_viewed_invoice', 0, 0, '', 1, 1, 'invoices/list_invoices/10', 'a:1:{i:0;s:10:\"INV-000010\";}'),
(1, 142, 0, 0, '2020-07-02 18:34:14', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=15', 'a:1:{i:0;s:13:\"Test Relation\";}'),
(1, 143, 1, 1, '2020-07-02 18:34:14', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=15', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:13:\"Test Relation\";}'),
(1, 144, 0, 0, '2020-07-02 18:34:14', 'not_task_assigned_to_you', 0, 0, '', 64, NULL, '#taskid=15', 'a:1:{i:0;s:13:\"Test Relation\";}'),
(1, 145, 1, 1, '2020-07-02 18:34:14', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=15', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Relation\";}'),
(1, 146, 0, 0, '2020-07-02 18:34:15', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=15', 'a:2:{i:0;s:9:\"test test\";i:1;s:13:\"Test Relation\";}'),
(1, 147, 0, 0, '2020-07-02 18:34:15', 'not_task_assigned_to_you', 0, 0, '', 43, NULL, '#taskid=15', 'a:1:{i:0;s:13:\"Test Relation\";}'),
(1, 148, 0, 0, '2020-07-02 18:34:15', 'not_task_assigned_someone', 0, 0, '', 64, NULL, '#taskid=15', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Relation\";}'),
(1, 149, 1, 1, '2020-07-02 18:34:15', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=15', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Relation\";}'),
(1, 150, 0, 0, '2020-07-02 18:34:15', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=15', 'a:2:{i:0;s:11:\"Team Member\";i:1;s:13:\"Test Relation\";}'),
(1, 151, 0, 0, '2020-07-02 18:52:15', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 152, 1, 1, '2020-07-02 18:52:15', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=16', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:20:\"Test Relation again \";}'),
(1, 153, 0, 0, '2020-07-02 18:52:15', 'not_task_assigned_to_you', 0, 0, '', 63, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 154, 1, 1, '2020-07-02 18:52:16', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=16', 'a:2:{i:0;s:5:\"me ns\";i:1;s:20:\"Test Relation again \";}'),
(1, 155, 0, 0, '2020-07-02 18:52:16', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=16', 'a:2:{i:0;s:5:\"me ns\";i:1;s:20:\"Test Relation again \";}'),
(1, 156, 0, 0, '2020-07-02 18:52:16', 'not_task_assigned_to_you', 0, 0, '', 64, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 157, 1, 1, '2020-07-02 18:52:16', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=16', 'a:2:{i:0;s:9:\"test test\";i:1;s:20:\"Test Relation again \";}'),
(1, 158, 0, 0, '2020-07-02 18:52:16', 'not_task_assigned_someone', 0, 0, '', 63, NULL, '#taskid=16', 'a:2:{i:0;s:9:\"test test\";i:1;s:20:\"Test Relation again \";}'),
(1, 159, 0, 0, '2020-07-02 18:52:16', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=16', 'a:2:{i:0;s:9:\"test test\";i:1;s:20:\"Test Relation again \";}'),
(1, 160, 0, 0, '2020-07-02 20:47:10', 'not_task_assigned_to_you', 0, 0, '', 60, NULL, '#taskid=17', 'a:1:{i:0;s:21:\"Task without Relation\";}'),
(1, 161, 1, 1, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=17', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Task without Relation\";}'),
(1, 162, 0, 0, '2020-07-02 20:47:11', 'not_task_assigned_to_you', 0, 0, '', 45, NULL, '#taskid=17', 'a:1:{i:0;s:21:\"Task without Relation\";}'),
(1, 163, 1, 1, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=17', 'a:2:{i:0;s:8:\"John Doe\";i:1;s:21:\"Task without Relation\";}'),
(1, 164, 0, 0, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 60, NULL, '#taskid=17', 'a:2:{i:0;s:8:\"John Doe\";i:1;s:21:\"Task without Relation\";}'),
(1, 165, 0, 0, '2020-07-02 20:47:11', 'not_task_assigned_to_you', 0, 0, '', 63, NULL, '#taskid=17', 'a:1:{i:0;s:21:\"Task without Relation\";}'),
(1, 166, 1, 1, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=17', 'a:2:{i:0;s:5:\"me ns\";i:1;s:21:\"Task without Relation\";}'),
(1, 167, 0, 0, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 45, NULL, '#taskid=17', 'a:2:{i:0;s:5:\"me ns\";i:1;s:21:\"Task without Relation\";}'),
(1, 168, 0, 0, '2020-07-02 20:47:11', 'not_task_assigned_someone', 0, 0, '', 60, NULL, '#taskid=17', 'a:2:{i:0;s:5:\"me ns\";i:1;s:21:\"Task without Relation\";}'),
(1, 169, 0, 0, '2020-07-02 22:10:49', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=18', 'a:1:{i:0;s:12:\"New Task Add\";}'),
(1, 170, 1, 1, '2020-07-02 22:10:49', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=18', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:12:\"New Task Add\";}'),
(1, 171, 0, 0, '2020-07-02 22:10:49', 'not_task_assigned_to_you', 0, 0, '', 68, NULL, '#taskid=18', 'a:1:{i:0;s:12:\"New Task Add\";}'),
(1, 172, 1, 1, '2020-07-02 22:10:50', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=18', 'a:2:{i:0;s:13:\"bdbdbd bdbdbd\";i:1;s:12:\"New Task Add\";}'),
(1, 173, 0, 0, '2020-07-02 22:10:50', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=18', 'a:2:{i:0;s:13:\"bdbdbd bdbdbd\";i:1;s:12:\"New Task Add\";}'),
(1, 174, 0, 0, '2020-07-02 22:10:50', 'not_task_assigned_to_you', 0, 0, '', 63, NULL, '#taskid=18', 'a:1:{i:0;s:12:\"New Task Add\";}'),
(1, 175, 1, 1, '2020-07-02 22:10:50', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=18', 'a:2:{i:0;s:5:\"me ns\";i:1;s:12:\"New Task Add\";}'),
(1, 176, 0, 0, '2020-07-02 22:10:50', 'not_task_assigned_someone', 0, 0, '', 68, NULL, '#taskid=18', 'a:2:{i:0;s:5:\"me ns\";i:1;s:12:\"New Task Add\";}'),
(1, 177, 0, 0, '2020-07-02 22:10:50', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=18', 'a:2:{i:0;s:5:\"me ns\";i:1;s:12:\"New Task Add\";}'),
(1, 178, 0, 0, '2020-07-02 22:20:35', 'not_task_assigned_to_you', 0, 0, '', 20, NULL, '#taskid=10', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 179, 1, 1, '2020-07-02 22:20:35', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 180, 0, 0, '2020-07-02 22:20:35', 'not_task_assigned_someone', 0, 0, '', 17, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 181, 0, 0, '2020-07-02 22:20:35', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 182, 0, 0, '2020-07-02 22:20:35', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=10', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 183, 0, 0, '2020-07-02 22:20:41', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 184, 1, 1, '2020-07-02 22:20:41', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 185, 0, 0, '2020-07-02 22:20:41', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 186, 1, 1, '2020-07-02 22:20:42', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 187, 0, 0, '2020-07-02 22:20:42', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 188, 0, 0, '2020-07-02 22:20:42', 'not_task_assigned_to_you', 0, 0, '', 20, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 189, 1, 1, '2020-07-02 22:20:42', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 190, 0, 0, '2020-07-02 22:20:42', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 191, 0, 0, '2020-07-02 22:20:42', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=19', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 192, 0, 0, '2020-07-02 22:20:42', 'not_task_will_do_user', 0, 0, '', 15, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 193, 0, 0, '2020-07-02 22:20:42', 'not_task_will_do_user', 0, 0, '', 16, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 194, 0, 0, '2020-07-02 22:20:42', 'not_task_will_do_user', 0, 0, '', 20, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 195, 1, 1, '2020-07-03 00:33:55', 'not_customer_viewed_invoice', 0, 0, '', 1, 1, 'invoices/list_invoices/17', 'a:1:{i:0;s:10:\"INV-000017\";}'),
(1, 196, 0, 0, '2020-07-03 18:33:13', 'not_task_assigned_to_you', 0, 0, '', 15, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 197, 1, 1, '2020-07-03 18:33:13', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 198, 0, 0, '2020-07-03 18:33:13', 'not_task_assigned_to_you', 0, 0, '', 16, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 199, 1, 1, '2020-07-03 18:33:14', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 200, 0, 0, '2020-07-03 18:33:14', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 201, 0, 0, '2020-07-03 18:33:14', 'not_task_assigned_to_you', 0, 0, '', 20, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 202, 1, 1, '2020-07-03 18:33:14', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 203, 0, 0, '2020-07-03 18:33:14', 'not_task_assigned_someone', 0, 0, '', 15, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 204, 0, 0, '2020-07-03 18:33:14', 'not_task_assigned_someone', 0, 0, '', 16, NULL, '#taskid=20', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:21:\"Priority name updated\";}'),
(1, 205, 0, 0, '2020-07-03 18:33:14', 'not_task_will_do_user', 0, 0, '', 15, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 206, 0, 0, '2020-07-03 18:33:14', 'not_task_will_do_user', 0, 0, '', 16, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 207, 0, 0, '2020-07-03 18:33:14', 'not_task_will_do_user', 0, 0, '', 20, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 208, 1, 1, '2020-07-04 13:15:13', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=1', 'a:1:{i:0;s:4:\"TEst\";}'),
(1, 209, 1, 1, '2020-07-04 14:20:19', 'not_task_unmarked_as_complete', 0, 0, '', 1, NULL, '#taskid=1', 'a:1:{i:0;s:4:\"TEst\";}'),
(1, 210, 1, 1, '2020-07-04 14:28:25', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=2', 'a:1:{i:0;s:36:\"Task created to speed up development\";}'),
(1, 211, 1, 1, '2020-07-04 16:31:21', 'not_task_unmarked_as_complete', 0, 0, '', 1, NULL, '#taskid=2', 'a:1:{i:0;s:36:\"Task created to speed up development\";}'),
(1, 212, 1, 1, '2020-07-04 16:41:15', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 213, 0, 0, '2020-07-04 16:41:16', 'not_task_marked_as_complete', 0, 0, '', 15, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 214, 0, 0, '2020-07-04 16:41:16', 'not_task_marked_as_complete', 0, 0, '', 16, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 215, 0, 0, '2020-07-04 16:41:16', 'not_task_marked_as_complete', 0, 0, '', 20, NULL, '#taskid=20', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 216, 1, 1, '2020-07-04 16:43:25', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=18', 'a:1:{i:0;s:26:\"New Task Edit notification\";}'),
(1, 217, 0, 0, '2020-07-04 16:43:25', 'not_task_marked_as_complete', 0, 0, '', 68, NULL, '#taskid=18', 'a:1:{i:0;s:26:\"New Task Edit notification\";}'),
(1, 218, 0, 0, '2020-07-04 16:43:25', 'not_task_marked_as_complete', 0, 0, '', 61, NULL, '#taskid=18', 'a:1:{i:0;s:26:\"New Task Edit notification\";}'),
(1, 219, 0, 0, '2020-07-04 17:19:15', 'not_task_marked_as_complete', 0, 0, '', 64, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 220, 1, 1, '2020-07-04 17:19:15', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 221, 0, 0, '2020-07-04 17:19:15', 'not_task_marked_as_complete', 0, 0, '', 63, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 222, 0, 0, '2020-07-04 17:19:16', 'not_task_marked_as_complete', 0, 0, '', 61, NULL, '#taskid=16', 'a:1:{i:0;s:20:\"Test Relation again \";}'),
(1, 223, 1, 1, '2020-07-04 18:00:20', 'not_task_marked_as_complete', 0, 0, '', 1, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 224, 0, 0, '2020-07-04 18:00:21', 'not_task_marked_as_complete', 0, 0, '', 15, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 225, 0, 0, '2020-07-04 18:00:21', 'not_task_marked_as_complete', 0, 0, '', 16, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 226, 0, 0, '2020-07-04 18:00:21', 'not_task_marked_as_complete', 0, 0, '', 20, NULL, '#taskid=19', 'a:1:{i:0;s:21:\"Priority name updated\";}'),
(1, 227, 0, 0, '2020-07-04 22:40:46', 'not_task_marked_as_complete', 0, 0, '', 43, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 228, 0, 0, '2020-07-04 22:40:47', 'not_task_marked_as_complete', 0, 0, '', 61, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 229, 0, 0, '2020-07-04 22:40:47', 'not_task_marked_as_complete', 0, 0, '', 66, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 230, 1, 1, '2020-07-04 23:07:22', 'not_customer_viewed_invoice', 0, 0, '', 1, 1, 'invoices/list_invoices/17', 'a:1:{i:0;s:10:\"INV-000017\";}'),
(1, 231, 0, 0, '2020-07-06 16:32:11', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 232, 0, 0, '2020-07-06 16:33:09', 'not_task_assigned_to_you', 0, 0, '', 68, NULL, '#taskid=13', 'a:1:{i:0;s:3:\"jrr\";}'),
(1, 233, 0, 0, '2020-07-06 16:33:09', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=13', 'a:2:{i:0;s:13:\"bdbdbd bdbdbd\";i:1;s:3:\"jrr\";}'),
(1, 234, 0, 0, '2020-07-08 01:38:34', 'not_task_assigned_to_you', 0, 0, '', 61, NULL, '#taskid=21', 'a:1:{i:0;s:19:\"Adding new task Nav\";}'),
(1, 235, 1, 1, '2020-07-08 01:38:35', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=21', 'a:2:{i:0;s:12:\"Akash Parmar\";i:1;s:19:\"Adding new task Nav\";}'),
(1, 236, 0, 0, '2020-07-08 01:38:35', 'not_task_assigned_to_you', 0, 0, '', 68, NULL, '#taskid=21', 'a:1:{i:0;s:19:\"Adding new task Nav\";}'),
(1, 237, 1, 1, '2020-07-08 01:38:35', 'not_task_assigned_someone', 0, 0, '', 1, NULL, '#taskid=21', 'a:2:{i:0;s:13:\"bdbdbd bdbdbd\";i:1;s:19:\"Adding new task Nav\";}'),
(1, 238, 0, 0, '2020-07-08 01:38:35', 'not_task_assigned_someone', 0, 0, '', 61, NULL, '#taskid=21', 'a:2:{i:0;s:13:\"bdbdbd bdbdbd\";i:1;s:19:\"Adding new task Nav\";}'),
(1, 239, 0, 0, '2020-07-08 01:59:34', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=4', 'a:1:{i:0;s:9:\"Full lead\";}'),
(1, 240, 0, 0, '2020-07-08 01:59:48', 'not_assigned_lead_to_you', 0, 0, '', 34, NULL, '#leadid=5', 'a:1:{i:0;s:9:\"Full lead\";}'),
(1, 241, 0, 0, '2020-07-08 02:06:44', 'not_assigned_lead_to_you', 0, 0, '', 45, NULL, '#leadid=6', 'a:1:{i:0;s:12:\"Krushna Bade\";}'),
(1, 242, 0, 0, '2020-07-08 02:10:15', 'not_assigned_lead_to_you', 0, 0, '', 44, NULL, '#leadid=7', 'a:1:{i:0;s:15:\"Akash  Parmar 1\";}'),
(1, 243, 0, 0, '2020-07-08 02:14:12', 'not_assigned_lead_to_you', 0, 0, '', 67, NULL, '#leadid=8', 'a:1:{i:0;s:14:\"Leads  Testing\";}'),
(1, 244, 0, 0, '2020-07-08 02:18:10', 'not_assigned_lead_to_you', 0, 0, '', 43, NULL, '#leadid=9', 'a:1:{i:0;s:24:\"Default  Lead I’d test\";}'),
(1, 245, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 34, NULL, '#postid=2', NULL),
(1, 246, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 67, NULL, '#postid=2', NULL),
(1, 247, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 64, NULL, '#postid=2', NULL),
(1, 248, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 43, NULL, '#postid=2', NULL),
(1, 249, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 63, NULL, '#postid=2', NULL),
(1, 250, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 17, NULL, '#postid=2', NULL),
(1, 251, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 18, NULL, '#postid=2', NULL),
(1, 252, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 45, NULL, '#postid=2', NULL),
(1, 253, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 68, NULL, '#postid=2', NULL),
(1, 254, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 65, NULL, '#postid=2', NULL),
(1, 255, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 15, NULL, '#postid=2', NULL),
(1, 256, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 16, NULL, '#postid=2', NULL),
(1, 257, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 19, NULL, '#postid=2', NULL),
(1, 258, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 20, NULL, '#postid=2', NULL),
(1, 259, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 21, NULL, '#postid=2', NULL),
(1, 260, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 23, NULL, '#postid=2', NULL),
(1, 261, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 24, NULL, '#postid=2', NULL),
(1, 262, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 25, NULL, '#postid=2', NULL),
(1, 263, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 26, NULL, '#postid=2', NULL),
(1, 264, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 29, NULL, '#postid=2', NULL),
(1, 265, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 30, NULL, '#postid=2', NULL),
(1, 266, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 31, NULL, '#postid=2', NULL),
(1, 267, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 44, NULL, '#postid=2', NULL),
(1, 268, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 59, NULL, '#postid=2', NULL),
(1, 269, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 60, NULL, '#postid=2', NULL),
(1, 270, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 61, NULL, '#postid=2', NULL),
(1, 271, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 62, NULL, '#postid=2', NULL),
(1, 272, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 66, NULL, '#postid=2', NULL),
(1, 273, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 22, NULL, '#postid=2', NULL),
(1, 274, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 27, NULL, '#postid=2', NULL),
(1, 275, 0, 0, '2020-07-10 20:05:09', 'not_published_new_post', 1, 0, 'Spryox Admin', 28, NULL, '#postid=2', NULL);

-- --------------------------------------------------------

--
