1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 15:22:24 +01:00

Fix selezione stampe per email

This commit is contained in:
Thomas Zilio 2020-03-31 20:31:03 +02:00
parent 0820cd3189
commit 2690f94d4d

View File

@ -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();
}
/**