Browse Source

MCP dashboard stats - unsigned rpm bills logic fix

Vijayakrishnan 2 năm trước cách đây
mục cha
commit
54a55dba41
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Pro.php

+ 1 - 1
app/Models/Pro.php

@@ -705,7 +705,7 @@ WHERE
       AND EXTRACT(MONTH from care_month.start_date) = EXTRACT(MONTH from now())
       AND EXTRACT(YEAR from care_month.start_date) = EXTRACT(YEAR from now())
       AND care_month.mcp_rm_generic_bill_id IS NOT NULL
-      AND bill.is_signed_by_generic_pro = TRUE
+      AND bill.is_signed_by_generic_pro IS NOT TRUE
 ";
 
         // dd($query);