ubah marhun

This commit is contained in:
afiq
2021-02-17 21:35:04 +08:00
parent 3d44e7c2a3
commit cc22138063
3 changed files with 9 additions and 0 deletions
@@ -91,6 +91,12 @@ class HargaEmasController extends Controller
return response('Deleted Successfully', 200);
}
public function rekodEmasSandaran(Request $request){
$rekod = HistoryEmasSandaran::on('mysql7')->where('karat','=',$request->karat)->orderBy('t_efektif','desc')->orderBy('m_efektif','desc')->get();
return response()->json($rekod);
}
public function showAllHargaEmasMobile(){
$emas = HargaEmas::on('mysql7')->orderby('recno')->get();