mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 16:31:33 +02:00
Fixes for passing client_id into final context
This commit is contained in:
parent
bf22bb9143
commit
2fc309beee
@ -46,9 +46,11 @@ class Methods extends Component
|
||||
{
|
||||
/** @var \App\Models\ClientContact $contact */
|
||||
$contact = auth()->guard('contact')->user();
|
||||
|
||||
|
||||
$this->dispatch('purchase.context', property: 'client_id', value: $contact->client->hashed_id);
|
||||
|
||||
$this->context['client_id'] = $contact->client->hashed_id;
|
||||
|
||||
nlog($this->context);
|
||||
|
||||
$invoice = $this->subscription
|
||||
|
Loading…
Reference in New Issue
Block a user