Kaynağa Gözat

compound

master
Siti Rahayu 4 yıl önce
ebeveyn
işleme
a10ee86c96

+ 10
- 0
app/Http/Controllers/Api/RestfulapiController.php Dosyayı Görüntüle

@@ -118,6 +118,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_JPB'){
array_push($data,array(
@@ -149,6 +151,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_LESEN'){
array_push($data,array(
@@ -180,6 +184,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_PA'){
array_push($data,array(
@@ -212,6 +218,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Parkir'){
array_push($data,array(
@@ -240,6 +248,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}

Loading…
İptal
Kaydet