|
@@ -303,9 +303,12 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
_HotelReservationsContents.ForEach(it => {
|
|
|
it.CreateUserId = _dto.UserId;
|
|
|
it.DiId = _dto.DiId;
|
|
|
- it.IsPay = 0;
|
|
|
+
|
|
|
it.HrId = _HotelReservations.Id;
|
|
|
|
|
|
+ if (it.PayDId == 72) it.IsPay = 1;
|
|
|
+ else it.IsPay = 0;
|
|
|
+
|
|
|
if (!string.IsNullOrEmpty(it.ConsumptionDate))
|
|
|
{
|
|
|
if (DateTime.TryParse(it.ConsumptionDate, out DateTime dt))
|