liuzejian преди 2 години
родител
ревизия
3576c7e4a9
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/Services/Report/QappTxadqNewReport.php

+ 1 - 0
src/Services/Report/QappTxadqNewReport.php

@@ -113,6 +113,7 @@ class QappTxadqNewReport
     private static function hasReportedCompleteOrder($user) {
        return ReportUserChargeRecord::where('uid', $user->uid)
             ->where('type', 'tx_adq_new_complete_order')
+            ->where('status', 1)
             ->exists();
     }