fix frontend fingerprint gui

This commit is contained in:
2020-01-07 20:46:31 +01:00
parent 58f796bd23
commit 2ee6e8e76d
4 changed files with 7 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ class FingerprintSearch extends Fingerprint
}
$this->card = $card;
$customer = Customer::findOne($card->customer);
$customer = Customer::findOne($card->customer->id_customer);
if ( !isset($customer)){
throw new NotFoundHttpException('Customer not found');