This commit is contained in:
@@ -457,6 +457,16 @@ namespace AyaNova.Biz
|
||||
.Include(w => w.Items)
|
||||
.ThenInclude(wi => wi.OutsideServices)
|
||||
.SingleOrDefaultAsync(z => z.Id == woId);
|
||||
|
||||
|
||||
//update closeby / response time
|
||||
if (mContractInEffect.ResponseTime != TimeSpan.Zero)
|
||||
{
|
||||
wo.CompleteByDate = DateTime.UtcNow.Add(mContractInEffect.ResponseTime);
|
||||
}
|
||||
|
||||
|
||||
//update pricing
|
||||
foreach (WorkOrderItem wi in wo.Items)
|
||||
{
|
||||
foreach (WorkOrderItemLabor o in wi.Labors)
|
||||
|
||||
Reference in New Issue
Block a user