| | |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | dto.Viscustomer = Viscustomer; |
| | | var intentionCustomerDTO = _intentionCustomerService.Get(Viscustomer); |
| | | if (intentionCustomerDTO != null) |
| | | { |
| | | dto.ViscustomerName = intentionCustomerDTO.Name; |
| | | } |
| | | IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | ViewData["customer"] = new List<IntentionCustomerDTO>(); |
| | | } |
| | | else |
| | | { |
| | | ViewData["customer"] = _intentionCustomerService.GetList(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |