fix frontend fingerprint gui
This commit is contained in:
@@ -73,7 +73,7 @@ class FingerprintController extends Controller
|
|||||||
throw new NotFoundHttpException('Card not found:' . $id_card);
|
throw new NotFoundHttpException('Card not found:' . $id_card);
|
||||||
}
|
}
|
||||||
|
|
||||||
$customer = Customer::findOne($card->customer);
|
$customer = Customer::findOne($card->customer->id_customer);
|
||||||
|
|
||||||
if (!isset($customer)) {
|
if (!isset($customer)) {
|
||||||
throw new NotFoundHttpException('Customer not found');
|
throw new NotFoundHttpException('Customer not found');
|
||||||
|
|||||||
Reference in New Issue
Block a user