Fixes for base repo (#3393)
This commit is contained in:
parent
79a5f6b809
commit
7abab22c43
2 changed files with 2 additions and 2 deletions
|
|
@ -381,7 +381,7 @@ class CompanySettings extends BaseSettings {
|
|||
'counter_padding' => 'integer',
|
||||
'design' => 'string',
|
||||
'website' => 'string',
|
||||
'pdf_variables' => 'array',
|
||||
'pdf_variables' => 'object',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ class BaseRepository
|
|||
|
||||
$new_invitation = $invitation_factory_class::create($model->company_id, $model->user_id);
|
||||
$new_invitation->{$lcfirst_resource_id} = $model->id;
|
||||
$new_invitation->client_contact_id = $this->decodePrimaryKey($invitation['client_contact_id']);
|
||||
$new_invitation->client_contact_id = $invitation['client_contact_id'];
|
||||
$new_invitation->save();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue