cloudcake / laravel-approval

Attach an approval process to any model, approve and disapprove from any other model, for Laravel.
MIT License
143 stars 15 forks source link

preventing the delete of record till approved. #27

Open Mohmdthabet opened 1 year ago

Mohmdthabet commented 1 year ago

is it possible to prevent delete (soft delete not hard delete) of record till the delete is approved .

OliverDaviesCodes commented 1 year ago

yes

Mohmdthabet commented 1 year ago

can you provide an example or add it in the docs