fix some problems

This commit is contained in:
mahdi purHosseini
2024-03-06 10:49:03 +03:30
parent 618841cb74
commit aed6b73c71
3 changed files with 17 additions and 1 deletions
+1
View File
@@ -113,6 +113,7 @@ class ItemController extends Controller
$Items = Item::where( "status" , StatusTypeEnum::APPROVED )
->where( "package_id" , null )
->orderByDesc( 'id' )
->isNotRepaired()
->get();
return ItemResource::collection( $Items );
}