mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
remove unused files and refactor variable names and function names
This commit is contained in:
@ -108,6 +108,7 @@ class Item extends Model
|
||||
if ($item->estimateItems()->exists() && $item->estimateItems()->count() > 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$item->delete();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user