

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;

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;

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;

CREATE TABLE IF NOT EXISTS `restaurantbooking_dates` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `date` date NOT NULL default '0000-00-00',
  `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;
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT LAST_INSERT_ID());
INSERT INTO `restaurantbooking_plugin_base_multi_lang` (`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
(NULL, @id, 'pjField', 1, 'title', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'script');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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 hours earlier', 'script');
SET @id := (SELECT 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', 'script');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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 booking
booking details', 'script');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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] hours before.', 'script');
SET @id := (SELECT 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');
SET @id := (SELECT 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 close.', 'script');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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');
SET @id := (SELECT 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_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');