//4-4-2019 INSERT INTO `permissions` (`id`, `label`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES (NULL, 'CreateDaily Reports', 'reports.createdaily', 'web', NULL, NULL), (NULL, 'CreatePast Reports', 'reports.createpast', 'web', NULL, NULL); INSERT INTO `permissions` (`id`, `label`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES (NULL, 'GetDaily Reports', 'reports.getdaily', 'web', NULL, NULL), (NULL, 'CreateCustom Items', 'items.customcreate', 'web', NULL, NULL), (NULL, 'PrintSales Reports', 'reports.printsales', 'web', NULL, NULL), (NULL, 'GetAllSale Reports', 'reports.getsalereport', 'web', NULL, NULL); INSERT INTO `general_settings` (`id`, `site_name`, `cur_text`, `cur_sym`, `email_from`, `mail_config`, `sms_config`, `global_shortcodes`, `created_at`, `updated_at`) VALUES (1, 'Purewellness', 'KES', 'KES', 'notify@wstacks.com','{\"name\":\"smtp\",\"host\":\"uat.lifelinesafaris.com\",\"port\":\"587\",\"enc\":\"tls\",\"username\":\"adminlifeline@uat.lifelinesafaris.com\",\"password\":\"lifelineafrica@2023\"}', '{\"name\":\"messageBird\",\"clickatell\":{\"api_key\":\"----------------\"},\"infobip\":{\"username\":\"------------8888888\",\"password\":\"-----------------\"},\"message_bird\":{\"api_key\":\"-------------------\"},\"nexmo\":{\"api_key\":\"----------------------\",\"api_secret\":\"----------------------\"},\"sms_broadcast\":{\"username\":\"----------------------\",\"password\":\"-----------------------------\"},\"twilio\":{\"account_sid\":\"-----------------------\",\"auth_token\":\"---------------------------\",\"from\":\"----------------------\"},\"text_magic\":{\"username\":\"-----------------------\",\"apiv2_key\":\"-------------------------------\"},\"custom\":{\"method\":\"get\",\"url\":\"https:\\/\\/hostname\\/demo-api-v1\",\"headers\":{\"name\":[\"api_key\"],\"value\":[\"test_api 555\"]},\"body\":{\"name\":[\"from_number\"],\"value\":[\"5657545757\"]}}}', '{\n \"site_name\":\"Name of your site\",\n \"site_currency\":\"Currency of your site\",\n \"currency_symbol\":\"Symbol of currency\"\n}', NULL, '2024-03-01 20:56:22'); CREATE TABLE `admin_notifications` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` int(10) UNSIGNED NOT NULL DEFAULT 0, `title` varchar(255) DEFAULT NULL, `read_status` tinyint(1) NOT NULL DEFAULT 0, `click_url` text DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; php artisan queue:work INSERT INTO `notification_templates` ( `id`, `name`, `subject`, `email_content`, `sms_content`, `shortcodes`, `created_at`, `updated_at` ) VALUES ( 1, 'INVOICE_NOTIFICATION', 'Invoice Notification', '
Dear {{customer_name}},
Your invoice has been generated with the following details:
Invoice Number: {{invoice_no}}
Amount: {{site_currency}}{{amount}}
Payment Date: {{payment_date}}
Units Consumed: {{units}}
Thank you for your prompt payment.
Best regards,
{{site_name}}
', 'Dear {{customer_name}},\r\n\r\nYour invoice has been generated with Invoice Number: {{invoice_no}}. The total amount is {{site_currency}}{{amount}}. Payment Date: {{payment_date}}. Units Consumed: {{units}}.\r\n\r\nThank you for your prompt payment.\r\n\r\nBest regards,\r\n{{site_name}}', '{\"invoice_no\":\"Invoice number\",\"amount\":\"Amount to be paid\",\"payment_date\":\"Invoice Payment Date\",\"units\":\"Units consumed\",\"customer_name\":\"Customer name\",\"site_name\":\"Website name\",\"site_currency\":\"Currency symbol\"}', NOW(), NOW() ); INSERT INTO `notification_templates` ( `name`, `subject`, `email_content`, `sms_content`, `shortcodes`, `created_at`, `updated_at` ) VALUES ( 'INVOICE_NOTIFICATION_FOR_INSTALLATION', 'Installation Invoice', 'Dear {{customer_name}},
Your installation invoice ({{invoice_no}}) is ready.
Amount: {{site_currency}}{{amount}}
Account Number: {{account_number}}
Quick Payment: Click here to pay via M-Pesa STK Push
Manual Payment Details: {{manual_payment_details}}
Please make payment at your earliest convenience.
Regards,
{{site_name}}
Dear {{customer_name}},
Your new login password is {{password}}. Please use this password to log in to your account.
For security reasons, we recommend changing your password after logging in.
Best regards,
{{site_name}}
', 'Dear {{customer_name}},\r\n\r\nYour new login password is {{password}}. Please use this password to log in. For security reasons, we recommend changing your password after logging in.\r\n\r\nBest regards,\r\n{{site_name}}', '{\"password\":\"Temporary login password\",\"customer_name\":\"Customer name\",\"site_name\":\"Website name\"}', NOW(), NOW() ); INSERT INTO `notification_templates` ( `id`, `name`, `subject`, `email_content`, `sms_content`, `shortcodes`, `created_at`, `updated_at` ) VALUES ( 3, 'REQUEST_COMPLETION_NOTIFICATION', 'Commission Earned for Request #{{request_id}}', 'Dear {{customer_name}},
Your request #{{request_id}} has been fully completed.
You have earned a commission of KES {{commission_amount}}.
Thank you for your service.
Best regards,
{{site_name}}
Dear {{customer_name}},
We are pleased to inform you that your account has been successfully activated on {{converted_at}}.
Customer ID: {{uniquecustomer_id}}
Meter Number: {{meter_number}}
Initial Meter Reading: {{initial_reading}}
Thank you for choosing our services. Please contact us if you have any questions.
Best regards,
{{site_name}}
Dear {{customer_name}},
We have successfully received your payment for the installation invoice.
Invoice Type: {{invoice_type}}
Invoice Number: {{invoice_no}}
Amount Paid: {{amount}}
Account Number: {{account_number}}
Thank you for your payment. Please contact us if you have any questions.
Best regards,
{{site_name}}
Dear {{customer_name}},
A new meter reading has been recorded for your account.
Account Number: {{account_number}}
Invoice Number: {{invoice_no}}
Amount Due: {{amount}}
Units Consumed: {{units}}
Reading Date: {{reading_date}}
Payment Methods:
1. Quick Pay: Pay online instantly at {{quick_pay_url}}
2. M-Pesa Paybill:
- Paybill Number: {{paybill_number}}
- Account Number: {{account_number}}
- Amount: {{amount}}
Please make the payment at your earliest convenience. Contact us for any questions.
Best regards,
{{site_name}}
Dear {{customer_name}},
A credit note has been issued for your account.
Account Number: {{account_number}}
Credit Note Number: {{credit_note_number}}
Invoice Number: {{invoice_no}}
Credit Amount: {{amount}}
Issue Date: {{issue_date}}
Notes: {{notes}}
This credit has been applied to your account, reducing the balance of invoice {{invoice_no}}. For further details, contact us.
Best regards,
{{site_name}}
Dear {{customer_name}},
A new water token has been generated for your account {{account_number}}.
Token: {{token}}
Credits: {{credits}} liters
Valid Until: {{expiry_date}}
Please use this token to load your smart meter. Contact us for any issues.
Best regards,
{{site_name}}