From be88169d2ddad0dd23127ce81acfa390f56b1516 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Tue, 7 Jan 2020 20:55:39 +0100 Subject: [PATCH 1/2] fix frontend fingerprint gui --- frontend/controllers/FingerprintController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/FingerprintController.php b/frontend/controllers/FingerprintController.php index c43b18e..adbca3c 100644 --- a/frontend/controllers/FingerprintController.php +++ b/frontend/controllers/FingerprintController.php @@ -73,7 +73,7 @@ class FingerprintController extends Controller throw new NotFoundHttpException('Card not found:' . $id_card); } - $customer = Customer::findOne($card->customer); + $customer = Customer::findOne($card->customer->id_customer); if (!isset($customer)) { throw new NotFoundHttpException('Customer not found'); From 0717d38d95f553e7d4a1de7e77c3cb3adf8ef967 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Tue, 7 Jan 2020 20:57:28 +0100 Subject: [PATCH 2/2] fix fingerprint frontend gui --- changelog.txt | 2 ++ common/config/params.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index a7aa94d..a55fef1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.1.23 + - fix fingerprint frontend gui -0.1.22 - fix fingerprint frontend gui -0.1.21 diff --git a/common/config/params.php b/common/config/params.php index c059831..5e7a7d2 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -5,7 +5,7 @@ return [ 'supportEmail' => 'rocho02@gmail.com', 'infoEmail' => 'info@rocho-net.hu', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.1.22', + 'version' => 'v0.1.23', 'company' => 'movar',//gyor 'company_name' => "Freimann Kft.", 'product_visiblity' => 'account',// on reception which products to display. account or global