update
This commit is contained in:
@@ -129,4 +129,13 @@ class KomuditiController extends Controller
|
||||
|
||||
return response()->json($produk);
|
||||
}
|
||||
|
||||
public function rekodTransaksiHarian(){
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
|
||||
$komuditi_transaksi = KomuditiTransaksi::on('mysql7')->where('tarikh','=',$current->toDateString())->get();
|
||||
|
||||
return response()->json($komuditi_transaksi);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user