Quellcode durchsuchen

Don't show rmReason where isRemoved

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
29a287305e
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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');
     }