DROP TABLE IF EXISTS `restaurantbooking_bookings`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_bookings` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `uuid` int(10) unsigned default NULL,
  `locale_id` int(10) unsigned default NULL,
  `dt` datetime default NULL,
  `dt_to` datetime default NULL,
  `people` smallint(5) unsigned default NULL,
  `code` varchar(255) default NULL,
  `total` decimal(9,2) unsigned default NULL,
  `payment_method` VARCHAR(255) default NULL,
  `is_paid` enum('T','F') default 'F',
  `status` enum('confirmed','cancelled','pending','enquiry') default 'pending',
  `txn_id` varchar(255) default NULL,
  `processed_on` datetime default NULL,
  `created` datetime default NULL,
  `ip` varchar(255) default NULL,
  `c_title` varchar(255) default NULL,
  `c_fname` varchar(255) default NULL,
  `c_lname` varchar(255) default NULL,
  `c_phone` varchar(255) default NULL,
  `c_email` varchar(255) default NULL,
  `c_company` varchar(255) default NULL,
  `c_notes` text,
  `c_address` varchar(255) default NULL,
  `c_city` varchar(255) default NULL,
  `c_state` varchar(255) default NULL,
  `c_zip` varchar(255) default NULL,
  `c_country` int(10) unsigned default NULL,
  `cc_type` varchar(255) default NULL,
  `cc_num` varchar(255) default NULL,
  `cc_exp` varchar(255) default NULL,
  `cc_code` varchar(255) default NULL,
  `reminder_email` tinyint(1) unsigned default '0',
  `reminder_sms` tinyint(1) unsigned default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `uuid` (`uuid`),
  KEY `dt` (`dt`),
  KEY `dt_to` (`dt_to`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_bookings_tables`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_bookings_tables` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `booking_id` int(10) unsigned default NULL,
  `table_id` int(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `booking_table_id` (`booking_id`,`table_id`),
  KEY `booking_id` (`booking_id`),
  KEY `table_id` (`table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_tables`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_tables` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `width` smallint(5) unsigned default NULL,
  `height` smallint(5) unsigned default NULL,
  `top` smallint(5) unsigned default NULL,
  `left` smallint(5) unsigned default NULL,
  `name` varchar(255) default NULL,
  `seats` smallint(5) unsigned default NULL,
  `minimum` smallint(5) unsigned default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_working_times`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_working_times` (
  `id` int(10) unsigned NOT NULL default '0',
  `monday_from` time default NULL,
  `monday_to` time default NULL,
  `monday_dayoff` enum('T','F') default 'F',
  `tuesday_from` time default NULL,
  `tuesday_to` time default NULL,
  `tuesday_dayoff` enum('T','F') default 'F',
  `wednesday_from` time default NULL,
  `wednesday_to` time default NULL,
  `wednesday_dayoff` enum('T','F') default 'F',
  `thursday_from` time default NULL,
  `thursday_to` time default NULL,
  `thursday_dayoff` enum('T','F') default 'F',
  `friday_from` time default NULL,
  `friday_to` time default NULL,
  `friday_dayoff` enum('T','F') default 'F',
  `saturday_from` time default NULL,
  `saturday_to` time default NULL,
  `saturday_dayoff` enum('T','F') default 'F',
  `sunday_from` time default NULL,
  `sunday_to` time default NULL,
  `sunday_dayoff` enum('T','F') default 'F',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_dates`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_dates` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `date` date DEFAULT NULL,
  `start_time` time default NULL,
  `end_time` time default NULL,
  `is_dayoff` enum('T','F') default 'F',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `date` (`date`),
  KEY `is_dayoff` (`is_dayoff`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_options`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_options` (
  `foreign_id` int(10) unsigned NOT NULL DEFAULT '0',
  `key` varchar(255) NOT NULL DEFAULT '',
  `tab_id` tinyint(3) unsigned DEFAULT NULL,
  `value` text,
  `label` text,
  `type` enum('string','text','int','float','enum','bool') NOT NULL DEFAULT 'string',
  `order` int(10) unsigned DEFAULT NULL,
  `is_visible` tinyint(1) unsigned DEFAULT '1',
  `style` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`foreign_id`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_users`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `role_id` int(10) unsigned NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `password` blob,
  `name` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `created` datetime NOT NULL,
  `last_login` datetime DEFAULT NULL,
  `status` enum('T','F') NOT NULL DEFAULT 'T',
  `is_active` enum('T','F') NOT NULL DEFAULT 'F',
  `ip` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`),
  KEY `role_id` (`role_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `restaurantbooking_notifications`;
CREATE TABLE IF NOT EXISTS `restaurantbooking_notifications` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `recipient` enum('client','admin') DEFAULT NULL,
  `transport` enum('email','sms') DEFAULT NULL,
  `variant` varchar(30) DEFAULT NULL,
  `is_active` tinyint(1) unsigned DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `recipient` (`recipient`,`transport`,`variant`),
  KEY `is_active` (`is_active`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;

INSERT IGNORE INTO `restaurantbooking_notifications` (`id`, `recipient`, `transport`, `variant`, `is_active`) VALUES
(1, 'client', 'email', 'confirmation', 1),
(2, 'client', 'email', 'payment', 1),
(3, 'client', 'email', 'enquiry', 1),
(4, 'client', 'email', 'cancel', 1),
(5, 'admin', 'email', 'confirmation', 1),
(6, 'admin', 'email', 'payment', 1),
(7, 'admin', 'email', 'enquiry', 1),
(8, 'admin', 'email', 'cancel', 1);


INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, 1, 'pjNotification', '::LOCALE::', 'subject', 'Confirmation message', 'script'),
(NULL, 1, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just made a booking.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br />If you want to cancel your booking follow next link: {CancelURL}<br /><br />Thank you, we will contact you ASAP.</p>', 'script'),
(NULL, 2, 'pjNotification', '::LOCALE::', 'subject', 'Payment message', 'script'),
(NULL, 2, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just made a booking.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br />If you want to cancel your booking follow next link: {CancelURL}<br /><br />Thank you, we will contact you ASAP.</p>', 'script'),
(NULL, 3, 'pjNotification', '::LOCALE::', 'subject', 'Enquiry message', 'script'),
(NULL, 3, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just made an enquiry.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Enquiry details:<br />Date/Time From: {DtFrom}<br />People: {People}<br />Unique ID: {UniqueID}<br /><br />If you want to cancel your enquiry follow next link: {CancelURL}<br /><br />Thank you, we will contact you ASAP.</p>', 'script'),
(NULL, 4, 'pjNotification', '::LOCALE::', 'subject', 'Cancel booking message', 'script'),
(NULL, 4, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just cancel a booking.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br />Thank you!</p>', 'script'),
(NULL, 5, 'pjNotification', '::LOCALE::', 'subject', 'Confirmation message', 'script'),
(NULL, 5, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just received a booking.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br />Thank you!</p>', 'script'),
(NULL, 6, 'pjNotification', '::LOCALE::', 'subject', 'Payment message', 'script'),
(NULL, 6, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just receive the payment for the following booking.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br /><br />Thank you!</p>', 'script'),
(NULL, 7, 'pjNotification', '::LOCALE::', 'subject', 'Enquiry message', 'script'),
(NULL, 7, 'pjNotification', '::LOCALE::', 'message', '<p>You''ve just received an enquiry.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Enquiry details:<br />Date/Time From: {DtFrom}<br />People: {People}<br />Unique ID: {UniqueID}<br /><br /><br />Thank you!</p>', 'script'),
(NULL, 8, 'pjNotification', '::LOCALE::', 'subject', 'Cancel booking message', 'script'),
(NULL, 8, 'pjNotification', '::LOCALE::', 'message', '<p>A booking has been cancelled.<br /><br />Personal details:<br />Title: {Title}<br />First Name: {FirstName}<br />Last Name: {LastName}<br />E-Mail: {Email}<br />Phone: {Phone}<br />Notes: {Notes}<br />Country: {Country}<br />City: {City}<br />State: {State}<br />Zip: {Zip}<br />Address: {Address}<br />Company: {Company}<br /><br />Booking details:<br />Date/Time From: {DtFrom}<br />Table: {Table}<br />People: {People}<br />Booking ID: {BookingID}<br />Unique ID: {UniqueID}<br />Total: {Total}<br /><br />Thank you!</p>', 'script');


INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'backend', 'backend', 'Backend titles', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Back-end titles', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'created', 'backend', 'Created', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'DateTime', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'frontend', 'backend', 'Front-end titles', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Front-end titles', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingAddressBody', 'backend', 'Infobox / Listing Address Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You can show a map with the location of the listing accommodation on the listing details page. Submit the full address first and then click on ''Get coordinates from Google Maps API'' button. Save your data.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingAddressTitle', 'backend', 'Infobox / Listing Address Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Location and address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingBookingsBody', 'backend', 'Infobox / Listing Bookings Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Reservations Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingBookingsTitle', 'backend', 'Infobox / Listing Bookings Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Reservation Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingContactBody', 'backend', 'Infobox / Listing Contact Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Contact Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingContactTitle', 'backend', 'Infobox / Listing Contact Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Contact Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingExtendBody', 'backend', 'Infobox / Extend exp.date Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Extend exp.date Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingExtendTitle', 'backend', 'Infobox / Extend exp.date Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Extend exp.date Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingPricesBody', 'backend', 'Infobox / Listing Prices Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Prices Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoListingPricesTitle', 'backend', 'Infobox / Listing Prices Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Listing Prices Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesArraysBody', 'backend', 'Locale / Languages Array Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Array Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesArraysTitle', 'backend', 'Locale / Languages Array Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Arrays Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesBackendBody', 'backend', 'Infobox / Locales Backend Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Backend Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesBackendTitle', 'backend', 'Infobox / Locales Backend Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Backend Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesBody', 'backend', 'Infobox / Locales Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesFrontendBody', 'backend', 'Infobox / Locales Frontend Body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Frontend Body', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesFrontendTitle', 'backend', 'Infobox / Locales Frontend Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Frontend Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoLocalesTitle', 'backend', 'Infobox / Locales Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblError', 'backend', 'Error', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Error', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblNo', 'backend', 'No', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblOption', 'backend', 'Option', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Option', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblOptionList', 'backend', 'Option list', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Option list', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblType', 'backend', 'Type', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Type', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdateUser', 'backend', 'Update user', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update user', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblValue', 'backend', 'Value', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Value', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblYes', 'backend', 'Yes', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Yes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lnkBack', 'backend', 'Link Back', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Back', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'localeArrays', 'backend', 'Locale / Arrays titles', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Arrays titles', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'locales', 'backend', 'Languages', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Languages', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'locale_flag', 'backend', 'Locale / Flag', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Flag', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'locale_is_default', 'backend', 'Locale / Is default', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Is default', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'locale_order', 'backend', 'Locale / Order', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Order', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'locale_title', 'backend', 'Locale / Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuPlugins', 'backend', 'Menu Plugins', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Plugins', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'multilangTooltip', 'backend', 'MultiLang / Tooltip', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Select a language by clicking on the corresponding flag and update existing translation.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'url', 'backend', 'URL', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'URL', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'user', 'backend', 'Username', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Username', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_0', 'arrays', 'days_ARRAY_0', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Sunday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_1', 'arrays', 'days_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Monday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_2', 'arrays', 'days_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Tuesday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_3', 'arrays', 'days_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Wednesday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_4', 'arrays', 'days_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Thursday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_5', 'arrays', 'days_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Friday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'days_ARRAY_6', 'arrays', 'days_ARRAY_6', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Saturday', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_0', 'arrays', 'day_names_ARRAY_0', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'S', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_1', 'arrays', 'day_names_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'M', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_2', 'arrays', 'day_names_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'T', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_3', 'arrays', 'day_names_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'W', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_4', 'arrays', 'day_names_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'T', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_5', 'arrays', 'day_names_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'F', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'day_names_ARRAY_6', 'arrays', 'day_names_ARRAY_6', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'S', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AA10', 'arrays', 'error_bodies_ARRAY_AA10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Given email address is not associated with any account.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AA11', 'arrays', 'error_bodies_ARRAY_AA11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'For further instructions please check your mailbox.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AA12', 'arrays', 'error_bodies_ARRAY_AA12', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'We are sorry, please try again later.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AA13', 'arrays', 'error_bodies_ARRAY_AA13', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All the changes made to your profile have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_ALC01', 'arrays', 'error_bodies_ARRAY_ALC01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All the changes made to titles have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO01', 'arrays', 'error_bodies_ARRAY_AO01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All the changes made to options have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AA10', 'arrays', 'error_titles_ARRAY_AA10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Account not found!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AA11', 'arrays', 'error_titles_ARRAY_AA11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Password send!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AA12', 'arrays', 'error_titles_ARRAY_AA12', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Password not send!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AA13', 'arrays', 'error_titles_ARRAY_AA13', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Profile updated!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB01', 'arrays', 'error_titles_ARRAY_AB01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Backup', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB02', 'arrays', 'error_titles_ARRAY_AB02', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Backup complete!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB03', 'arrays', 'error_titles_ARRAY_AB03', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Backup failed!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB04', 'arrays', 'error_titles_ARRAY_AB04', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Backup failed!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO01', 'arrays', 'error_titles_ARRAY_AO01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Options updated!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_1', 'arrays', 'months_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'January', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_10', 'arrays', 'months_ARRAY_10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'October', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_11', 'arrays', 'months_ARRAY_11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'November', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_12', 'arrays', 'months_ARRAY_12', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'December', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_2', 'arrays', 'months_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'February', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_3', 'arrays', 'months_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'March', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_4', 'arrays', 'months_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'April', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_5', 'arrays', 'months_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'May', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_6', 'arrays', 'months_ARRAY_6', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'June', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_7', 'arrays', 'months_ARRAY_7', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'July', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_8', 'arrays', 'months_ARRAY_8', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'August', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'months_ARRAY_9', 'arrays', 'months_ARRAY_9', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'September', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_dr', 'arrays', 'personal_titles_ARRAY_dr', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Dr.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_miss', 'arrays', 'personal_titles_ARRAY_miss', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Miss', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_mr', 'arrays', 'personal_titles_ARRAY_mr', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Mr.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_mrs', 'arrays', 'personal_titles_ARRAY_mrs', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Mrs.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_ms', 'arrays', 'personal_titles_ARRAY_ms', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Ms.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_other', 'arrays', 'personal_titles_ARRAY_other', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Other', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_prof', 'arrays', 'personal_titles_ARRAY_prof', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Prof.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'personal_titles_ARRAY_rev', 'arrays', 'personal_titles_ARRAY_rev', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Rev.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_1', 'arrays', 'short_months_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Jan', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_10', 'arrays', 'short_months_ARRAY_10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Oct', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_11', 'arrays', 'short_months_ARRAY_11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Nov', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_12', 'arrays', 'short_months_ARRAY_12', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Dec', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_2', 'arrays', 'short_months_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Feb', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_3', 'arrays', 'short_months_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Mar', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_4', 'arrays', 'short_months_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Apr', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_5', 'arrays', 'short_months_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'May', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_6', 'arrays', 'short_months_ARRAY_6', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Jun', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_7', 'arrays', 'short_months_ARRAY_7', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Jul', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_8', 'arrays', 'short_months_ARRAY_8', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Aug', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'short_months_ARRAY_9', 'arrays', 'short_months_ARRAY_9', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Sep', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_1', 'arrays', 'status_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You are not loged in.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_123', 'arrays', 'status_ARRAY_123', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your hosting account does not allow uploading such a large image.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_2', 'arrays', 'status_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Access denied. You have not requisite rights to.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_3', 'arrays', 'status_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Empty resultset.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_7', 'arrays', 'status_ARRAY_7', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'The operation is not allowed in demo mode.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_996', 'arrays', 'status_ARRAY_996', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No property for the reservation found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_997', 'arrays', 'status_ARRAY_997', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No reservation found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_998', 'arrays', 'status_ARRAY_998', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No permisions to edit the reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_999', 'arrays', 'status_ARRAY_999', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No permisions to edit the property', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_9997', 'arrays', 'status_ARRAY_9997', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'E-Mail address already exist', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_9998', 'arrays', 'status_ARRAY_9998', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your registration was successfull. Your account needs to be approved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'status_ARRAY_9999', 'arrays', 'status_ARRAY_9999', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your registration was successfull.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-10800', 'arrays', 'timezones_ARRAY_-10800', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-03:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-14400', 'arrays', 'timezones_ARRAY_-14400', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-04:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-18000', 'arrays', 'timezones_ARRAY_-18000', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-05:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-21600', 'arrays', 'timezones_ARRAY_-21600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-06:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-25200', 'arrays', 'timezones_ARRAY_-25200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-07:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-28800', 'arrays', 'timezones_ARRAY_-28800', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-08:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-32400', 'arrays', 'timezones_ARRAY_-32400', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-09:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-3600', 'arrays', 'timezones_ARRAY_-3600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-01:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-36000', 'arrays', 'timezones_ARRAY_-36000', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-10:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-39600', 'arrays', 'timezones_ARRAY_-39600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-11:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-43200', 'arrays', 'timezones_ARRAY_-43200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-12:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_-7200', 'arrays', 'timezones_ARRAY_-7200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT-02:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_0', 'arrays', 'timezones_ARRAY_0', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_10800', 'arrays', 'timezones_ARRAY_10800', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+03:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_14400', 'arrays', 'timezones_ARRAY_14400', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+04:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_18000', 'arrays', 'timezones_ARRAY_18000', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+05:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_21600', 'arrays', 'timezones_ARRAY_21600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+06:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_25200', 'arrays', 'timezones_ARRAY_25200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+07:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_28800', 'arrays', 'timezones_ARRAY_28800', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+08:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_32400', 'arrays', 'timezones_ARRAY_32400', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+09:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_3600', 'arrays', 'timezones_ARRAY_3600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+01:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_36000', 'arrays', 'timezones_ARRAY_36000', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+10:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_39600', 'arrays', 'timezones_ARRAY_39600', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+11:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_43200', 'arrays', 'timezones_ARRAY_43200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+12:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_46800', 'arrays', 'timezones_ARRAY_46800', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+13:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'timezones_ARRAY_7200', 'arrays', 'timezones_ARRAY_7200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'GMT+02:00', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuRestaurant', 'backend', 'Menu / Restaurant', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Restaurant', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuBooking', 'backend', 'Menu / Booking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuInstall', 'backend', 'Menu / Install', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Integration Code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuPreview', 'backend', 'Menu / Preview', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Preview', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingsTitle', 'backend', 'Infobox / Bookings title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingsBody', 'backend', 'Infobox / Bookings body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Modify the options below and click Save button.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO02', 'arrays', 'error_titles_ARRAY_AO02', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation options updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO02', 'arrays', 'error_bodies_ARRAY_AO02', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All changes made to the Reservation options have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_price', 'backend', 'Options / Deposit fee', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Deposit fee', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_price_text', 'backend', 'Options / Booking price text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'set default reservation price', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_length', 'backend', 'Options / Booking length', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Default reservation length', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_length_text', 'backend', 'Options / Booking length text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'minutes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_earlier', 'backend', 'Options / Reserve X minutes earlier', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reserve X minutes earlier', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_earlier_text', 'backend', 'Options / Reserve X minutes earlier text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'minutes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_status', 'backend', 'Options / Default booking status', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Not paid reservation status', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_booking_status_text', 'backend', 'Options / Default booking status text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Status for the reservation if no payment is made', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_payment_status', 'backend', 'Options / booking status after payment', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Paid reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_payment_status_text', 'backend', 'Options / booking status after payment', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Status for the reservation if payment is made', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_thank_you_page', 'backend', 'Options / "Thank you" page location', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirmation page', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_thank_you_page_text', 'backend', 'Options / "Thank you" page location', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'URL for the web page where your clients will be redirected after online payment', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_payment_disable', 'backend', 'Options / Disable payments', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Disable payments', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_payment_disable_text', 'backend', 'Options / Disable payments text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Select ''Yes'' if you want to disable payments and only collect reservation details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_allow_cash', 'backend', 'Options / Allow payments with cash', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Allow payment with cash', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_allow_creditcard', 'backend', 'Options / Allow payments with Credit cards', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Collect Credit Card details for offline processing', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_allow_bank', 'backend', 'Option / Allow bank account', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Provide Bank account details for wire transfers', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bank_account', 'backend', 'Options / bank account', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Bank Account', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuBookingForm', 'backend', 'Menu / Booking form', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation form', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuTerms', 'backend', 'Menu / Terms', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Terms & Conditions', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuReminder', 'backend', 'Menu / Reminder', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoConfirmationTitle', 'backend', 'Infobox / Confirmation title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email Confirmations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoConfirmationDesc', 'backend', 'Infobox / Confirmation description', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'There are 4 types of email confirmations - one after reservation form is submitted , one after payment is made, one is enquiry email and one when cancelled the reservation. Use the available tokens to personalize the email messages.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_address', 'backend', 'Options / Notification email address', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Notification email address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_confirmation', 'backend', 'Options / Send confirmation email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_confirmation_text', 'backend', 'Options / Send confirmation email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'select if and when confirmation email should be sent to clients after they make a reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_confirmation_subject', 'backend', 'Options / Confirmation subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirmation email subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_confirmation_message_text', 'backend', 'Options / confirmation message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{Table}</p>
<p>{People}</p>
<p>{BookingID}</p>
<p>{UniqueID}</p>
<p>{Total}</p>
<p>{PaymentMethod}</p>
<p>{CCType}</p>
<p>{CCNum}</p>
<p>{CCExp}</p>
<p>{CCSec}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_confirmation_message', 'backend', 'Options / Confirmation message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirmation email message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_payment', 'backend', 'Options / Send payment confirmation email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send payment confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_payment_text', 'backend', 'Options / Send payment confirmation email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'select if and when confirmation email should be sent to clients after they make a payment for their booking', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_payment_message', 'backend', 'Options / Payment email message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment email message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_payment_message_text', 'backend', 'Options / payment message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{Table}</p>
<p>{People}</p>
<p>{BookingID}</p>
<p>{UniqueID}</p>
<p>{Total}</p>
<p>{PaymentMethod}</p>
<p>{CCType}</p>
<p>{CCNum}</p>
<p>{CCExp}</p>
<p>{CCSec}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_enquiry', 'backend', 'Options / Send enquiry email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send enquiry email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_enquiry_text', 'backend', 'Options / Send enquiry email text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'select if and when confirmation email should be sent to clients after they make a enquiry for booking', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_enquiry_subject', 'backend', 'Options / Enquiry email subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Enquiry email subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_enquiry_message', 'backend', 'Options / Enquiry email message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Enquiry email message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_enquiry_message_text', 'backend', 'Options / Enquiry email message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{People}</p>
<p>{UniqueID}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_payment_subject', 'backend', 'Options / Payment email subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment email subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_cancel', 'backend', 'Optons / Send cancel email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send cancel email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_cancel_text', 'backend', 'Optons / Send cancel email text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'select if and when confirmation email should be sent to clients after they cancel for their booking', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_cancel_subject', 'backend', 'Options / Cancel email subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel email subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_cancel_message', 'backend', 'Options / Cancel email message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel email message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_email_cancel_message_text', 'backend', 'Options / Cancel email message text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{Table}</p>
<p>{People}</p>
<p>{BookingID}</p>
<p>{UniqueID}</p>
<p>{Total}</p>
<p>{PaymentMethod}</p>
<p>{CCType}</p>
<p>{CCNum}</p>
<p>{CCExp}</p>
<p>{CCSec}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingFormTitle', 'backend', 'Infobox / Booking form title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation Form Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingFormDesc', 'backend', 'Infobox / Booking form descriptoin', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Choose the fields that should be available on the reservation form and click SAVE button.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_title', 'backend', 'Options / Title included', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_text', 'backend', 'Options / include text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Select "Yes" if you want to include the field on the reservation form, otherwise select "No"', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_fname', 'backend', 'Options / First name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'First name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_lname', 'backend', 'Options / Last name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Last name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_phone', 'backend', 'Options / Phone', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Phone', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_email', 'backend', 'Options / Email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_company', 'backend', 'Options / Company', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Company', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_address', 'backend', 'Options / Address', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_notes', 'backend', 'Options / Notes', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Notes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_promo', 'backend', 'Options / Voucher', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Voucher', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_city', 'backend', 'Options / City', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'City', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_state', 'backend', 'Options / State', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'State', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_zip', 'backend', 'Options / Zip', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Zip', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_country', 'backend', 'Options / Country', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Country', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_bf_include_captcha', 'backend', 'Options / Captcha', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Captcha', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoTermsTitle', 'backend', 'Infobox / Terms title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Terms and Conditions', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoTermsDesc', 'backend', 'Infobox / Terms description', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Please write down the Terms and Conditions for making reservation and click SAVE button.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_terms', 'backend', 'Options / Terms and Conditions', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Terms and Conditions', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_enquiry', 'backend', 'Options / Enquiry', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Enquiry', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoReminderTitle', 'backend', 'Infobox / Reminder Options', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoReminderDesc', 'backend', 'Infobox / Reminder Options desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Let set the options for Reminder and click SAVE button. It includes email notification and SMS message.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_enable', 'backend', 'Options / Enable notifications', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Enable notifications', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_email_before', 'backend', 'Options / Send email reminder', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send email reminder', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_subject', 'backend', 'Options / Email Reminder subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email Reminder subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_body', 'backend', 'Options / Email Reminder body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email Reminder message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_body_text', 'backend', 'Options / Email Reminder body text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{Table}</p>
<p>{People}</p>
<p>{BookingID}</p>
<p>{UniqueID}</p>
<p>{Total}</p>
<p>{PaymentMethod}</p>
<p>{CCType}</p>
<p>{CCNum}</p>
<p>{CCExp}</p>
<p>{CCSec}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_sms_hours', 'backend', 'Options / Send SMS reminder', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send SMS reminder', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_sms_api', 'backend', 'Options / SMS api key', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'SMS api key', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_sms_message', 'backend', 'Options / SMS message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'SMS message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_sms_message_text', 'backend', 'Options / SMS message text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '<div class="col-xs-6">
<p>{Title}</p>
<p>{FirstName}</p>
<p>{LastName}</p>
<p>{Email}</p>
<p>{Phone}</p>
<p>{Notes}</p>
<p>{Country}</p>
<p>{City}</p>
<p>{State}</p>
<p>{Zip}</p>
<p>{Address}</p>
<p>{Company}</p>
</div>
<div class="col-xs-6">
<p>{DtFrom}</p>
<p>{Table}</p>
<p>{People}</p>
<p>{BookingID}</p>
<p>{UniqueID}</p>
<p>{Total}</p>
<p>{PaymentMethod}</p>
<p>{CCType}</p>
<p>{CCNum}</p>
<p>{CCExp}</p>
<p>{CCSec}</p>
<p>{CancelURL}</p>
</div>
', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_cron', 'backend', 'Options / Cron script', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cron script', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'opt_o_reminder_cron_text', 'backend', 'Option / Cron text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You need to set CRON jobs. Please, go to System Options - Cron jobs and follow the instructions.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblHoursBefore', 'backend', 'Label / hours before', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'hours before', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO03', 'arrays', 'error_titles_ARRAY_AO03', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation Form Options Updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO03', 'arrays', 'error_bodies_ARRAY_AO03', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your settings for reservation form have been saved successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO04', 'arrays', 'error_titles_ARRAY_AO04', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirmation Options Updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO04', 'arrays', 'error_bodies_ARRAY_AO04', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your settings for confirmation have been saved successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO05', 'arrays', 'error_titles_ARRAY_AO05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Terms and Conditions updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO05', 'arrays', 'error_bodies_ARRAY_AO05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All changes you made on the Terms and Conditions options have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AO06', 'arrays', 'error_titles_ARRAY_AO06', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AO06', 'arrays', 'error_bodies_ARRAY_AO06', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your settings for reminder options have been saved successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblGetKey', 'backend', 'Lable / get key', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'get key', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuWorkingTime', 'backend', 'Menu / Working Time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Working Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuSeatMap', 'backend', 'Menu / Seat Map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Seat Map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuTables', 'backend', 'Menu / Tables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDefault', 'backend', 'Label / Default', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Default', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCustom', 'backend', 'Label / Custom', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Custom', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDayOfWeek', 'backend', 'Label / Day of Week', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Day of Week', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblStartTime', 'backend', 'Label / Start Time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Start Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblEndTime', 'backend', 'Label / End Time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'End Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblIsDayOff', 'backend', 'Label / Is Day off', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Is Day off', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT01', 'arrays', 'error_titles_ARRAY_AT01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Working Time Updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT01', 'arrays', 'error_bodies_ARRAY_AT01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All changes made to the working time have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT02', 'arrays', 'error_titles_ARRAY_AT02', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Custom working time saved', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT02', 'arrays', 'error_bodies_ARRAY_AT02', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Custom working time has been saved successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblMap', 'backend', 'Label / Map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblOptions', 'backend', 'Label / Options', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoMapTitle', 'backend', 'Infobox / Seat Map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Seat Map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoMapDesc', 'backend', 'Infobox / Seat Map desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Check ''Use seat map'' checkbox to enable map table selection. You need to upload a JPG image map of your restaurant. Once image is uploaded click on the map to create a click-able hot spot for each table. You can click on each hot spot and position it on the map. To delete a hot spot click on it and then click on ''Delete'' button. To rename a hot spot (table) and set people capacity just click on it.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoMapOptionsTitle', 'backend', 'Infobox / Hot spot size', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Hot spot sizes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoMapOptionsDesc', 'backend', 'Infobox / Hot spot size desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Below you can set the size for the hot spots that you create on the map. You can create different sized hot spots on each map. Just enter the desired size, click on Save button and go to Update map tab to create the new hot spot. Visit Knowledgebase to watch video showing how to create a map.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUseSeatMap', 'backend', 'Label / Use seat map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Use seat map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblFile', 'backend', 'Label / File', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'File', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDeleteMap', 'backend', 'Label / Delete map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Delete this image file', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDeleteMapConfirm', 'backend', 'Label / Delete map confirm', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Are you sure you want to delete this image file? If yes, the image file will be deleted and will not be possible to restore it.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdateMapTitle', 'backend', 'Label / Update Map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update Map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdateMapDesc', 'backend', 'Label / Update map desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Add a custom name for this spot on the map (VIP sector, Sector A, etc..). Also set how many available seats can be reserved in this sector.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCapacity', 'backend', 'Label / Capacity', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Capacity', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblMinimum', 'backend', 'Label / Minimum', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Minimum', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AM01', 'arrays', 'error_titles_ARRAY_AM01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Map settings updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AM01', 'arrays', 'error_bodies_ARRAY_AM01', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All settings made to the map have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoUseMapDesc', 'backend', 'Infobox / User map desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You are using a seat map.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblWidth', 'backend', 'Label / Width', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Width', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblHeight', 'backend', 'Label / Height', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Height', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblAddTable', 'backend', 'Label / Add table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Add table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoTablesTitle', 'backend', 'Infobox / Table list', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table list', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoTablesDesc', 'backend', 'Infobox / Table list desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Below is the list of tables. If you wan to add new table, use the form on right. There you can add new table and set number of people allowed to reserve a table. For example if Minimum is set to 2 and Capacity is set to 4 then only reservation for 2, 3 or 4 people will be accepted for this table. To edit or delete a certain table, click on corresponding icons on the row.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblTableNameExist', 'backend', 'Label / Table name used', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table name was already used.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT03', 'arrays', 'error_titles_ARRAY_AT03', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table added', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT03', 'arrays', 'error_bodies_ARRAY_AT03', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'A new table has been added to the list.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT04', 'arrays', 'error_titles_ARRAY_AT04', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table failed to add', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT04', 'arrays', 'error_bodies_ARRAY_AT04', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'We are sorry that the table could not be added successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT05', 'arrays', 'error_titles_ARRAY_AT05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT05', 'arrays', 'error_bodies_ARRAY_AT05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All changes made to the table have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AT08', 'arrays', 'error_titles_ARRAY_AT08', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table not found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AT08', 'arrays', 'error_bodies_ARRAY_AT08', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'The table you are looking for is missing.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdateTable', 'backend', 'Label / Update table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoUpdateTableTitle', 'backend', 'Infobox / Update table title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoUpdateTableDesc', 'backend', 'Infobox / Update table desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'On the for below you can set number of people allowed to reserve a table. For example if Minimum is set to 2 and Capacity is set to 4 then only reservation for 2, 3 or 4 people will be accepted for this table.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdate', 'backend', 'Label / Update', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuSchedule', 'backend', 'Menu / Schedule', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Schedule', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuBookingList', 'backend', 'Menu / Booking List', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservations List', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuPrint', 'backend', 'Menu / Print', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Print', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblNoTable', 'backend', 'Label / No tables found', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No tables found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDateIsDayOff', 'backend', 'Label / Date is day off', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '%s is day off', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'booking_statuses_ARRAY_confirmed', 'arrays', 'booking_statuses_ARRAY_confirmed', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirmed', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'booking_statuses_ARRAY_cancelled', 'arrays', 'booking_statuses_ARRAY_cancelled', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancelled', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'booking_statuses_ARRAY_pending', 'arrays', 'booking_statuses_ARRAY_pending', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Pending', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'booking_statuses_ARRAY_enquiry', 'arrays', 'booking_statuses_ARRAY_enquiry', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Enquiry', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblFromDateTime', 'backend', 'Label / From date time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'From date/time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDateFrom', 'backend', 'Label / Date from', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date from', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDateTo', 'backend', 'Label / Date to', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date to', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblTable', 'backend', 'Label / Table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB08', 'arrays', 'error_titles_ARRAY_AB08', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation not found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AB08', 'arrays', 'error_bodies_ARRAY_AB08', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'We are sorry that the reservation you are looking for is missing.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingDetails', 'backend', 'Label / Booking Details', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation Details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblClientDetails', 'backend', 'Label / Client Details', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Client Details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUpdateBooking', 'backend', 'Label / Update Booking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update Reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblUniqueID', 'backend', 'Label / Unique ID', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Unique ID', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDepositPaid', 'backend', 'Label / Deposit paid', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Deposit paid', 'script');

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, 1, 'pjPayment', 1, 'creditcard', 'Credit Card', 'script'),
(NULL, 1, 'pjPayment', 1, 'cash', 'Cash', 'script'),
(NULL, 1, 'pjPayment', 1, 'bank', 'Bank Account', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'payment_methods_ARRAY_paypal', 'arrays', 'payment_methods_ARRAY_paypal', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Paypal', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'payment_methods_ARRAY_creditcard', 'arrays', 'payment_methods_ARRAY_creditcard', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Credit Card', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'payment_methods_ARRAY_cash', 'arrays', 'payment_methods_ARRAY_cash', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cash', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'payment_methods_ARRAY_bank', 'arrays', 'payment_methods_ARRAY_bank', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Bank Account', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblPaymentMethod', 'backend', 'Label / Payment Method', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment method', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCCType', 'backend', 'Label / CC type', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC type', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cc_types_ARRAY_Visa', 'arrays', 'cc_types_ARRAY_Visa', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Visa', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cc_types_ARRAY_MasterCard', 'arrays', 'cc_types_ARRAY_MasterCard', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'MasterCard', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cc_types_ARRAY_Maestro', 'arrays', 'cc_types_ARRAY_Maestro', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Maestro', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cc_types_ARRAY_AmericanExpress', 'arrays', 'cc_types_ARRAY_AmericanExpress', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'AmericanExpress', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCCNum', 'backend', 'Label / CC number', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC number', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCCExp', 'backend', 'Label / CC expiration date', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC expiration date', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblCCCode', 'backend', 'Label / CC security code', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC security code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingTotal', 'backend', 'Label / Total', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Total', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblPeople', 'backend', 'Label / People', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'People', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblTableName', 'backend', 'Label / Table name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblViewAvailability', 'backend', 'Label / View availability', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'View availability', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingAvailability', 'backend', 'Label / Availability', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Availability', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_mr', 'arrays', 'name_titles_ARRAY_mr', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Mr', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_mrs', 'arrays', 'name_titles_ARRAY_mrs', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Mrs', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_ms', 'arrays', 'name_titles_ARRAY_ms', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Ms', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_dr', 'arrays', 'name_titles_ARRAY_dr', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Dr', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_prof', 'arrays', 'name_titles_ARRAY_prof', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Prof', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_rev', 'arrays', 'name_titles_ARRAY_rev', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Rev', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'name_titles_ARRAY_other', 'arrays', 'name_titles_ARRAY_other', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Other', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingTitle', 'backend', 'Label / Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingFname', 'backend', 'Label / First name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'First name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingLname', 'backend', 'Label / Last name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Last name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingPhone', 'backend', 'Label / Phone', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Phone', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingEmail', 'backend', 'Label / Email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingNotes', 'backend', 'Label / Notes', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Notes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingCompany', 'backend', 'Label / Company name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Company name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingAddress', 'backend', 'Label / Address', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingCity', 'backend', 'Label / City', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'City', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingState', 'backend', 'Label / State', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'County/Region/State', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingZip', 'backend', 'Label / Zip', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Postcode/Zip', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingCountry', 'backend', 'Label / Country', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Country', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB05', 'arrays', 'error_titles_ARRAY_AB05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation updated', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AB05', 'arrays', 'error_bodies_ARRAY_AB05', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'All changes made to the reservation have been saved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingPrint', 'backend', 'Label / Print Booking Details', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Print Reservation Details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingRemind', 'backend', 'Label / Re-send confirmation', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Re-send confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingID', 'backend', 'Label / ID', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'ID', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingCreated', 'backend', 'Label / Created', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Created', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingTxnID', 'backend', 'Label / Txn ID', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Transaction ID', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingProcessedOn', 'backend', 'Label / Processed on', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Processed on', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoReminderEmailTitle', 'backend', 'Infobox / Reminder email title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoReminderEmailDesc', 'backend', 'Infobox / Reminder email desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You can make any change on the form below and click SEND button to send the reminder message.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblReminderTo', 'backend', 'Label / To', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'To', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblReminderSubject', 'backend', 'Label / Subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblReminderMessage', 'backend', 'Label / Message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB09', 'arrays', 'error_titles_ARRAY_AB09', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder email sent', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AB09', 'arrays', 'error_bodies_ARRAY_AB09', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'The reminder email has been sent to the give email address.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB10', 'arrays', 'error_titles_ARRAY_AB10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reminder failed to send', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AB10', 'arrays', 'error_bodies_ARRAY_AB10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'The reminder email could not be sent successfully. Please check again.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblClientName', 'backend', 'Label / Client name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Client name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblPerson', 'backend', 'label / Person', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Person', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblNoBookings', 'backend', 'Label / No bookings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'No reservations found', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblPrint', 'backend', 'Label / Print', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Print', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallJs1_title', 'backend', 'Install / Install code', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Install code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallJs1_body', 'backend', 'Install / Install code body', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Copy the code below and put it on your web page. It will show the front end booking engine. Please, note that the code should be used on a web page from the same domain name where script is installed.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallConfig', 'backend', 'Label / Language options', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Language options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallConfigLocale', 'backend', 'Label / Language', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Language', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallConfigHide', 'backend', 'Label / Hide language selector ', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Hide language selector', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblInstallJs1_1', 'backend', 'Label / Step 1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Step 1 (Required)', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_select_date_time', 'frontend', 'Label / Select date time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Select date and time for your reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_date', 'frontend', 'Label / Date', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_time', 'frontend', 'Label / Time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_people', 'frontend', 'Label / People', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'People', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_check_availability', 'frontend', 'Label / Check Availability', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Check Availability', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_avail_title', 'frontend', 'Label / Available for', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Available tables for %1s person(s) on %2s at %3s. Click on a table to book it.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_book', 'frontend', 'Book', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Book', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_send_enquiry', 'frontend', 'Label / Send Enquiry', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Send Enquiry', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_no_available_table', 'frontend', 'Label / No table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'There is no table available. Click on SEND ENQUIRY button to make an enquiry.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_selected_tables', 'frontend', 'Label / Selected table(s)', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Selected table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_your_booking', 'frontend', 'Label / Your booking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Booking details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_booking_form', 'frontend', 'Label / Booking form', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation form fill the form to reserve a table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_date_time', 'frontend', 'Label / Date and time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date and time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_table_for', 'frontend', 'Label / Table for person', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table for %s person(s)', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_change', 'frontend', 'Label / change', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'change selection', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_title', 'frontend', 'Label / Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_fname', 'frontend', 'Label / First name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'First name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_lname', 'frontend', 'Label / Last name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Last name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_phone', 'frontend', 'Label / Phone', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Phone', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_email', 'backend', 'Label / Email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_company', 'frontend', 'Label / Company name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Company name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_notes', 'frontend', 'Label / Notes', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Notes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_address', 'frontend', 'Label / Address', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_city', 'frontend', 'Label / City', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'City', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_state', 'frontend', 'Label / State', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'State', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_zip', 'frontend', 'Label / Zip', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Zip', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_country', 'frontend', 'Label / Country', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Country', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_checkout', 'frontend', 'Label / Checkout', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Checkout', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_discount', 'frontend', 'Label / discount', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'discount', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_deposit_note', 'frontend', 'Label / Deposit note', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment is required to secure your reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_price', 'frontend', 'Label / Price', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Price', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDate', 'backend', 'Label / Date', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDateTimeFrom', 'backend', 'Label / From date time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'From date/time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDateTimeTo', 'backend', 'Label / To date/time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'To date/time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_payment_medthod', 'frontend', 'Label / Payment method', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment method', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cc_type', 'frontend', 'Label / CC type', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC type', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cc_num', 'frontend', 'Label / CC number', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC number', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cc_exp', 'frontend', 'Label / CC expiration date', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC expiration date', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cc_code', 'frontend', 'Label / CC security code', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CC security code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_captcha', 'frontend', 'Captcha', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Captcha', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_required_field', 'frontend', 'Label / This field is required.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'This field is required.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_invalid_email', 'frontend', 'Label / Email is not valid.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email is not valid.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_incorrect_captcha', 'frontend', 'Label / Captcha is not correct.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Captcha is not correct.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_exp_month', 'frontend', 'Label / Expiration month is required.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Expiration month is required.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_exp_year', 'frontend', 'Label / Expiration year is required.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Expiration year is required.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_agree', 'frontend', 'Label / Agreements', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'I have read and accept reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_terms_conditions', 'frontend', 'Label / Terms and Conditions', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Terms and Conditions', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_booking_summary', 'frontend', 'Label / Booking summary', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation summary
detail information', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_confirm', 'frontend', 'Label / Confirm Booking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Confirm Reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_back', 'frontend', 'Label / Back', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Back', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_4', 'arrays', 'front_messages_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation failed to save.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_1', 'arrays', 'front_messages_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your reservation has been saved. Redirecting to payment gateway....', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_3', 'arrays', 'front_messages_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your reservation is saved. [STAG]Start over[ETAG].', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_5', 'arrays', 'front_messages_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your enquiry has been sent. [STAG]Start over[ETAG].', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_0', 'arrays', 'front_messages_ARRAY_0', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation is being processed...', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_missing_params', 'frontend', 'Label / Missing params', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Error! Some parameters are missing. ', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_restaurant_reservations', 'frontend', 'Label / Restaurant Reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Restaurant Reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_note', 'frontend', 'Label / Cancel note', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel Reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cancel_err_ARRAY_1', 'arrays', 'cancel_err_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Missing parameters', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cancel_err_ARRAY_2', 'arrays', 'cancel_err_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation with such ID does not exist.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cancel_err_ARRAY_3', 'arrays', 'cancel_err_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Security hash did not match', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cancel_err_ARRAY_4', 'arrays', 'cancel_err_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation is already cancelled.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'cancel_err_ARRAY_200', 'arrays', 'cancel_err_ARRAY_200', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation has been cancelled successfully.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_heading', 'frontend', 'Label / Cancel Heading', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Your reservation details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_from', 'frontend', 'Label / Cancel from', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date/Time From', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_people', 'frontend', 'Label / People', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'People', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_code', 'frontend', 'Label / Promo code', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Promo code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_title', 'frontend', 'Label / Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Title', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_description', 'frontend', 'Label / Description', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Description', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_datetime', 'frontend', 'Label / Date/time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Date/time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_fname', 'frontend', 'Label / First name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'First name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_lname', 'frontend', 'Label / Last name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Last name', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_email', 'frontend', 'Label / Email', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_phone', 'frontend', 'Label / Phone', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Phone', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_company', 'frontend', 'Label / Company', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Company', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_country', 'frontend', 'Label / Country', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Country', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_city', 'frontend', 'Label / City', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'City', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_state', 'frontend', 'Label / State', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'State', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_zip', 'frontend', 'Label / Zip', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Zip', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_address', 'frontend', 'Label / Address', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Address', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_payment', 'frontend', 'Label / Payment', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Payment', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_total', 'frontend', 'Label / Total', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Total', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_table', 'frontend', 'Label / Table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_confirm', 'frontend', 'Label / Table', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel Reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel_personal', 'frontend', 'Label / Personal Details', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Personal Details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_cancel', 'frontend', 'Label / Cancel', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_intro_text', 'frontend', 'Label / Intro text', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', '%1s available table(s) found.
click on a table to reserve it', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_loading_tables', 'frontend', 'Label / loading tables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Loading tables ...', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoWTimeTitle', 'backend', 'Infobox / Working Time Settings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Working Time Settings', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoWTimeDesc', 'backend', 'Infobox / Working Time Desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Below is the form to set the working time for the restaurant. You can also set different settings for some specific dates by clicking on the Tab Custom.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_dayoff', 'frontend', 'Label / Day off', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'There is no working time for day off.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblToday', 'backend', 'Label / Today', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Today', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblTomorrow', 'backend', 'Label / Tomorrow', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Tomorrow', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_300', 'arrays', 'front_messages_ARRAY_300', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'The selected date is day off.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_301', 'arrays', 'front_messages_ARRAY_301', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'You must reserve [HOUR] minutes before.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_302', 'arrays', 'front_messages_ARRAY_302', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'We are not open yet.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_messages_ARRAY_303', 'arrays', 'front_messages_ARRAY_303', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'We are closed.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblTableHour', 'backend', 'Label / Table / Hour', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Table / Hour', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuAddBooking', 'backend', 'Menu / Add Booking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Add Reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBookingPrice', 'backend', 'Label / Price', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Price', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB11', 'arrays', 'error_titles_ARRAY_AB11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation Added', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_bodies_ARRAY_AB11', 'arrays', 'error_bodies_ARRAY_AB11', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'A new reservation has been added to the list.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'error_titles_ARRAY_AB12', 'arrays', 'error_titles_ARRAY_AB12', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation could not be added.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_button_cancel', 'frontend', 'Button / Cancel', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'menuBookings', 'backend', 'Menu / Reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblOptionClient', 'backend', 'Label / Option Client', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'To Clients', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblOptionAdministrator', 'backend', 'Label / Option Administrator', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'To Administrators', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_intro_text2', 'frontend', 'Label / Intro text 2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Please send an enquiry and we will manually confirm your reservation.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblBack', 'backend', 'Lable / Back', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Back', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_start_over', 'frontend', 'Label / Error start over', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Error! Please, [STAG]start over[ETAG]', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblDepositFee', 'backend', 'Label / Deposit fee', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Deposit fee', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoScheduleTitle', 'backend', 'Infobox / Schedule Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Schedule', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoScheduleDesc', 'backend', 'Infobox / Schedule Desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'By default below you see today''s schedule. Use the date picker to switch to any date. You can also print the schedule by clicking on the Print button.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoAddBookingTitle', 'backend', 'Infobox / Add Booking Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Add new reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoAddBookingDesc', 'backend', 'Infobox / Add booking Desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Fill in the form below to add a new reservation.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoUpdateBookingTitle', 'backend', 'Infobox / Update booking title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoUpdateBookingDesc', 'backend', 'Infobox / Update booking desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Update reservation details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingListTitle', 'backend', 'Infobox / Bookings list', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservations list', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoBookingListDesc', 'backend', 'Infobox / Reservations list desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Below you can see all the reservations and enquiries made. Click on any of them to view and edit it. Using the buttons you can filter the reservation by their status. Use the advance search to quickly locate a reservation.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoConfirmation2Title', 'backend', 'Infobox / Confirmation Admin Title', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Email Confirmations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'infoConfirmation2Desc', 'backend', 'Infobox / Confirmation Admin Desc', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'There are 4 types of email confirmations - one after reservation form is submitted , one after payment is made, one is enquiry email and one when cancelled the reservation. Use the available tokens to personalize the email messages.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblMadeOn', 'backend', 'Label / Made on', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Made on', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_cancel_reservation', 'frontend', 'Label / Cancel reservation', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Cancel reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_cron_completed', 'frontend', 'Label / CRON job completed.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'CRON job completed.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblPositiveNumber', 'backend', 'Label / Please enter positive number', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Please enter positive number.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblValidateMinimum', 'backend', 'Label / Validate minimum', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Minimum cannot be greater than capacity.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'uuid_used', 'backend', 'Label / Unique ID was used.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Unique ID was used.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblValidateTime', 'backend', 'Label / Validate time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'End time must be greater than start time.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblValidateDateTime', 'backend', 'Label / Validate date time', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'To date/time must be greater than From date/time.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'front_label_price_after', 'frontend', 'Label / Price after discount applied', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Price after discount applied', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblFieldRequired', 'backend', 'Label / This field is required.', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'This field is required.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES
(NULL, 'lblReservationID', 'backend', 'Label / Reservation ID', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Reservation ID', 'script');

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, 1, 'pjOption', 1, 'o_reminder_subject', 'Booking Reminder', 'data'),
(NULL, 1, 'pjOption', 1, 'o_reminder_body', 'You''ve just made a booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>If you want to cancel your booking follow next link: {CancelURL}<br/><br/>Thank you, we will contact you ASAP.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_reminder_sms_message', '{FirstName}, booking reminder {Table}', 'data'),
(NULL, 1, 'pjOption', 1, 'o_terms', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eu ipsum consectetur arcu commodo egestas nec eu ante. Aenean nec enim lorem. Proin accumsan luctus luctus. Vivamus pulvinar mollis orci, id convallis eros ultricies vel. Nullam adipiscing, risus non pellentesque aliquam, nibh ligula dictum justo, quis commodo nisi dolor ut nulla. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ante leo, ultricies quis gravida id, vestibulum nec risus. Mauris adipiscing vestibulum nibh non ullamcorper. Suspendisse justo turpis, mattis a cursus ac, vulputate quis metus. Fusce vestibulum faucibus dignissim. Aliquam fermentum mauris felis, a ultrices sem.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_enquiry', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eu ipsum consectetur arcu commodo egestas nec eu ante. Aenean nec enim lorem. Proin accumsan luctus luctus. Vivamus pulvinar mollis orci, id convallis eros ultricies vel. Nullam adipiscing, risus non pellentesque aliquam, nibh ligula dictum justo, quis commodo nisi dolor ut nulla. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ante leo, ultricies quis gravida id, vestibulum nec risus. Mauris adipiscing vestibulum nibh non ullamcorper. Suspendisse justo turpis, mattis a cursus ac, vulputate quis metus. Fusce vestibulum faucibus dignissim. Aliquam fermentum mauris felis, a ultrices sem.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_confirmation_subject', 'Confirmation message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_confirmation_message', 'You''ve just made a booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>If you want to cancel your booking follow next link: {CancelURL}<br/><br/>Thank you, we will contact you ASAP.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_payment_subject', 'Payment message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_payment_message', 'You''ve just made a booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>If you want to cancel your booking follow next link: {CancelURL}<br/><br/>Thank you, we will contact you ASAP.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_cancel_subject', 'Cancel booking message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_cancel_message', 'You''ve just cancel a booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>Thank you!', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_enquiry_subject', 'Enquiry message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_email_enquiry_message', 'You''ve just made an enquiry.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Enquiry details:<br/>Date/Time From: {DtFrom}<br/>People: {People}<br/>Unique ID: {UniqueID}<br/><br/>If you want to cancel your enquiry follow next link: {CancelURL}<br/><br/>Thank you, we will contact you ASAP.', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_confirmation_subject', 'Confirmation message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_confirmation_message', 'You''ve just received a booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>Thank you!', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_payment_subject', 'Payment message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_payment_message', 'You''ve just receive the payment for the following booking.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/><br/>Thank you!', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_enquiry_subject', 'Enquiry message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_enquiry_message', 'You''ve just received an enquiry.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Enquiry details:<br/>Date/Time From: {DtFrom}<br/>People: {People}<br/>Unique ID: {UniqueID}<br/><br/><br/>Thank you!', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_cancel_subject', 'Cancel booking message', 'data'),
(NULL, 1, 'pjOption', 1, 'o_admin_email_cancel_message', 'A booking has been cancelled.<br/><br/>Personal details:<br/>Title: {Title}<br/>First Name: {FirstName}<br/>Last Name: {LastName}<br/>E-Mail: {Email}<br/>Phone: {Phone}<br/>Notes: {Notes}<br/>Country: {Country}<br/>City: {City}<br/>State: {State}<br/>Zip: {Zip}<br/>Address: {Address}<br/>Company: {Company}<br/><br/>Booking details:<br/>Date/Time From: {DtFrom}<br/>Table: {Table}<br/>People: {People}<br/>Booking ID: {BookingID}<br/>Unique ID: {UniqueID}<br/>Total: {Total}<br/><br/>Thank you!', 'data');

INSERT INTO `restaurantbooking_options` (`foreign_id`, `key`, `tab_id`, `value`, `label`, `type`, `order`, `is_visible`, `style`) VALUES
(1, 'o_booking_price', 2, '50', NULL, 'float', 2, 1, NULL),
(1, 'o_booking_length', 2, '180', NULL, 'int', 3, 1, NULL),
(1, 'o_booking_earlier', 2, '60', NULL, 'int', 4, 1, NULL),
(1, 'o_booking_status', 2, 'confirmed|pending|cancelled::pending', 'Confirmed|Pending|Cancelled', 'enum', 5, 1, NULL),
(1, 'o_payment_status', 2, 'confirmed|pending|cancelled::confirmed', 'Confirmed|Pending|Cancelled', 'enum', 6, 1, NULL),
(1, 'o_min_hour', 2, '30', NULL, 'int', 7, 1, NULL),
(1, 'o_thank_you_page', 2, 'https://www.phpjabbers.com', NULL, 'string', 8, 1, NULL),
(1, 'o_payment_disable', 2, 'Yes|No::No', 'Yes|No', 'enum', 9, 1, NULL),
(1, 'o_allow_cash', 2, 'Yes|No::Yes', 'Yes|No', 'enum', 16, 1, NULL),
(1, 'o_allow_creditcard', 2, 'Yes|No::Yes', 'Yes|No', 'enum', 17, 1, NULL),
(1, 'o_allow_bank', 2, 'Yes|No::No', NULL, 'enum', 18, 1, NULL),
(1, 'o_bank_account', 2, NULL, NULL, 'text', 19, 1, NULL),

(1, 'o_email_confirmation', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 1, 1, NULL),
(1, 'o_email_confirmation_subject', 3, '', NULL, 'string', 2, 1, NULL),
(1, 'o_email_confirmation_message', 3, '', NULL, 'text', 3, 1, NULL),
(1, 'o_email_payment', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 4, 1, NULL),
(1, 'o_email_payment_subject', 3, '', NULL, 'string', 5, 1, NULL),
(1, 'o_email_payment_message', 3, '', NULL, 'text', 6, 1, NULL),
(1, 'o_email_enquiry', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 7, 1, NULL),
(1, 'o_email_enquiry_subject', 3, '', NULL, 'string', 8, 1, NULL),
(1, 'o_email_enquiry_message', 3, '', NULL, 'text', 9, 1, NULL),
(1, 'o_email_cancel', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 10, 1, NULL),
(1, 'o_email_cancel_subject', 3, '', NULL, 'string', 11, 1, NULL),
(1, 'o_email_cancel_message', 3, '', NULL, 'text', 12, 1, NULL),

(1, 'o_admin_email_confirmation', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 1, 1, NULL),
(1, 'o_admin_email_confirmation_subject', 3, '', NULL, 'string', 2, 1, NULL),
(1, 'o_admin_email_confirmation_message', 3, '', NULL, 'text', 3, 1, NULL),
(1, 'o_admin_email_payment', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 4, 1, NULL),
(1, 'o_admin_email_payment_subject', 3, '', NULL, 'string', 5, 1, NULL),
(1, 'o_admin_email_payment_message', 3, '', NULL, 'text', 6, 1, NULL),
(1, 'o_admin_email_enquiry', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 7, 1, NULL),
(1, 'o_admin_email_enquiry_subject', 3, '', NULL, 'string', 8, 1, NULL),
(1, 'o_admin_email_enquiry_message', 3, '', NULL, 'text', 9, 1, NULL),
(1, 'o_admin_email_cancel', 3, 'Yes|No::Yes', 'Yes|No', 'enum', 10, 1, NULL),
(1, 'o_admin_email_cancel_subject', 3, '', NULL, 'string', 11, 1, NULL),
(1, 'o_admin_email_cancel_message', 3, '', NULL, 'text', 12, 1, NULL),

(1, 'o_bf_include_title', 4, '1|2|3::3', 'No|Yes|Yes (required)', 'enum', 1, 1, NULL),
(1, 'o_bf_include_fname', 4, '1|2|3::3', 'No|Yes|Yes (required)', 'enum', 2, 1, NULL),
(1, 'o_bf_include_lname', 4, '1|2|3::3', 'No|Yes|Yes (required)', 'enum', 3, 1, NULL),
(1, 'o_bf_include_phone', 4, '1|2|3::3', 'No|Yes|Yes (required)', 'enum', 4, 1, NULL),
(1, 'o_bf_include_email', 4, '1|2|3::3', 'No|Yes|Yes (required)', 'enum', 5, 1, NULL),
(1, 'o_bf_include_company', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 6, 1, NULL),
(1, 'o_bf_include_address', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 7, 1, NULL),
(1, 'o_bf_include_country', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 8, 1, NULL),
(1, 'o_bf_include_state', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 9, 1, NULL),
(1, 'o_bf_include_city', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 10, 1, NULL),
(1, 'o_bf_include_zip', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 11, 1, NULL),
(1, 'o_bf_include_notes', 4, '1|2|3::1', 'No|Yes|Yes (required)', 'enum', 12, 1, NULL),
(1, 'o_bf_include_promo', 4, '1|2|3::2', 'No|Yes|Yes (required)', 'enum', 13, 1, NULL),
(1, 'o_bf_include_captcha', 4, '1|3::3', 'No|Yes (required)', 'enum', 14, 1, NULL),
('1', 'o_bf_include_terms', '4', '1|3::3', 'No|Yes (required)', 'enum', '15', '1', NULL),

(1, 'o_terms', 5, '', NULL, 'text', 1, 1, NULL),
(1, 'o_enquiry', 5, '', NULL, 'text', 2, 1, NULL),

(1, 'o_reminder_enable', 6, 'Yes|No::Yes', 'Yes|No', 'enum', 1, 1, NULL),
(1, 'o_reminder_cron', 6, '', NULL, 'text', 2, 1, NULL),
(1, 'o_reminder_email_before', 6, '2', NULL, 'int', 3, 1, NULL),
(1, 'o_reminder_subject', 6, '', NULL, 'string', 4, 1, NULL),
(1, 'o_reminder_body', 6, '', NULL, 'text', 5, 1, NULL),
(1, 'o_reminder_sms_hours', 6, '2', NULL, 'int', 6, 1, NULL),
(1, 'o_reminder_sms_message', 6, '', NULL, 'text', 7, 1, NULL),
(1, 'o_reminder_enable_sms', 6, 'Yes|No::No', 'Yes|No', 'enum', 8, 1, NULL),

(1, 'o_use_map', 99, '1|0::1', NULL, 'enum', NULL, 0, NULL),
(1, 'o_fields_index', 99, 'd874fcc5fe73b90d770a544664a3775d', NULL, 'string', NULL, 0, NULL),
('1', 'o_theme', '99', 'theme1|theme2|theme3|theme4|theme5|theme6|theme7|theme8|theme9|theme10::theme1', 'Theme 1|Theme 2|Theme 3|Theme 4|Theme 5|Theme 6|Theme 7|Theme 8|Theme 9|Theme 10', 'enum', NULL, '0', NULL);

INSERT INTO `restaurantbooking_working_times` (`id`, `monday_from`, `monday_to`, `monday_dayoff`, `tuesday_from`, `tuesday_to`, `tuesday_dayoff`, `wednesday_from`, `wednesday_to`, `wednesday_dayoff`, `thursday_from`, `thursday_to`, `thursday_dayoff`, `friday_from`, `friday_to`, `friday_dayoff`, `saturday_from`, `saturday_to`, `saturday_dayoff`, `sunday_from`, `sunday_to`, `sunday_dayoff`) VALUES
(1, '09:00:00', '23:00:00', 'F', '09:00:00', '23:00:00', 'F', '09:00:00', '23:00:00', 'F', '09:00:00', '23:00:00', 'F', '09:00:00', '23:00:00', 'F', '09:00:00', '23:00:00', 'F', NULL, NULL, 'T');



INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_messages_ARRAY_6', 'arrays', 'front_messages_ARRAY_6', 'script', '2014-11-12 11:40:03');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'We are sorry, but your reservation failed. The selected table has just been booked by other while you were placing your order. You can [STAG]start over[ETAG] searching for other table.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblValidateTable', 'backend', 'Label / The selected table was reserved.', 'script', '2014-11-12 16:30:07');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'The selected table was reserved.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_0', 'arrays', 'short_days_ARRAY_0', 'script', '2015-03-24 07:22:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Su', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_1', 'arrays', 'short_days_ARRAY_1', 'script', '2015-03-24 07:22:49');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Mo', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_2', 'arrays', 'short_days_ARRAY_2', 'script', '2015-03-24 07:23:29');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Tu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_3', 'arrays', 'short_days_ARRAY_3', 'script', '2015-03-24 07:23:56');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'We', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_4', 'arrays', 'short_days_ARRAY_4', 'script', '2015-03-24 07:24:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Th', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_5', 'arrays', 'short_days_ARRAY_5', 'script', '2015-03-24 07:24:47');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Fr', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'short_days_ARRAY_6', 'arrays', 'short_days_ARRAY_6', 'script', '2015-03-24 07:25:11');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Sa', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblMissingParameters', 'backend', 'Label / Missing parameters', 'script', '2015-03-24 09:45:48');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Missing parameters', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_hour', 'frontend', 'Label / Hour', 'script', '2015-08-21 08:25:35');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Hour', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_minute', 'frontend', 'Label / Minute', 'script', '2015-08-21 08:35:37');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Minute', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblSelectTable', 'backend', 'Label / Please select a table.', 'script', '2016-06-01 12:44:46');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Please select a table.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_step_1', 'frontend', 'Step 1', 'script', '2016-10-06 07:16:41');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Step 1', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_step_2', 'frontend', 'Step 2', 'script', '2016-10-06 07:16:59');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Step 2', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_step_3', 'frontend', 'Step 3', 'script', '2016-10-07 02:22:40');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Step 3', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_step_4', 'frontend', 'Step 4', 'script', '2016-10-07 02:22:56');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Step 4', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_reservation_form', 'frontend', 'Label / Reservation form', 'script', '2016-10-07 02:30:24');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Reservation form', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_fill_to_reserve', 'frontend', 'Label / fill the form to reserve a table', 'script', '2016-10-07 02:30:56');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'fill the form to reserve a table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_field_required', 'frontend', 'Label / This field is required.', 'script', '2016-10-07 02:34:06');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'This field is required.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_email_validation', 'frontend', 'Label / Email address is invalid.', 'script', '2016-10-07 02:38:13');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Email address is invalid.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_bank_account', 'frontend', 'Label / Bank account', 'script', '2016-10-07 04:27:44');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Bank account', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_thank_you', 'frontend', 'Label / Thank you for your reservation', 'script', '2016-10-07 04:32:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Thank you for your reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoPreviewTitle', 'backend', 'Infobox / Preview front end', 'script', '2016-06-23 09:49:54');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Preview front end', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoPreviewDesc', 'backend', 'Infobox / Preview front end', 'script', '2016-06-23 09:50:26');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'There are multiple color schemes available for the front end. Click on each of the thumbnails below to preview it. Click on "Use this theme" button for the theme you want to use.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblChooseTheme', 'backend', 'Label / Choose theme', 'script', '2016-06-23 09:50:58');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Choose color theme', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_1', 'arrays', 'option_themes_ARRAY_1', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 1', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_2', 'arrays', 'option_themes_ARRAY_2', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 2', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_3', 'arrays', 'option_themes_ARRAY_3', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 3', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_4', 'arrays', 'option_themes_ARRAY_4', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 4', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_5', 'arrays', 'option_themes_ARRAY_5', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 5', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_6', 'arrays', 'option_themes_ARRAY_6', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 6', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_7', 'arrays', 'option_themes_ARRAY_7', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 7', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_8', 'arrays', 'option_themes_ARRAY_8', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 8', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_9', 'arrays', 'option_themes_ARRAY_9', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 9', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'option_themes_ARRAY_10', 'arrays', 'option_themes_ARRAY_10', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Theme 10', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblCurrentlyInUse', 'backend', 'Label / Currently in use', 'script', '2016-06-23 09:55:08');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Currently in use', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'btnUseThisTheme', 'backend', 'Label / Use this theme', 'script', '2016-06-23 09:55:38');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Use this theme', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_available_tables_for', 'frontend', 'Label / Available for', 'script', '2016-10-11 06:15:38');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Available tables for %1s person(s) on %2s at %3s.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_click_to_book', 'frontend', 'Label / click on an available table to book it', 'script', '2016-10-11 03:34:12');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'click on an available table to book it', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_unavailable_tables_for', 'frontend', 'Label / Unavailable for', 'script', '2016-10-11 06:24:15');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'There is no available table on %1s at %2s.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_change_date_time', 'frontend', 'Label / Please, change date time', 'script', '2016-10-11 06:27:51');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Please, change date and/or time and check availability', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_empty_step_2', 'frontend', 'Label / Step empty message 2', 'script', '2016-10-11 06:35:58');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Step empty message 2', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_enquiry_details', 'frontend', 'Label / Enquiry details', 'script', '2016-10-11 06:37:15');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Enquiry details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_enquiry_form', 'frontend', 'Label / Enquiry form', 'script', '2016-10-11 06:38:07');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Enquiry form', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_fill_to_make', 'frontend', 'Label / fill the form to make an enquiry', 'script', '2016-10-11 06:38:39');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'fill the form to make an enquiry', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_table', 'frontend', 'Label / Table', 'script', '2016-10-11 06:43:09');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_for_persons', 'frontend', 'Label / for person', 'script', '2016-10-11 06:43:30');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'for %s person(s)', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'btnAddReservation', 'backend', 'Button / Add reservation', 'script', '2016-10-11 07:29:04');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Add reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblSendCancellationEmail', 'backend', 'Label / Send Cancellation Email', 'script', '2016-11-08 11:37:54');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Send Cancellation Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'booking_cancellation_title', 'backend', 'Label / Send Cancellation Email', 'script', '2016-11-08 12:48:30');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Send Cancellation Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'booking_subject', 'backend', 'Label / Email subject', 'script', '2016-11-08 12:57:11');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Email subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'booking_message', 'backend', 'Label / Email message', 'script', '2016-11-08 12:57:28');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Email message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'buttons_ARRAY_send', 'arrays', 'buttons_ARRAY_send', 'script', '2016-11-08 12:58:02');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Send', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'buttons_ARRAY_cancel', 'arrays', 'buttons_ARRAY_cancel', 'script', '2016-11-08 12:58:31');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Cancel', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'booking_confirmation_title', 'backend', 'Label / Send Confirmation Email', 'script', '2016-11-08 13:13:28');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Send Confirmation Email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_price_after_discount', 'frontend', 'Label / Price after discount is applied', 'script', '2017-04-25 09:53:12');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Price after discount is applied', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_mail', 'arrays', 'enum_arr_ARRAY_mail', 'script', '2015-06-11 08:35:51');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'PHP mail()', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_smtp', 'arrays', 'enum_arr_ARRAY_smtp', 'script', '2015-06-11 08:36:12');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'SMTP', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_confirmed', 'arrays', 'enum_arr_ARRAY_confirmed', 'script', '2015-06-11 08:38:00');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Confirmed', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_pending', 'arrays', 'enum_arr_ARRAY_pending', 'script', '2015-06-11 08:38:16');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Pending', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_cancelled', 'arrays', 'enum_arr_ARRAY_cancelled', 'script', '2015-06-11 08:38:35');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Cancelled', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_Yes', 'arrays', 'enum_arr_ARRAY_Yes', 'script', '2015-06-11 08:38:55');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Yes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_No', 'arrays', 'enum_arr_ARRAY_No', 'script', '2015-06-11 08:39:09');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'No', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_0', 'arrays', 'enum_arr_ARRAY_0', 'script', '2015-06-11 08:39:25');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'No', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_1', 'arrays', 'enum_arr_ARRAY_1', 'script', '2015-06-11 08:39:44');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Yes', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'enum_arr_ARRAY_2', 'arrays', 'enum_arr_ARRAY_2', 'script', '2017-06-05 10:54:59');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Yes (required)', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'buttons_ARRAY_delete', 'arrays', 'buttons_ARRAY_delete', 'script', '2017-06-05 11:02:10');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Delete', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'buttons_ARRAY_save', 'arrays', 'buttons_ARRAY_save', 'script', '2017-06-05 11:02:36');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Save', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_menu_settings', 'backend', 'Menu / Settings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Settings', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_menu_notifications', 'backend', 'Menu / Notifications', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Notifications', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_emails', 'backend', 'Label / Emails', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Emails', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_sms', 'backend', 'Label / SMS', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'SMS', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_notifications', 'backend', 'Label / Notifications', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Notifications', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_send_this_notifications', 'backend', 'Label / Send this notification', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Send this notification', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_subject', 'backend', 'Label / Subject', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_message', 'backend', 'Label / Message', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_change_labels', 'backend', 'Label / Change Labels', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Change Labels', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_menu_payments', 'backend', 'Menu / Payments', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Payments', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoPaymentsTitle', 'backend', 'Infobox / Payment options', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Payment Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoPaymentsDesc', 'backend', 'Infobox / Payments', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Here you can choose your payment methods and set payment gateway accounts and payment preferences. Note that for cash payments the system will not be able to collect deposit amount online.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_offline_payment_methods', 'backend', 'Label / Offline Payment Methods', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Offline Payment Methods', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_request_antoher_payment', 'backend', 'Label / Request Another Payment Gateway', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Request Another Payment Gateway', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_online_payment_gateway', 'backend', 'Label / Online payment gateway', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Online payment gateway', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_offline_payment', 'backend', 'Label / Offline payment', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Offline payment', 'script');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdmin_pjActionIndex');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Dashboard', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminBookings');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Reservations Menu', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminBookings_pjActionSchedule');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Schedule', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionPaper');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Print the schedule', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminBookings_pjActionIndex');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Reservations List', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionCreate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Add reservations', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionUpdate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Edit reservations', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionDeleteBooking');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete single reservation', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionDeleteBookingBulk');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete multiple reservations', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminBookings_pjActionExportBooking');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Export reservations', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminTime');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Working Time Menu', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminTime_pjActionIndex');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Default Working Time', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminTime_pjActionCustom');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Custom Working Time', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTime_pjActionCreate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Add dates', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTime_pjActionUpdate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Edit dates', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTime_pjActionDeleteDate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete single date', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTime_pjActionDeleteDateBulk');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete multiple dates', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminMaps_pjActionIndex');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Seat Map Menu', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminMaps_pjActionIndex_use_map');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Use seat map ON/OFF', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminMaps_pjActionSaveSeat');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Manage tables on seat map', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminMaps_pjActionDeleteFile');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete seat map image', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminTables');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Tables Menu', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminTables_pjActionIndex');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Tables List', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTables_pjActionCreate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Add tables', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTables_pjActionUpdate');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Edit tables', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTables_pjActionDeleteTable');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete single table', 'data');

    INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_2_id, 'pjAdminTables_pjActionDeleteTableBulk');
    SET @level_3_id := (SELECT LAST_INSERT_ID());
    INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_3_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Delete multiple tables', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminOptions');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Settings Menu', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionBooking');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Reservation Options', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionPayments');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Payment Options', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionBookingForm');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Reservation Form', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionTerm');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Terms & Conditions', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionNotifications');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Notifications', 'data');

  INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, @level_1_id, 'pjAdminOptions_pjActionReminder');
  SET @level_2_id := (SELECT LAST_INSERT_ID());
  INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_2_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Reminder Options', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminOptions_pjActionPreview');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Preview Menu', 'data');

INSERT INTO `restaurantbooking_plugin_auth_permissions` (`id`, `parent_id`, `key`) VALUES (NULL, NULL, 'pjAdminOptions_pjActionInstall');
SET @level_1_id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @level_1_id, 'pjAuthPermission', '::LOCALE::', 'title', 'Integration Code Menu', 'data');

INSERT INTO `restaurantbooking_plugin_base_cron_jobs` (`name`, `controller`, `action`, `interval`, `period`, `is_active`) VALUES
('Create automatic back-ups for database and files', 'pjBaseBackup', 'pjActionAutoBackup', 1, 'week', 0)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_cron_jobs`.`interval` = 1, `period` = 'week', `is_active` = 0;
  
INSERT INTO `restaurantbooking_plugin_base_cron_jobs` (`name`, `controller`, `action`, `interval`, `period`, `is_active`) VALUES
('Send Email and SMS reminders', 'pjCron', 'pjActionReminder', 10, 'minute', 0)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_cron_jobs`.`interval` = 10, `period` = 'minute', `is_active` = 0;

UPDATE `restaurantbooking_plugin_base_options` SET `value` = 'index.php?controller=pjAdmin&action=pjActionIndex' WHERE `key` = 'o_dashboard';

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_total_reservations', 'backend', 'Label / total reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'total reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_new_reservations', 'backend', 'Label / new reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'new reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblGuests', 'backend', 'Label / Guests', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Guests', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_guests_coming', 'backend', 'Label / guests coming', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'guests coming', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_tables_booked', 'backend', 'Label / tables booked', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'tables booked', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_next_days', 'backend', 'Label / Next X days', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Next 7 days', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_reservations', 'backend', 'Label / reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_guests', 'backend', 'Label / guests', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'guests', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_deposit', 'backend', 'Label / deposit', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'deposit', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_latest_reservations', 'backend', 'Label / Latest Reservations', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Latest Reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_x_reservations_received', 'backend', 'Label / X reservations received', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'You received <strong>{X}</strong> reservations today', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_view_schedule', 'backend', 'Label / View Schedule', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'View Schedule', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_available_tables', 'backend', 'Label / Available Tables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Available Tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_x_appointments_made', 'backend', 'Label / X appointments made', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'total <strong>{X}</strong> appointments made', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_view_bookings', 'backend', 'Label / View All Bookings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'View All Bookings', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_booked', 'backend', 'Label / Booked', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Booked', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_available', 'backend', 'Label / available', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'available', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_table_by_capacity', 'backend', 'Label / Table by capacity', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Table by capacity', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_reservations_by_guest_count', 'backend', 'Label / reservations by guest count', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'reservations by guest count', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_x_guests', 'backend', 'Label / X guests', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', '{X} guests', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'dashboard_x_guests_tables', 'backend', 'Label / X guests tables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', '{X} guests tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoInstallTitle', 'backend', 'Infobox / Install', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Integration code', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'infoInstallDesc', 'backend', 'Infobox / Install', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam optio officiis harum iusto, adipisci animi odit dolore eius. Molestiae, assumenda?', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_install_your_website', 'backend', 'Label / Install your website', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Install your website', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_preview_your_website', 'backend', 'Label / Preview your website', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Open in new window', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblClient', 'backend', 'Label / Client', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblManageTables', 'backend', 'Label / Manage tables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Manage tables [STAG]here[ETAG]', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'script_name', 'backend', 'Label / Script name', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Restaurant Booking System', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'opt_o_min_hour', 'backend', 'Options / Seats pending time', 'plugin', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Table pending time', 'plugin');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'opt_o_min_hour_text', 'backend', 'Options / Seats pending time text', 'plugin', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'A period of time while table assigned to new bookings with Pending status will not be available for other bookings. After this time status will turn to Cancelled.', 'plugin');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'lblMinutes', 'backend', 'Label / minutes', 'plugin', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'minutes', 'plugin');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pj_please_enter_valid_number', 'backend', 'Label / Please enter a valid number.', 'plugin', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjField', '::LOCALE::', 'title', 'Please enter a valid number.', 'plugin');

INSERT INTO `restaurantbooking_plugin_base_cron_jobs` (`name`, `controller`, `action`, `interval`, `period`, `is_active`) VALUES
('Cancel pending bookings after the "Table pending time" is over', 'pjCron', 'pjActionCancelBookings', 10, 'minute', 1);

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_client_email_confirmation', 'arrays', 'Notifications / Client email confirmation', 'script', '2018-05-31 06:19:54');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_client_email_payment', 'arrays', 'Notifications / Client email payment', 'script', '2018-05-31 06:20:22');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send payment confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_client_email_cancel', 'arrays', 'Notifications / Client email cancel', 'script', '2018-05-31 06:20:44');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send cancellation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_client_email_enquiry', 'arrays', 'Notifications / Client email enquiry', 'script', '2018-05-31 06:21:24');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send enquiry email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_admin_email_confirmation', 'arrays', 'Notifications / Admin email confirmation', 'script', '2018-05-31 06:22:40');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_admin_email_payment', 'arrays', 'Notifications / Admin email payment', 'script', '2018-05-31 06:23:02');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send payment confirmation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_admin_email_cancel', 'arrays', 'Notifications / Admin email cancel', 'script', '2018-05-31 06:23:21');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send cancellation email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_ARRAY_admin_email_enquiry', 'arrays', 'Notifications / Admin email enquiry', 'script', '2018-05-31 06:23:21');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send enquiry email', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_client_email_confirmation', 'arrays', 'Notifications / Client email confirmation (title)', 'script', '2018-05-31 06:44:09');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservation Confirmation email sent to Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_client_email_payment', 'arrays', 'Notifications / Client email payment (title)', 'script', '2018-05-31 06:45:06');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Payment Confirmation email sent to Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_client_email_cancel', 'arrays', 'Notifications / Client email cancel (title)', 'script', '2018-05-31 06:45:57');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservation Cancellation email sent to Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_client_email_enquiry', 'arrays', 'Notifications / Client email enquiry (title)', 'script', '2018-05-31 06:46:26');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Enquiry email sent to Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_admin_email_cancel', 'arrays', 'Notifications / Admin email cancel (title)', 'script', '2018-05-31 06:59:17');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send Cancellation email sent to Admin', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_admin_email_payment', 'arrays', 'Notifications / Admin email payment (title)', 'script', '2018-05-31 06:59:31');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send Payment Confirmation email sent to Admin', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_admin_email_confirmation', 'arrays', 'Notifications / Admin email confirmation (title)', 'script', '2018-05-31 06:59:45');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'New Reservation Received email sent to Admin', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_titles_ARRAY_admin_email_enquiry', 'arrays', 'Notifications / Admin email enquiry (title)', 'script', '2018-05-31 06:59:45');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Enquiry email sent to Admin', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_cancel', 'arrays', 'Notifications / Admin email cancel (sub-title)', 'script', '2018-05-31 07:01:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_payment', 'arrays', 'Notifications / Admin email payment (sub-title)', 'script', '2018-05-31 07:01:31');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_confirmation', 'arrays', 'Notifications / Admin email confirmation (sub-title)', 'script', '2018-05-31 07:01:42');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_enquiry', 'arrays', 'Notifications / Admin email enquiry (sub-title)', 'script', '2018-05-31 07:01:42');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_enquiry', 'arrays', 'Notifications / Client email enquiry (sub-title)', 'script', '2018-05-31 07:02:19');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_cancel', 'arrays', 'Notifications / Client email cancel (sub-title)', 'script', '2018-05-31 07:02:28');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_payment', 'arrays', 'Notifications / Client email payment (sub-title)', 'script', '2018-05-31 07:02:37');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_confirmation', 'arrays', 'Notifications / Client email confirmation (sub-title)', 'script', '2018-05-31 07:02:47');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut lorem faucibus, pellentesque mi sit amet, sollicitudin dui. Duis vestibulum.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_subject', 'backend', 'Subject', 'script', '2018-05-31 09:22:57');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Subject', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_message', 'backend', 'Message', 'script', '2018-05-31 09:23:13');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_is_active', 'backend', 'Send this message', 'script', '2018-05-31 09:23:29');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send this message', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_sms_na', 'backend', 'SMS not available', 'script', '2018-05-31 09:24:36');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'SMS notifications are currently not available for your website. See details', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_sms_na_here', 'backend', 'here', 'script', '2018-05-31 09:24:58');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'here', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_send', 'backend', 'Notifications / Send', 'script', '2018-05-31 09:25:37');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_do_not_send', 'backend', 'Notifications / Do not send', 'script', '2018-05-31 09:26:01');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Do not send', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_status', 'backend', 'Notifications / Status', 'script', '2018-05-31 09:26:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Status', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_msg_to_client', 'backend', 'Notifications / Messages sent to Clients', 'script', '2018-05-31 09:27:01');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Messages sent to Clients', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_msg_to_admin', 'backend', 'Notifications / Messages sent to Admin', 'script', '2018-05-31 09:30:48');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Messages sent to Admin', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_msg_to_default', 'backend', 'Notifications / Messages sent to Default', 'script', '2018-05-31 09:31:04');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Messages sent', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_main_title', 'backend', 'Notifications', 'script', '2018-05-31 09:32:44');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Notifications', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_main_subtitle', 'backend', 'Notifications (sub-title)', 'script', '2018-05-31 09:33:14');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Automated messages are sent both to client and administrator on specific events. Select message type to edit it - enable/disable or just change message text. For SMS notifications you need to enable SMS service. See more <a href="https://www.phpjabbers.com/web-sms/" target="_blank">here</a>.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_recipient', 'backend', 'Notifications / Recipient', 'script', '2018-05-31 09:33:56');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Recipient', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_tokens_note', 'backend', 'Notifications / Tokens (note)', 'script', '2018-05-31 09:35:19');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Personalize the message by including any of the available tokens and it will be replaced with corresponding data.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'notifications_tokens', 'backend', 'Notifications / Tokens', 'script', '2018-05-31 09:38:00');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Available tokens:', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'recipients_ARRAY_client', 'arrays', 'Recipients / Client', 'script', '2018-05-31 09:39:03');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Client', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'recipients_ARRAY_admin', 'arrays', 'Recipients / Administrator', 'script', '2018-05-31 09:39:23');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Administrator', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'recipient_admin_note', 'backend', 'Recipients / Administrator (note)', 'script', '2018-05-31 09:40:31');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Go to <a href="index.php?controller=pjBaseUsers&action=pjActionIndex">Users menu</a> and edit each administrator profile to select if they should receive "Admin notifications" or not.', 'script');

SET @label := 'Options / Enable SMS notifications';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'opt_o_reminder_enable_sms', 'backend', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'backend', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'Enable SMS notifications';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'opt_o_reminder_enable_sms'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_titles_ARRAY_AT10', 'arrays', 'error_titles_ARRAY_AT10', 'script', '2018-06-08 11:23:57');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Error!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_bodies_ARRAY_AT10', 'arrays', 'error_bodies_ARRAY_AT10', 'script', '2018-06-08 11:24:15');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Time is not valid.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_titles_ARRAY_AM02', 'arrays', 'error_titles_ARRAY_AM02', 'script', '2018-06-08 14:18:30');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Error!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_bodies_ARRAY_AM02', 'arrays', 'error_bodies_ARRAY_AM02', 'script', '2018-06-08 14:18:48');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Image is too big.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_titles_ARRAY_AM03', 'arrays', 'error_titles_ARRAY_AM03', 'script', '2018-06-08 14:21:20');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Error!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_bodies_ARRAY_AM03', 'arrays', 'error_bodies_ARRAY_AM03', 'script', '2018-06-08 14:23:21');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Image format is not supported. Upload a map in JPG format.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_titles_ARRAY_AM04', 'arrays', 'error_titles_ARRAY_AM04', 'script', '2018-06-08 14:59:55');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Error!', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'error_bodies_ARRAY_AM04', 'arrays', 'error_bodies_ARRAY_AM04', 'script', '2018-06-08 15:00:38');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Tables can not have same names.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_label_reload_captcha', 'frontend', 'Label / Click to reload', 'script', '2018-06-11 10:33:48');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Can''t read the text? Click to reload.', 'script');

SET @label := 'Label / Offline payments';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'script_offline_payment', 'backend', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'backend', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'Offline payments';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'script_offline_payment'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Label / Online payments';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'script_online_payment_gateway', 'backend', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'backend', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'Online payments';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'script_online_payment_gateway'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Options / include terms';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'opt_o_bf_include_terms', 'backend', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'backend', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'Terms';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'opt_o_bf_include_terms'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Infobox / Install';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'infoInstallDesc', 'backend', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'backend', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'Follow the instructions below to install the script on your website.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'infoInstallDesc'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';


SET @label := 'Notifications / Admin email cancel (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_cancel', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the administrator when a client cancels a reservation.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_admin_email_cancel'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Admin email enquiry (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_enquiry', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the administrator when a new enquiry is received.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_admin_email_enquiry'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Admin email confirmation (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_confirmation', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the administrator when a new reservation is made.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_admin_email_confirmation'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Admin email payment (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_admin_email_payment', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the administrator when a payment for a new reservation is made.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_admin_email_payment'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Client email confirmation (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_confirmation', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to client when a new reservation is made.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_client_email_confirmation'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Client email payment (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_payment', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the client when a payment is made for a new reservation.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_client_email_payment'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Client email cancel (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_cancel', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the client when a client cancels a reservation.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_client_email_cancel'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

SET @label := 'Notifications / Client email enquiry (sub-title)';

INSERT INTO `restaurantbooking_plugin_base_fields` (`id`, `key`, `type`, `label`, `source`, `modified`) VALUES (NULL, 'notifications_subtitles_ARRAY_client_email_enquiry', 'arrays', @label, 'script', NULL)
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_fields`.`type` = 'arrays', `label` = @label, `source` = 'script', `modified` = NULL;

SET @content := 'This message is sent to the client when a new enquiry is made.';

INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`)
SELECT NULL, `id`, 'pjBaseField', '::LOCALE::', 'title', @content, 'script'
FROM `restaurantbooking_plugin_base_fields` WHERE `key` = 'notifications_subtitles_ARRAY_client_email_enquiry'
ON DUPLICATE KEY UPDATE `restaurantbooking_plugin_base_multi_lang`.`content` = @content, `source` = 'script';

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'front_messages_ARRAY_304', 'arrays', 'front_messages_ARRAY_304', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'You cannot make reservation at the passed time.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjBaseBackup_pjActionAutoBackup', 'backend', 'pjBaseBackup_pjActionAutoBackup', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Create automatic back-ups for database and files', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjCron_pjActionReminder', 'backend', 'pjCron_pjActionReminder', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Send Email and SMS reminders', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjCron_pjActionCancelBookings', 'backend', 'pjCron_pjActionCancelBookings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Cancel pending bookings after the "Table pending time" is over', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'cron_cancel_booking_status', 'backend', 'cron_cancel_booking_status', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', '%u bookings has been cancelled.', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdmin_pjActionIndex', 'backend', 'pjAdmin_pjActionIndex', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Dashboard', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings', 'backend', 'pjAdminBookings', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservations Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionSchedule', 'backend', 'pjAdminBookings_pjActionSchedule', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Schedule', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionPaper', 'backend', 'pjAdminBookings_pjActionPaper', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Print the schedule', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionIndex', 'backend', 'pjAdminBookings_pjActionIndex', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservations List', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionCreate', 'backend', 'pjAdminBookings_pjActionCreate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Add reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionUpdate', 'backend', 'pjAdminBookings_pjActionUpdate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Edit reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionDeleteBooking', 'backend', 'pjAdminBookings_pjActionDeleteBooking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete single reservation', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionDeleteBookingBulk', 'backend', 'pjAdminBookings_pjActionDeleteBookingBulk', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete multiple reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminBookings_pjActionExportBooking', 'backend', 'pjAdminBookings_pjActionExportBooking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Export reservations', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime', 'backend', 'pjAdminTime', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Working Time Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionIndex', 'backend', 'pjAdminTime_pjActionIndex', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Default Working Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionCustom', 'backend', 'pjAdminTime_pjActionCustom', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Custom Working Time', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionCreate', 'backend', 'pjAdminTime_pjActionCreate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Add dates', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionUpdate', 'backend', 'pjAdminTime_pjActionUpdate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Edit dates', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionDeleteDate', 'backend', 'pjAdminTime_pjActionDeleteDate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete single date', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTime_pjActionDeleteDateBulk', 'backend', 'pjAdminTime_pjActionDeleteDateBulk', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete multiple dates', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminMaps_pjActionIndex', 'backend', 'pjAdminMaps_pjActionIndex', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Seat Map Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminMaps_pjActionIndex_use_map', 'backend', 'pjAdminMaps_pjActionIndex_use_map', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Use seat map ON/OFF', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminMaps_pjActionSaveSeat', 'backend', 'pjAdminMaps_pjActionSaveSeat', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Manage tables on seat map', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminMaps_pjActionDeleteFile', 'backend', 'pjAdminMaps_pjActionDeleteFile', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete seat map image', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables', 'backend', 'pjAdminTables', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Tables Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables_pjActionIndex', 'backend', 'pjAdminTables_pjActionIndex', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Tables List', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables_pjActionCreate', 'backend', 'pjAdminTables_pjActionCreate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Add tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables_pjActionUpdate', 'backend', 'pjAdminTables_pjActionUpdate', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Edit tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables_pjActionDeleteTable', 'backend', 'pjAdminTables_pjActionDeleteTable', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete single table', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminTables_pjActionDeleteTableBulk', 'backend', 'pjAdminTables_pjActionDeleteTableBulk', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Delete multiple tables', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions', 'backend', 'pjAdminOptions', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Settings Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionBooking', 'backend', 'pjAdminOptions_pjActionBooking', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservation Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionPayments', 'backend', 'pjAdminOptions_pjActionPayments', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Payment Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionBookingForm', 'backend', 'pjAdminOptions_pjActionBookingForm', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reservation Form', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionTerm', 'backend', 'pjAdminOptions_pjActionTerm', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Terms & Conditions', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionNotifications', 'backend', 'pjAdminOptions_pjActionNotifications', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Notifications', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionReminder', 'backend', 'pjAdminOptions_pjActionReminder', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Reminder Options', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionPreview', 'backend', 'pjAdminOptions_pjActionPreview', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Preview Menu', 'script');

INSERT INTO `restaurantbooking_plugin_base_fields` VALUES (NULL, 'pjAdminOptions_pjActionInstall', 'backend', 'pjAdminOptions_pjActionInstall', 'script', NULL);
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` VALUES (NULL, @id, 'pjBaseField', '::LOCALE::', 'title', 'Integration Code Menu', 'script');

UPDATE `restaurantbooking_plugin_auth_permissions` SET `key`='pjPayments_pjActionIndex' WHERE `key`='pjAdminOptions_pjActionPayments';
UPDATE `restaurantbooking_plugin_base_fields` SET `key`='pjPayments_pjActionIndex' WHERE `key`='pjAdminOptions_pjActionPayments';


