root před 4 roky
rodič
revize
3adb1588e0

+ 1
- 1
app/Http/Controllers/Main/CompoundController.php Zobrazit soubor

@@ -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;

Načítá se…
Zrušit
Uložit