瀏覽代碼

Don't show rmReason where isRemoved

Vijayakrishnan 3 年之前
父節點
當前提交
29a287305e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Models/Client.php

+ 1 - 0
app/Models/Client.php

@@ -687,6 +687,7 @@ class Client extends Model
     {
         return $this->hasMany(ClientCmRmReason::class, 'client_id', 'id')
             ->where('cm_or_rm', 'RM')
+            ->where('is_removed', false)
             ->orderBy('position_index', 'ASC')
             ->orderBy('code', 'ASC');
     }