ALTER TABLE `ma_Tribe` ADD `memorandum` TEXT NOT NULL AFTER `merchantId`, ADD `rawMemorandum` TEXT NOT NULL AFTER `memorandum`; ALTER TABLE `ma_LicenseTribe` CHANGE `status` `status` ENUM('pending','approved','declined','approved_pending','expired','memorandum_pending') CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'pending'; -- ------------------------------- -- ------------------------------- INSERT INTO `ma_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES ('licenseNeedAgreeUserHeader', 7, 'header', '', 'License Needs Agree with Vendor Policy Memorandum (Vendor Users Notification)', '', '', 'n', 'n', 550, '2019-06-19 00:00:00', '2019-06-19 00:00:00'), ('licenseNeedAgreeUserSubject', 7, 'text', 'Subject', 'License #{id} needs Agree with Vendor Policy Memorandum ("{tribe}" tribe)', '', '', 'y', 'n', 560, '2019-06-19 00:00:00', '2019-06-19 00:00:00'), ('licenseNeedAgreeUserFrom', 7, 'text', 'From Email Address If you leave this field empty - the From Email Address will be the same as the one in General Settings.', '', '', '', 'n', 'n', 570, '2019-06-19 00:00:00', '2019-06-19 00:00:00'), ('licenseNeedAgreeUserBody', 7, 'HtmlEditor', 'Message Body', '
License #{id} needs Agree to the Terms and Conditions contained in the Vendor Policy Memorandum:
\r\n\r\nTribe: {tribe}
License #: {id}
\r\n
DBA Name: {vendorDbaName}
\r\nSole Proprietor: {vendorSoleProprietorName}
\r\nFederal ID: {vendorFederalId}
\r\nPhone: {vendorPhone}
Go to Agreement page or Licensing section of the website.
\r\n', '', 'Constants: {id} {vendorDbaName} {vendorSoleProprietorName} {vendorFederalId} {vendorPhone} {licenseSectionUrl} {agreeUrl} {tribe}', 'y', 'n', 580, '2019-06-19 00:00:00', '2019-06-19 00:00:00'); INSERT INTO `ma_SettingsOptions` (`name`, `variable`, `value`, `type`, `sorter`) VALUES ('licenseNeedAgreeUserBody', 'mode', 'view', 'string', NULL);