tangjiang 2 tháng trước cách đây
mục cha
commit
3a71f81ce8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/Hotline.Share/Dtos/Order/OrderDto.cs

+ 2 - 2
src/Hotline.Share/Dtos/Order/OrderDto.cs

@@ -150,9 +150,9 @@ namespace Hotline.Share.Dtos.Order
         /// <returns></returns>
         public string GetAllDurationHour()
         {
-            if (AllDuration > 0)
+            if (CreationTimeHandleDurationWorkday > 0)
             {
-                return Math.Round(Math.Round(AllDuration) / 60 / 60, 2).ToString() + "";
+                return Math.Round(Math.Round(CreationTimeHandleDurationWorkday.Value) / 60 / 60, 2).ToString() + "";
             }
             return "0.00";
         }