mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 08:01:05 +03:30
change pack
This commit is contained in:
@@ -62,9 +62,9 @@ class PackageController extends Controller
|
||||
{
|
||||
$Package->items()->detach();
|
||||
}
|
||||
if(count($Package->packes))
|
||||
if(count($Package->packs))
|
||||
{
|
||||
$Package->packes()->detach();
|
||||
$Package->packs()->detach();
|
||||
}
|
||||
$Package->delete();
|
||||
return \MessageResponse::success(trans('messages.success'));
|
||||
|
||||
Reference in New Issue
Block a user