Pārlūkot izejas kodu

compoundHistory

master
Siti Rahayu pirms 6 gadiem
vecāks
revīzija
9ee4e13c34
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      app/Http/Controllers/Main/CompoundController.php

+ 1
- 1
app/Http/Controllers/Main/CompoundController.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt