root 4 lat temu
rodzic
commit
3adb1588e0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      app/Http/Controllers/Main/CompoundController.php

+ 1
- 1
app/Http/Controllers/Main/CompoundController.php Wyświetl plik

@@ -362,7 +362,7 @@ class CompoundController extends Controller
$id = Auth::guard('sadmin')->id();
$user = Staff::with('StaffDetail')->find($id);
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->orWhere('non',$kpd)->first();
if(empty($compound))
{
$kpd = (int)$kpd;

Ładowanie…
Anuluj
Zapisz