mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Touch parent model after mutating docs
This commit is contained in:
parent
0fc7a27cf4
commit
9cc7723949
@ -48,6 +48,8 @@ trait SavesDocuments
|
||||
$is_public
|
||||
))->handle();
|
||||
}
|
||||
|
||||
$entity->touch();
|
||||
}
|
||||
|
||||
public function saveDocument($document, $entity, $is_public = true)
|
||||
@ -75,5 +77,8 @@ trait SavesDocuments
|
||||
null,
|
||||
$is_public
|
||||
))->handle();
|
||||
|
||||
$entity->touch();
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user