diff --git a/composer.json b/composer.json index 0f95a96..8cba4d9 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,7 @@ "flowframe/laravel-trend": "^0.2.0", "imagine/imagine": "^1.3", "inertiajs/inertia-laravel": "^1.0", + "itsgoingd/clockwork": "^5.2", "laravel/framework": "^11.9", "laravel/horizon": "^5.25", "laravel/octane": "^2.4", diff --git a/composer.lock b/composer.lock index 9f14527..b40cfe8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "473f9393c1480ed346d149485b6af560", + "content-hash": "a66fa4b805bf3609fef75ddffdf7175e", "packages": [ { "name": "anourvalar/eloquent-serialize", @@ -2571,6 +2571,81 @@ ], "time": "2024-06-13T01:25:09+00:00" }, + { + "name": "itsgoingd/clockwork", + "version": "v5.2.2", + "source": { + "type": "git", + "url": "https://github.com/itsgoingd/clockwork.git", + "reference": "29bc4cedfbe742b419544c30b7b6e15cd9da08ef" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/29bc4cedfbe742b419544c30b7b6e15cd9da08ef", + "reference": "29bc4cedfbe742b419544c30b7b6e15cd9da08ef", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.6" + }, + "suggest": { + "ext-pdo": "Needed in order to use a SQL database for metadata storage", + "ext-pdo_mysql": "Needed in order to use MySQL for metadata storage", + "ext-pdo_postgres": "Needed in order to use Postgres for metadata storage", + "ext-pdo_sqlite": "Needed in order to use a SQLite for metadata storage", + "ext-redis": "Needed in order to use Redis for metadata storage" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Clockwork\\Support\\Laravel\\ClockworkServiceProvider" + ], + "aliases": { + "Clockwork": "Clockwork\\Support\\Laravel\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "Clockwork\\": "Clockwork/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "itsgoingd", + "email": "itsgoingd@luzer.sk", + "homepage": "https://twitter.com/itsgoingd" + } + ], + "description": "php dev tools in your browser", + "homepage": "https://underground.works/clockwork", + "keywords": [ + "Devtools", + "debugging", + "laravel", + "logging", + "lumen", + "profiling", + "slim" + ], + "support": { + "issues": "https://github.com/itsgoingd/clockwork/issues", + "source": "https://github.com/itsgoingd/clockwork/tree/v5.2.2" + }, + "funding": [ + { + "url": "https://github.com/itsgoingd", + "type": "github" + } + ], + "time": "2024-04-14T10:49:22+00:00" + }, { "name": "jean85/pretty-package-versions", "version": "2.0.6", diff --git a/resources/js/Pages/POS/Checkout/Show.vue b/resources/js/Pages/POS/Checkout/Show.vue index 2dd4758..693d86c 100644 --- a/resources/js/Pages/POS/Checkout/Show.vue +++ b/resources/js/Pages/POS/Checkout/Show.vue @@ -64,7 +64,7 @@ watchEffect(() => { if (props.transaction.status !== 'PENDING') { clearInterval(cardPaymentCheckInterval.value); } - }, 1500); + }, 3000); } if (props.transaction.status !== 'PENDING') { clearInterval(cardPaymentCheckInterval.value); diff --git a/storage/clockwork/.gitignore b/storage/clockwork/.gitignore new file mode 100644 index 0000000..3fac1bf --- /dev/null +++ b/storage/clockwork/.gitignore @@ -0,0 +1,3 @@ +*.json +*.json.gz +index