소스 검색

latest

master
Siti Rahayu 4 년 전
부모
커밋
86a53f1948
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundResourceController.php 파일 보기

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


Loading…
취소
저장