@Action(value="/receipts/challan-cancelReceipt") @SkipValidation public String cancelReceipt(){
  if (getSelectedReceipts() != null && getSelectedReceipts().length > 0) {
    receiptHeader=receiptHeaderService.findById(Long.valueOf(selectedReceipts[0]),false);
    loadReceiptDetails();
  }
  return CollectionConstants.CANCELRECEIPT;
}

@ Action ( value = "/receipts/challan-cancelReceipt" ) @ SkipValidation public String cancelReceipt ( ) { if ( getSelectedReceipts ( ) != null && getSelectedReceipts ( ) . length > 0 ) { receiptHeader = receiptHeaderService . findById ( Long . valueOf ( selectedReceipts [ 0 ] ) , false ) ; loadReceiptDetails ( ) ; } return CollectionConstants . CANCELRECEIPT ; }
this method directs the user to cancel the requested challan receipt
