@php
// Fetch data from the query
$data = DB::select("SELECT a.period,
(SELECT COUNT(batch) FROM mst_rawdata WHERE period = a.period)
as ROLL
FROM mst_rawdata a
GROUP BY a.period
ORDER BY a.period DESC");
@endphp
@php
// Fetch data from the query
$data = DB::select("SELECT a.period,
(SELECT COUNT(batch) FROM mst_rawdata WHERE period = a.period)
as ROLL
FROM mst_rawdata a
GROUP BY a.period
ORDER BY a.period DESC");
@endphp
@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif