mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-06 17:42:05 -04:00
Plugins migration
- Remove blank line - Add plugin SVG icon to gulpfile.js - Add plugin details to SQL migration script Signed-off-by: objec <objecttothis@gmail.com>
This commit is contained in:
1 parent
54c476a498
commit
f863be68f9
3 files changed
+11
-2
No files matched your search
@@ -4,4 +4,13 @@ CREATE TABLE IF NOT EXISTS `ospos_plugin_config` (
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
PRIMARY KEY (`key`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
INSERT IGNORE INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
||||
('module_plugins', 'module_plugins_desc', 111, 'plugins');
|
||||
|
||||
INSERT IGNORE INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
||||
('plugins', 'plugins');
|
||||
|
||||
INSERT IGNORE INTO `ospos_grants` (`permission_id`, `person_id`, `menu_group`) VALUES
|
||||
('plugins', 1, 'office');
|
||||
@@ -5,7 +5,6 @@
|
||||
* @var array $subscriptionStatusOptions
|
||||
*/
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -289,6 +289,7 @@ gulp.task('copy-menubar', function() {
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/smartphone.svg"),rename("messages.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/tools.svg"),rename("migrate.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/door.svg"),rename("office.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/plugin.svg"),rename("plugins.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/dolly.svg"),rename("receivings.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/bar-chart.svg"),rename("reports.svg"),gulp.dest("public/images/menubar"));
|
||||
pipeline(gulp.src("./node_modules/elegant-circles/svg/full-color/cart.svg"),rename("sales.svg"),gulp.dest("public/images/menubar"));
|
||||
|
||||
Reference in new issue
Block a user