Merge remote-tracking branch 'upstream/master' into paypal-refund-feature

This commit is contained in:
devansh bawari 2021-02-10 19:16:24 +05:30
commit 2dea0a79e3
30 changed files with 262 additions and 166 deletions

211
composer.lock generated
View File

@ -167,16 +167,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.172.2", "version": "3.173.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "47a4f005e51ffe158526f7ef7b5723b4313f823c" "reference": "439a161e46895cd1f7b93b4c0295f95d6a17385e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/47a4f005e51ffe158526f7ef7b5723b4313f823c", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/439a161e46895cd1f7b93b4c0295f95d6a17385e",
"reference": "47a4f005e51ffe158526f7ef7b5723b4313f823c", "reference": "439a161e46895cd1f7b93b4c0295f95d6a17385e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -251,22 +251,22 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.172.2" "source": "https://github.com/aws/aws-sdk-php/tree/3.173.6"
}, },
"time": "2021-01-27T19:14:10+00:00" "time": "2021-02-09T19:14:22+00:00"
}, },
{ {
"name": "babenkoivan/elastic-adapter", "name": "babenkoivan/elastic-adapter",
"version": "v1.11.0", "version": "v1.12.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/babenkoivan/elastic-adapter.git", "url": "https://github.com/babenkoivan/elastic-adapter.git",
"reference": "49c471dab207ce57512d2fb1f346cc13529a2ba5" "reference": "e89e5dbda88de881f531add3ceed2658c6455eea"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/babenkoivan/elastic-adapter/zipball/49c471dab207ce57512d2fb1f346cc13529a2ba5", "url": "https://api.github.com/repos/babenkoivan/elastic-adapter/zipball/e89e5dbda88de881f531add3ceed2658c6455eea",
"reference": "49c471dab207ce57512d2fb1f346cc13529a2ba5", "reference": "e89e5dbda88de881f531add3ceed2658c6455eea",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -304,9 +304,19 @@
], ],
"support": { "support": {
"issues": "https://github.com/babenkoivan/elastic-adapter/issues", "issues": "https://github.com/babenkoivan/elastic-adapter/issues",
"source": "https://github.com/babenkoivan/elastic-adapter/tree/v1.11.0" "source": "https://github.com/babenkoivan/elastic-adapter/tree/v1.12.0"
}, },
"time": "2021-01-23T15:54:32+00:00" "funding": [
{
"url": "https://www.buymeacoffee.com/ivanbabenko",
"type": "buymeacoffee"
},
{
"url": "https://paypal.me/babenkoi",
"type": "paypal"
}
],
"time": "2021-02-01T12:44:21+00:00"
}, },
{ {
"name": "babenkoivan/elastic-client", "name": "babenkoivan/elastic-client",
@ -482,16 +492,16 @@
}, },
{ {
"name": "bagistobrasil/bagisto-product-social-share", "name": "bagistobrasil/bagisto-product-social-share",
"version": "0.1.2", "version": "0.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bagistobrasil/bagisto-product-social-share.git", "url": "https://github.com/bagistobrasil/bagisto-product-social-share.git",
"reference": "a81c4f29a3e79ce911a9e419cc83ccf513c0ab38" "reference": "ebc80456b68db409fe53a9adff74d00d72593797"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bagistobrasil/bagisto-product-social-share/zipball/a81c4f29a3e79ce911a9e419cc83ccf513c0ab38", "url": "https://api.github.com/repos/bagistobrasil/bagisto-product-social-share/zipball/ebc80456b68db409fe53a9adff74d00d72593797",
"reference": "a81c4f29a3e79ce911a9e419cc83ccf513c0ab38", "reference": "ebc80456b68db409fe53a9adff74d00d72593797",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
@ -520,9 +530,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/bagistobrasil/bagisto-product-social-share/issues", "issues": "https://github.com/bagistobrasil/bagisto-product-social-share/issues",
"source": "https://github.com/bagistobrasil/bagisto-product-social-share/tree/0.1.2" "source": "https://github.com/bagistobrasil/bagisto-product-social-share/tree/0.1.3"
}, },
"time": "2020-08-04T12:36:28+00:00" "time": "2021-02-10T11:42:52+00:00"
}, },
{ {
"name": "barryvdh/laravel-debugbar", "name": "barryvdh/laravel-debugbar",
@ -3948,16 +3958,16 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "2.43.0", "version": "2.45.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "d32c57d8389113742f4a88725a170236470012e2" "reference": "e2ba3174ce869da1713c38340dbb36572dfacd5a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d32c57d8389113742f4a88725a170236470012e2", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/e2ba3174ce869da1713c38340dbb36572dfacd5a",
"reference": "d32c57d8389113742f4a88725a170236470012e2", "reference": "e2ba3174ce869da1713c38340dbb36572dfacd5a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3973,7 +3983,7 @@
"phpmd/phpmd": "^2.9", "phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0", "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.54", "phpstan/phpstan": "^0.12.54",
"phpunit/phpunit": "^7.5 || ^8.0", "phpunit/phpunit": "^7.5.20 || ^8.5.14",
"squizlabs/php_codesniffer": "^3.4" "squizlabs/php_codesniffer": "^3.4"
}, },
"bin": [ "bin": [
@ -4037,7 +4047,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-12-17T20:55:32+00:00" "time": "2021-02-07T21:35:59+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@ -5463,16 +5473,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "d62ec79478b55036f65e2602e282822b8eaaff0a" "reference": "89d4b176d12a2946a1ae4e34906a025b7b6b135a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/d62ec79478b55036f65e2602e282822b8eaaff0a", "url": "https://api.github.com/repos/symfony/console/zipball/89d4b176d12a2946a1ae4e34906a025b7b6b135a",
"reference": "d62ec79478b55036f65e2602e282822b8eaaff0a", "reference": "89d4b176d12a2946a1ae4e34906a025b7b6b135a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5540,7 +5550,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v5.2.2" "source": "https://github.com/symfony/console/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -5556,11 +5566,11 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T10:15:41+00:00" "time": "2021-01-28T22:06:19+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
@ -5605,7 +5615,7 @@
"description": "Converts CSS selectors to XPath expressions", "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/css-selector/tree/v5.2.2" "source": "https://github.com/symfony/css-selector/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -5761,16 +5771,16 @@
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/error-handler.git", "url": "https://github.com/symfony/error-handler.git",
"reference": "4fd4a377f7b7ec7c3f3b40346a1411e0a83f9d40" "reference": "48f18b3609e120ea66d59142c23dc53e9562c26d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/4fd4a377f7b7ec7c3f3b40346a1411e0a83f9d40", "url": "https://api.github.com/repos/symfony/error-handler/zipball/48f18b3609e120ea66d59142c23dc53e9562c26d",
"reference": "4fd4a377f7b7ec7c3f3b40346a1411e0a83f9d40", "reference": "48f18b3609e120ea66d59142c23dc53e9562c26d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5810,7 +5820,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code", "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/error-handler/tree/v5.2.2" "source": "https://github.com/symfony/error-handler/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -5826,11 +5836,11 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T10:15:41+00:00" "time": "2021-01-28T22:06:19+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
@ -5895,7 +5905,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.2.2" "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -5994,16 +6004,16 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "196f45723b5e618bf0e23b97e96d11652696ea9e" "reference": "4adc8d172d602008c204c2e16956f99257248e03"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/196f45723b5e618bf0e23b97e96d11652696ea9e", "url": "https://api.github.com/repos/symfony/finder/zipball/4adc8d172d602008c204c2e16956f99257248e03",
"reference": "196f45723b5e618bf0e23b97e96d11652696ea9e", "reference": "4adc8d172d602008c204c2e16956f99257248e03",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6035,7 +6045,7 @@
"description": "Finds files and directories via an intuitive fluent interface", "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/finder/tree/v5.2.2" "source": "https://github.com/symfony/finder/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -6051,7 +6061,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T10:01:46+00:00" "time": "2021-01-28T22:06:19+00:00"
}, },
{ {
"name": "symfony/http-client-contracts", "name": "symfony/http-client-contracts",
@ -6134,16 +6144,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "16dfa5acf8103f0394d447f8eea3ea49f9e50855" "reference": "20c554c0f03f7cde5ce230ed248470cccbc34c36"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/16dfa5acf8103f0394d447f8eea3ea49f9e50855", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/20c554c0f03f7cde5ce230ed248470cccbc34c36",
"reference": "16dfa5acf8103f0394d447f8eea3ea49f9e50855", "reference": "20c554c0f03f7cde5ce230ed248470cccbc34c36",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6187,7 +6197,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.2.2" "source": "https://github.com/symfony/http-foundation/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -6203,20 +6213,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T11:19:04+00:00" "time": "2021-02-03T04:42:09+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "831b51e9370ece0febd0950dd819c63f996721c7" "reference": "89bac04f29e7b0b52f9fa6a4288ca7a8f90a1a05"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/831b51e9370ece0febd0950dd819c63f996721c7", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/89bac04f29e7b0b52f9fa6a4288ca7a8f90a1a05",
"reference": "831b51e9370ece0febd0950dd819c63f996721c7", "reference": "89bac04f29e7b0b52f9fa6a4288ca7a8f90a1a05",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6299,7 +6309,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.2.2" "source": "https://github.com/symfony/http-kernel/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -6315,20 +6325,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T14:45:46+00:00" "time": "2021-02-03T04:51:58+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "37bade585ea100d235c031b258eff93b5b6bb9a9" "reference": "7dee6a43493f39b51ff6c5bb2bd576fe40a76c86"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/37bade585ea100d235c031b258eff93b5b6bb9a9", "url": "https://api.github.com/repos/symfony/mime/zipball/7dee6a43493f39b51ff6c5bb2bd576fe40a76c86",
"reference": "37bade585ea100d235c031b258eff93b5b6bb9a9", "reference": "7dee6a43493f39b51ff6c5bb2bd576fe40a76c86",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6381,7 +6391,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v5.2.2" "source": "https://github.com/symfony/mime/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -6397,7 +6407,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-25T14:08:25+00:00" "time": "2021-02-02T06:10:15+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@ -7198,7 +7208,7 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
@ -7240,7 +7250,7 @@
"description": "Executes commands in sub-processes", "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/process/tree/v5.2.2" "source": "https://github.com/symfony/process/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -7260,7 +7270,7 @@
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
@ -7330,7 +7340,7 @@
"url" "url"
], ],
"support": { "support": {
"source": "https://github.com/symfony/routing/tree/v5.2.2" "source": "https://github.com/symfony/routing/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -7429,7 +7439,7 @@
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
@ -7492,7 +7502,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v5.2.2" "source": "https://github.com/symfony/string/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -7512,7 +7522,7 @@
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
@ -7585,7 +7595,7 @@
"description": "Provides tools to internationalize your application", "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/translation/tree/v5.2.2" "source": "https://github.com/symfony/translation/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -7683,7 +7693,7 @@
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
@ -7751,7 +7761,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.2.2" "source": "https://github.com/symfony/var-dumper/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -8062,25 +8072,26 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "behat/gherkin", "name": "behat/gherkin",
"version": "v4.7.1", "version": "v4.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Behat/Gherkin.git", "url": "https://github.com/Behat/Gherkin.git",
"reference": "987bcdc3d29ba433e6bd4b1db4ae59737ba3dacd" "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Behat/Gherkin/zipball/987bcdc3d29ba433e6bd4b1db4ae59737ba3dacd", "url": "https://api.github.com/repos/Behat/Gherkin/zipball/2391482cd003dfdc36b679b27e9f5326bd656acd",
"reference": "987bcdc3d29ba433e6bd4b1db4ae59737ba3dacd", "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.6" "php": "~7.2|~8.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~5.7|~6|~7", "cucumber/cucumber": "dev-gherkin-16.0.0",
"symfony/phpunit-bridge": "~2.7|~3|~4", "phpunit/phpunit": "~8|~9",
"symfony/yaml": "~2.3|~3|~4" "symfony/phpunit-bridge": "~3|~4|~5",
"symfony/yaml": "~3|~4|~5"
}, },
"suggest": { "suggest": {
"symfony/yaml": "If you want to parse features, represented in YAML files" "symfony/yaml": "If you want to parse features, represented in YAML files"
@ -8119,9 +8130,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Behat/Gherkin/issues", "issues": "https://github.com/Behat/Gherkin/issues",
"source": "https://github.com/Behat/Gherkin/tree/v4.7.1" "source": "https://github.com/Behat/Gherkin/tree/v4.8.0"
}, },
"time": "2021-01-26T16:24:32+00:00" "time": "2021-02-04T12:44:21+00:00"
}, },
{ {
"name": "codeception/codeception", "name": "codeception/codeception",
@ -8268,16 +8279,16 @@
}, },
{ {
"name": "codeception/lib-innerbrowser", "name": "codeception/lib-innerbrowser",
"version": "1.3.6", "version": "1.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Codeception/lib-innerbrowser.git", "url": "https://github.com/Codeception/lib-innerbrowser.git",
"reference": "41b79ba6761001bdb1f373a347400180693ad4e7" "reference": "b7406c710684c255d9b067d7795269a5585a0406"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/41b79ba6761001bdb1f373a347400180693ad4e7", "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/b7406c710684c255d9b067d7795269a5585a0406",
"reference": "41b79ba6761001bdb1f373a347400180693ad4e7", "reference": "b7406c710684c255d9b067d7795269a5585a0406",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8322,9 +8333,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Codeception/lib-innerbrowser/issues", "issues": "https://github.com/Codeception/lib-innerbrowser/issues",
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.3.6" "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.0"
}, },
"time": "2021-01-17T11:21:09+00:00" "time": "2021-01-29T18:17:25+00:00"
}, },
{ {
"name": "codeception/module-asserts", "name": "codeception/module-asserts",
@ -10620,7 +10631,7 @@
}, },
{ {
"name": "symfony/browser-kit", "name": "symfony/browser-kit",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/browser-kit.git", "url": "https://github.com/symfony/browser-kit.git",
@ -10671,7 +10682,7 @@
"description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically", "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/browser-kit/tree/v5.2.2" "source": "https://github.com/symfony/browser-kit/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -10691,7 +10702,7 @@
}, },
{ {
"name": "symfony/dom-crawler", "name": "symfony/dom-crawler",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dom-crawler.git", "url": "https://github.com/symfony/dom-crawler.git",
@ -10745,7 +10756,7 @@
"description": "Eases DOM navigation for HTML and XML documents", "description": "Eases DOM navigation for HTML and XML documents",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/dom-crawler/tree/v5.2.2" "source": "https://github.com/symfony/dom-crawler/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -10765,16 +10776,16 @@
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v5.2.2", "version": "v5.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "6bb8b36c6dea8100268512bf46e858c8eb5c545e" "reference": "338cddc6d74929f6adf19ca5682ac4b8e109cdb0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/6bb8b36c6dea8100268512bf46e858c8eb5c545e", "url": "https://api.github.com/repos/symfony/yaml/zipball/338cddc6d74929f6adf19ca5682ac4b8e109cdb0",
"reference": "6bb8b36c6dea8100268512bf46e858c8eb5c545e", "reference": "338cddc6d74929f6adf19ca5682ac4b8e109cdb0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10820,7 +10831,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v5.2.2" "source": "https://github.com/symfony/yaml/tree/v5.2.3"
}, },
"funding": [ "funding": [
{ {
@ -10836,7 +10847,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-01-27T10:01:46+00:00" "time": "2021-02-03T04:42:09+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",

View File

@ -44,7 +44,7 @@
<span class="control-error" v-if="errors.has('description')">@{{ errors.first('description') }}</span> <span class="control-error" v-if="errors.has('description')">@{{ errors.first('description') }}</span>
</div> </div>
<div class="control-group" :class="[errors.has('date') ? 'has-error' : '']"> <div class="control-group date" :class="[errors.has('date') ? 'has-error' : '']">
<label for="date" class="required">{{ __('admin::app.marketing.events.date') }}</label> <label for="date" class="required">{{ __('admin::app.marketing.events.date') }}</label>
<date> <date>
<input type="text" name="date" class="control" v-validate="'required'" value="{{ old('date') }}" data-vv-as="&quot;{{ __('admin::app.marketing.events.date') }}&quot;"> <input type="text" name="date" class="control" v-validate="'required'" value="{{ old('date') }}" data-vv-as="&quot;{{ __('admin::app.marketing.events.date') }}&quot;">

View File

@ -45,7 +45,7 @@
<span class="control-error" v-if="errors.has('description')">@{{ errors.first('description') }}</span> <span class="control-error" v-if="errors.has('description')">@{{ errors.first('description') }}</span>
</div> </div>
<div class="control-group" :class="[errors.has('date') ? 'has-error' : '']"> <div class="control-group date" :class="[errors.has('date') ? 'has-error' : '']">
<label for="date" class="required">{{ __('admin::app.marketing.events.date') }}</label> <label for="date" class="required">{{ __('admin::app.marketing.events.date') }}</label>
<date> <date>
<input type="text" name="date" class="control" v-validate="'required'" value="{{ old('date') ?: $event->date }}" data-vv-as="&quot;{{ __('admin::app.marketing.events.date') }}&quot;"> <input type="text" name="date" class="control" v-validate="'required'" value="{{ old('date') ?: $event->date }}" data-vv-as="&quot;{{ __('admin::app.marketing.events.date') }}&quot;">

View File

@ -287,7 +287,7 @@ class SmartButtonController extends Controller
{ {
$cart = Cart::getCart(); $cart = Cart::getCart();
$minimumOrderAmount = (int) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
if (! $cart->checkMinimumOrder()) { if (! $cart->checkMinimumOrder()) {
throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)])); throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]));

View File

@ -9,6 +9,7 @@ use Webkul\Product\Models\ProductFlat;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Webkul\Checkout\Models\CartItem as CartItemModel; use Webkul\Checkout\Models\CartItem as CartItemModel;
use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\DB;
use Webkul\Product\Facades\ProductImage;
class Configurable extends AbstractType class Configurable extends AbstractType
{ {
@ -594,7 +595,7 @@ class Configurable extends AbstractType
} }
} }
return $this->productImageHelper->getProductBaseImage($product); return ProductImage::getProductBaseImage($product);
} }
/** /**

View File

@ -52,7 +52,7 @@ return [
'name' => 'minimum_order_amount', 'name' => 'minimum_order_amount',
'title' => 'admin::app.admin.system.minimum-order-amount', 'title' => 'admin::app.admin.system.minimum-order-amount',
'type' => 'text', 'type' => 'text',
'validation' => 'numeric', 'validation' => 'decimal',
'channel_based' => true, 'channel_based' => true,
'locale_based' => true, 'locale_based' => true,
], ],

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{ {
"/js/shop.js": "/js/shop.js?id=83c93b077da401f7b709", "/js/shop.js": "/js/shop.js?id=83c93b077da401f7b709",
"/css/shop.css": "/css/shop.css?id=6f4a4f8fad1b25e05e33" "/css/shop.css": "/css/shop.css?id=5010731b9744e6f9a8d2"
} }

View File

@ -74,6 +74,14 @@ class OnepageController extends Controller
return redirect()->route('customer.session.index'); return redirect()->route('customer.session.index');
} }
$minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
if (! $cart->checkMinimumOrder()) {
session()->flash('warning', trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]));
return redirect()->back();
}
Cart::collectTotals(); Cart::collectTotals();
return view($this->_config['view'], compact('cart')); return view($this->_config['view'], compact('cart'));
@ -228,7 +236,7 @@ class OnepageController extends Controller
{ {
$cart = Cart::getCart(); $cart = Cart::getCart();
$minimumOrderAmount = (int) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
if (! $cart->checkMinimumOrder()) { if (! $cart->checkMinimumOrder()) {
throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)])); throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]));

View File

@ -409,6 +409,7 @@ input {
} }
.product-card { .product-card {
height: 480px;
position: relative; position: relative;
padding: 15px; padding: 15px;
@ -448,6 +449,30 @@ input {
} }
.cart-wish-wrap { .cart-wish-wrap {
position: absolute;
display: inline-flex;
justify-content: flex-start;
align-items: center;
bottom: 5px;
height: 40px;
.addtocart {
margin-right: 10px;
text-transform: uppercase;
text-align: left;
box-shadow: 1px 1px 0px $shadow-color;
}
.add-to-wishlist {
margin-top: 5px;
background: transparent;
border: 0;
cursor: pointer;
padding: 0;
}
}
.default-wrap {
display: inline-flex; display: inline-flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
@ -4724,10 +4749,14 @@ td {
.cart-wish-wrap { .cart-wish-wrap {
display: flex; display: flex;
} }
.default-wrap {
display: flex;
}
.white-cross-sm-icon { .white-cross-sm-icon {
width: 24px; width: 24px;
height:24px; height:24px;
} }
.add-to-wishlist { .add-to-wishlist {
margin-top: auto;
margin-left: 15px; margin-left: 15px;
} }

View File

@ -129,7 +129,7 @@
@if (! cart()->hasError()) @if (! cart()->hasError())
@php @php
$minimumOrderAmount = (int) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
@endphp @endphp
<proceed-to-checkout <proceed-to-checkout

View File

@ -87,7 +87,7 @@
<a href="{{ route('shop.checkout.cart.index') }}">{{ __('shop::app.minicart.view-cart') }}</a> <a href="{{ route('shop.checkout.cart.index') }}">{{ __('shop::app.minicart.view-cart') }}</a>
@php @php
$minimumOrderAmount = (int) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
@endphp @endphp
<proceed-to-checkout <proceed-to-checkout

View File

@ -108,10 +108,12 @@
<span class="control-error" v-if="errors.has('password_confirmation')">@{{ errors.first('password_confirmation') }}</span> <span class="control-error" v-if="errors.has('password_confirmation')">@{{ errors.first('password_confirmation') }}</span>
</div> </div>
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
<div class="control-group"> <div class="control-group">
<input type="checkbox" id="checkbox2" name="subscribed_to_news_letter"@if (isset($customer->subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif> <input type="checkbox" id="checkbox2" name="subscribed_to_news_letter"@if (isset($customer->subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif>
<span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span> <span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span>
</div> </div>
@endif
{!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!} {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!}

View File

@ -76,10 +76,12 @@
Checkbox Value 1 Checkbox Value 1
</span> --}} </span> --}}
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
<div class="control-group"> <div class="control-group">
<input type="checkbox" id="checkbox2" name="is_subscribed"> <input type="checkbox" id="checkbox2" name="is_subscribed">
<span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span> <span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span>
</div> </div>
@endif
{!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!} {!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!}

View File

@ -1,10 +1,12 @@
@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
@php @php
$showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false; $showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false;
$showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false;
@endphp @endphp
<div class="cart-wish-wrap"> <div class="{{ $toolbarHelper->isModeActive('grid') ? 'cart-wish-wrap' : 'default-wrap' }}">
<form action="{{ route('cart.add', $product->product_id) }}" method="POST"> <form action="{{ route('cart.add', $product->product_id) }}" method="POST">
@csrf @csrf
<input type="hidden" name="product_id" value="{{ $product->product_id }}"> <input type="hidden" name="product_id" value="{{ $product->product_id }}">

View File

@ -50,7 +50,7 @@
<span v-if="attribute.swatch_type == 'color'" :style="{ background: option.swatch_value }"></span> <span v-if="attribute.swatch_type == 'color'" :style="{ background: option.swatch_value }"></span>
<img v-if="attribute.swatch_type == 'image'" :src="option.swatch_value" alt="" /> <img v-if="attribute.swatch_type == 'image'" :src="option.swatch_value" :title="option.label" alt="" />
<span v-if="attribute.swatch_type == 'text'"> <span v-if="attribute.swatch_type == 'text'">
@{{ option.label }} @{{ option.label }}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{ {
"/js/velocity.js": "/js/velocity.js?id=944363ef9b7fd3a4f15d", "/js/velocity.js": "/js/velocity.js?id=a45dba1beb5c6f79193d",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=4322502d80a0e4a0affd", "/css/velocity-admin.css": "/css/velocity-admin.css?id=4322502d80a0e4a0affd",
"/css/velocity.css": "/css/velocity.css?id=c0ee0beda342603e1144" "/css/velocity.css": "/css/velocity.css?id=a0d4320e35797371f8f0"
} }

View File

@ -59,6 +59,10 @@ class ShopController extends Controller
{ {
$slug = request()->get('category-slug'); $slug = request()->get('category-slug');
if (! $slug) {
abort(404);
}
switch ($slug) { switch ($slug) {
case 'new-products': case 'new-products':
case 'featured-products': case 'featured-products':

View File

@ -685,7 +685,7 @@
.product-quantity { .product-quantity {
.quantity { .quantity {
float: left; display: inline-flex;
label { label {
display: none !important; display: none !important;

View File

@ -801,6 +801,10 @@
content: "\e93e"; content: "\e93e";
} }
&.compare::before {
content: "\e93b";
}
&.orders::before { &.orders::before {
content: "\e931"; content: "\e931";
} }

View File

@ -104,12 +104,23 @@
</a> </a>
</li> </li>
@if (core()->getConfigData('general.content.shop.wishlist_option'))
<li> <li>
<a href="{{ route('customer.wishlist.index') }}" class="unset"> <a href="{{ route('customer.wishlist.index') }}" class="unset">
<i class="icon wishlist text-down-3"></i> <i class="icon wishlist text-down-3"></i>
<span>{{ __('shop::app.header.wishlist') }}</span> <span>{{ __('shop::app.header.wishlist') }}</span>
</a> </a>
</li> </li>
@endif
@if (core()->getConfigData('general.content.shop.compare_option'))
<li>
<a href="{{ route('velocity.customer.product.compare') }}" class="unset">
<i class="icon compare text-down-3"></i>
<span>{{ __('shop::app.customer.compare.text') }}</span>
</a>
</li>
@endif
<li> <li>
<a href="{{ route('customer.orders.index') }}" class="unset"> <a href="{{ route('customer.orders.index') }}" class="unset">

View File

@ -87,7 +87,7 @@
:onerror="`this.src='${this.$root.baseUrl}/vendor/webkul/ui/assets/images/product/large-product-placeholder.png'`"> :onerror="`this.src='${this.$root.baseUrl}/vendor/webkul/ui/assets/images/product/large-product-placeholder.png'`">
</a> </a>
<div class="product-details-content col-7 pr0"> <div class="product-details-content col-6 pr0">
<div class="row item-title no-margin"> <div class="row item-title no-margin">
<a <a
href="{{ route('shop.productOrCategory.index', $url_key) }}" href="{{ route('shop.productOrCategory.index', $url_key) }}"
@ -161,14 +161,12 @@
</div> </div>
</div> </div>
<div class="product-quantity col-2 no-padding"> <div class="product-quantity col-3 no-padding">
<div class="row">
<quantity-changer <quantity-changer
:control-name="'qty[{{$item->id}}]'" :control-name="'qty[{{$item->id}}]'"
quantity="{{ $item->quantity }}"> quantity="{{ $item->quantity }}">
</quantity-changer> </quantity-changer>
</div> </div>
</div>
<div class="product-price fs18 col-1"> <div class="product-price fs18 col-1">
<span class="card-current-price fw6 mr10"> <span class="card-current-price fw6 mr10">

View File

@ -46,7 +46,7 @@
<div class="row"> <div class="row">
@php @php
$minimumOrderAmount = (int) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
@endphp @endphp
<proceed-to-checkout <proceed-to-checkout

View File

@ -191,10 +191,12 @@
</div> </div>
</div> </div>
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
<div class="control-group"> <div class="control-group">
<input type="checkbox" id="checkbox2" name="subscribed_to_news_letter" @if (isset($customer->subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif style="width: auto;"> <input type="checkbox" id="checkbox2" name="subscribed_to_news_letter" @if (isset($customer->subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif style="width: auto;">
<span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span> <span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span>
</div> </div>
@endif
{!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!} {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!}

View File

@ -138,10 +138,12 @@
</span> </span>
</div> </div>
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
<div class="control-group"> <div class="control-group">
<input type="checkbox" id="checkbox2" name="is_subscribed"> <input type="checkbox" id="checkbox2" name="is_subscribed">
<span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span> <span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span>
</div> </div>
@endif
{!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!} {!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!}

View File

@ -76,7 +76,7 @@
<span v-if="attribute.swatch_type == 'color'" :style="{ background: option.swatch_value }"></span> <span v-if="attribute.swatch_type == 'color'" :style="{ background: option.swatch_value }"></span>
<img v-if="attribute.swatch_type == 'image'" :src="option.swatch_value" alt="" /> <img v-if="attribute.swatch_type == 'image'" :src="option.swatch_value" :title="option.label" alt="" />
<span v-if="attribute.swatch_type == 'text'"> <span v-if="attribute.swatch_type == 'text'">
@{{ option.label }} @{{ option.label }}

View File

@ -1,21 +1,41 @@
<?php <?php
/* max execution time limit */
ini_set('max_execution_time', 900); ini_set('max_execution_time', 900);
// array to pass back data /* php bin path */
$data = array();
$phpbin = PHP_BINDIR . '/php'; $phpbin = PHP_BINDIR . '/php';
// run command on terminal /* commands sequence */
$key = 'cd ../.. && '. $phpbin .' artisan key:generate 2>&1'; $commands = [
$seeder = 'cd ../.. && '. $phpbin .' artisan db:seed 2>&1'; 'seeder' => [
$publish = 'cd ../.. && '. $phpbin .' artisan vendor:publish --all --force 2>&1'; 'key' => 'seeder_results',
'command' => 'cd ../.. && '. $phpbin .' artisan db:seed 2>&1'
],
'publish' => [
'key' => 'publish_results',
'command' => 'cd ../.. && '. $phpbin .' artisan vendor:publish --all --force 2>&1'
],
'storage_link' => [
'key' => 'storage_link_results',
'command' => 'cd ../.. && '. $phpbin .' artisan storage:link 2>&1'
],
'key' => [
'key' => 'key_results',
'command' => 'cd ../.. && '. $phpbin .' artisan key:generate 2>&1'
],
'optimize' => [
'key' => 'optimize_results',
'command' => 'cd ../.. && '. $phpbin .' artisan optimize 2>&1'
],
];
$key_output = exec($key, $data['key'], $data['key_results']); // run command on terminal
$seeder_output = exec($seeder, $data['seeder'], $data['seeder_results']); $data = [];
$publish = exec($publish, $data['publish'], $data['publish_results']); foreach ($commands as $key => $value) {
exec($value['command'], $data[$key], $data[$value['key']]);
}
// return a response // return a response
// return all our data to an AJAX call // return all our data to an AJAX call
echo json_encode($data); echo json_encode($data);

View File

@ -97,7 +97,7 @@
<form method="POST" id="migration-form"> <form method="POST" id="migration-form">
<div style="text-align: center;"> <div style="text-align: center;">
<button class="btn btn-primary" id="migrate-seed">Start installation</button> <button class="btn btn-primary" id="migrate-seed">Start installation</button>
<button class="btn btn-primary" id="continue">Continue</button> <button type="button" class="btn btn-primary" id="continue">Continue</button>
</div> </div>
<div style="cursor: pointer; margin-top:10px"> <div style="cursor: pointer; margin-top:10px">