Explorar el Código

latest

master
Siti Rahayu hace 4 años
padre
commit
86a53f1948
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

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

@@ -396,7 +396,7 @@ class CompoundResourceController extends BaseController
if($modul == '02')
{
//check if theres no 001, start fresh with 0001
if (empty(Compound::where('jenis_n', $jenis)->where('non', $tag.'0001')->first())) {
if (empty(Compound::where('jenis_n', $jenis)->where('non', $tag.'0001')->withTrashed()->first())) {

$num = '0001';


Cargando…
Cancelar
Guardar