| @@ -634,7 +634,7 @@ class CompoundResourceController extends BaseController | |||
| $countKPD = $countKPD + 1; | |||
| } while (Compound::where("kpd", "=", 'KP'.$countKPD)->first() instanceof Compound); | |||
| $kpd = $countKPD; | |||
| $kpd = 'KP'.$countKPD; | |||
| $no_siri = date('yn').'-'.$countKPD; | |||
| $fileData = [ | |||
| @@ -863,7 +863,7 @@ class CompoundResourceController extends BaseController | |||
| $countKPD = $countKPD + 1; | |||
| } while (Compound::where("kpd", "=", 'KP'.$countKPD)->first() instanceof Compound); | |||
| $kpd = $countKPD; | |||
| $kpd = 'KP'.$countKPD; | |||
| $no_siri = date('yn').'-'.$countKPD; | |||
| $fileData = [ | |||