root 4 年之前
父節點
當前提交
20b7aa1734
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundResourceController.php 查看文件

if($modul == '02') if($modul == '02')
{ {
//check if theres no 001, start fresh with 0001 //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'; $num = '0001';



Loading…
取消
儲存