add condition in create repair device and add a columns for pdf in devicerepairlist