case 3982
This commit is contained in:
@@ -164,9 +164,12 @@ namespace AyaNova.Biz
|
||||
po.VendorEmailAddressViz = vnd.EmailAddress;
|
||||
po.VendorContactViz = vnd.Contact;
|
||||
po.VendorContactNotesViz = vnd.ContactNotes;
|
||||
|
||||
|
||||
po.VendorAccountNumberViz = vnd.AccountNumber;
|
||||
var PoStatusEnumList = await AyaNova.Api.Controllers.EnumListController.GetEnumList(
|
||||
StringUtil.TrimTypeName(typeof(PurchaseOrderStatus).ToString()),
|
||||
UserTranslationId,
|
||||
CurrentUserRoles);
|
||||
po.StatusViz = PoStatusEnumList.Where(x => x.Id == (long)po.Status).Select(x => x.Name).First();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace AyaNova.Models
|
||||
public DateTime? OrderedDate { get; set; }
|
||||
public DateTime? ExpectedReceiveDate { get; set; }
|
||||
public PurchaseOrderStatus Status { get; set; }
|
||||
[NotMapped]
|
||||
public string StatusViz { get; set; }
|
||||
public long? ProjectId { get; set; }
|
||||
[NotMapped]
|
||||
public string ProjectViz { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user