Pass 'client_postal_code' when emitting 'passed-required-field-check'

This commit is contained in:
Benjamin Beganović 2021-05-10 13:01:40 +02:00
parent cfe8b3f3c4
commit 3764389e04

View File

@ -88,7 +88,9 @@ class RequiredClientInfo extends Component
} }
if ($this->updateClientDetails($data)) { if ($this->updateClientDetails($data)) {
$this->emit('passed-required-fields-check'); $this->emit('passed-required-fields-check', [
'client_postal_code' => $this->contact->client->postal_code,
]);
return true; return true;
} }