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
|
$is_public
|
||||||
))->handle();
|
))->handle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$entity->touch();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveDocument($document, $entity, $is_public = true)
|
public function saveDocument($document, $entity, $is_public = true)
|
||||||
@ -75,5 +77,8 @@ trait SavesDocuments
|
|||||||
null,
|
null,
|
||||||
$is_public
|
$is_public
|
||||||
))->handle();
|
))->handle();
|
||||||
|
|
||||||
|
$entity->touch();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user