示例#1
0
 /// <summary>
 /// Converts payment status to CSS display property value
 /// </summary>
 public static string PaymentStatusToDisplayStyle(this ClaimFeeViewModel self, ClaimPaymentStatus status)
 {
     return(self.PaymentStatus == status ? "inline" : "none");
 }
示例#2
0
 public FinanceOperationAdminFunctionsViewModel(ClaimFeeViewModel source)
 {
     Allowed = source.HasFeeAdminAccess;
     PreferentialFeeEnabled = source.PreferentialFeeEnabled;
     PreferentialFeeUser    = source.PreferentialFeeUser;
 }