Skip to content

Commit

Permalink
Merge pull request #456 from hormiai76/master
Browse files Browse the repository at this point in the history
Removing shipment and all associated containers and samples
  • Loading branch information
antolinos authored Nov 14, 2019
2 parents 78f144f + a74f74e commit e14293f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified ispyb-ui/src/main/webapp/tmp/ParcelLabelsTemplate_MAXIV.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,10 @@ public Response removeShipment(@PathParam("token") String token, @PathParam("pro
long id = this.logInit("removeShipment", logger, token, proposal, shippingId);
try {
this.getShipping3Service().deleteAllSamplesAndContainersForShipping(shippingId);
//(new Integer(shippingId));
this.getShipping3Service().deleteByPk(shippingId);
this.logFinish("removeShipment", id, logger);
return sendResponse(this.getShipping3Service().getShippingById(shippingId));
return sendResponse(true);
//return sendResponse(this.getShipping3Service().getShippingById(shippingId));
} catch (Exception e) {
return this.logError("removeShipment", e, id, logger);
}
Expand Down

0 comments on commit e14293f

Please sign in to comment.