mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-06-02 08:29:01 +00: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