Parcourir la source

latest

master
Siti Rahayu il y a 4 ans
Parent
révision
86a53f1948
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundResourceController.php Voir le fichier

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


Chargement…
Annuler
Enregistrer