Browse Source

latest

master
Siti Rahayu 4 years ago
parent
commit
86a53f1948
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundResourceController.php View File

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…
Cancel
Save