Exemple #1
0
        private static PenaltyHeader setupPenaltyHeaderForServiceRequestDetail(ServiceRequestHdr srh)
        {
            IServiceRequestDetail srd = ServiceRequestController.GetServiceRequestDetail(srh.RequestTypeEnum);
            PenaltyHeader         ph  = new PenaltyHeader();

            ph.Amount       = srd.Amount;
            ph.FromPersonId = srh.PersonToId; //the person who bought the name is paying
            ph.Comment      = srd.Text;
            return(ph);
        }