update mutu dan gadaitebuslelongmobile

This commit is contained in:
izzatizulkifli
2021-02-08 12:13:37 +08:00
parent 4ec0a6cf92
commit e6463f5e6d
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class HargaEmasController extends Controller
$emas = HargaEmas::on('mysql7')->orderby('recno')->get();
$hargaemas = [];
foreach($emas as $index=>$harga){
array_push($hargaemas,['mutu_emas'=>$harga['keterangan'],'karat'=>$harga['karat'],'harga'=>$harga['harga']]);
array_push($hargaemas,['mutu'=>$harga['keterangan'],'karat'=>$harga['karat'],'harga'=>$harga['harga']]);
}
return response()->json($hargaemas);
}