fix some problems in pdf

This commit is contained in:
mahdi purHosseini
2023-11-12 12:31:47 +03:30
parent 11e450371b
commit 3bc95a7829
5 changed files with 18 additions and 9 deletions
@@ -99,7 +99,9 @@ class TransferItemController extends Controller
$query->select( 'id' , 'name' , 'medical_center_id' );
} ] );
}
] )->get();
] )
->orderByDesc( 'id' )
->paginate( 10 );
return \MessageResponse::data( $data );
}
@@ -133,7 +135,8 @@ class TransferItemController extends Controller
} ] );
}
] )
->get();
->orderByDesc( 'id' )
->paginate( 10 );
return \MessageResponse::data( $data );
}
}