add my package section

This commit is contained in:
mahdi purHosseini
2023-10-23 13:02:51 +03:30
parent 19d7439781
commit 644adb6528
11 changed files with 378 additions and 90 deletions
-6
View File
@@ -50,11 +50,6 @@ class ItemController extends Controller
} ,
'user.medical_center' => function ( $query ) {
$query->select( 'id' , 'name' );
},
"transfers" => function ( $query ) {
$query->with( [ 'user' => function ( $query ) {
$query->select( 'id' , 'name' , 'medical_center_id' );
} ] );
}
] )
->paginate( 10 );
@@ -185,7 +180,6 @@ class ItemController extends Controller
}
] )
->get();
return \MessageResponse::data( $Items );
}