root hace 4 años
padre
commit
938c07153b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/Api/CompoundController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundController.php Ver fichero

@@ -219,7 +219,7 @@ class CompoundController extends BaseController

$kpd = $request->get('kpd');
$success_upload = 0; $count_upload = 0;
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->orWhere('non', $kpd)->first();
if(!empty($compound)){

if($request->hasFile('file')) {

Cargando…
Cancelar
Guardar