mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Bugfix
This commit is contained in:
@@ -889,3 +889,7 @@ input.small-width {
|
||||
.has-feedback .form-control {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.direct-chat-text img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
@@ -198,6 +198,13 @@ class Anagrafica extends Model
|
||||
}
|
||||
}
|
||||
|
||||
public function save(array $options = [])
|
||||
{
|
||||
$this->fixRagioneSociale();
|
||||
|
||||
return parent::save($options);
|
||||
}
|
||||
|
||||
// Attributi Eloquent
|
||||
|
||||
/**
|
||||
@@ -223,15 +230,11 @@ class Anagrafica extends Model
|
||||
public function setNomeAttribute($value)
|
||||
{
|
||||
$this->attributes['nome'] = trim($value);
|
||||
|
||||
$this->fixRagioneSociale();
|
||||
}
|
||||
|
||||
public function setCognomeAttribute($value)
|
||||
{
|
||||
$this->attributes['cognome'] = trim($value);
|
||||
|
||||
$this->fixRagioneSociale();
|
||||
}
|
||||
|
||||
public function setCodiceFiscaleAttribute($value)
|
||||
|
Reference in New Issue
Block a user