mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:41:05 +03:30
forgot sth "user can create a package only from his items"
This commit is contained in:
@@ -117,7 +117,7 @@ class ItemController extends Controller
|
||||
|
||||
$Items = Item::where( "status" , StatusTypeEnum::APPROVED )
|
||||
->where( "package_id" , null )
|
||||
->whereIn('creator_id', $userId)
|
||||
->where('creator_id', $userId)
|
||||
->orderByDesc( 'id' )
|
||||
->isNotRepaired()
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user