mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-26 07:44:02 +01:00
Fix selezione stampe per email
This commit is contained in:
parent
0820cd3189
commit
2690f94d4d
@ -65,11 +65,7 @@ class Mail extends Model
|
||||
|
||||
public function resetPrints()
|
||||
{
|
||||
$prints = $this->prints;
|
||||
|
||||
foreach ($prints as $print) {
|
||||
$this->prints()->detach($print->id, ['id_email' => $this->id]);
|
||||
}
|
||||
$this->prints()->detach();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user