report, timezone

This commit is contained in:
Pringgosutono
2025-09-10 10:53:10 +07:00
parent 48fe5e3ef6
commit 620486de25
6 changed files with 5664 additions and 48 deletions

View File

@ -43,8 +43,8 @@
<div class="form-group">
<label class="text-muted">From</label>
<!-- default today -->
<!-- <input type="date" class="form-control" id="tgl0" value="{{ date('Y-m-d') }}"> -->
<input class="form-control" id="tgl0" value="{{ date('d-m-Y 00:00') }}">
<input class="form-control" id="tgl0" value="20-08-2025 00:00">
<!-- <input class="form-control" id="tgl0" value="{{ date('d-m-Y 00:00') }}"> -->
</div>
</div>
<div class="col-2">
@ -80,6 +80,8 @@
<!-- <th class="text-center">Action</th> -->
<!-- <th class="">Vehicle Name</th> -->
<th class="">License Plate Number</th>
<th class="">Dist. Cat.</th>
<th class="">Pool</th>
<th class="">Time</th>
<th class="">Speed (kph)</th>
<th class="">Location</th>
@ -200,8 +202,16 @@
data: 'nopol1',
className: 'text-start',
},
{
data: 'dc_code',
className: 'text-start',
},
{
data: 'pool_code',
className: 'text-start',
},
{
data: "crt_d",
data: "crt_s",
className: 'text-nowrap',
render: (data, type, row, meta) => {
return moment.unix(data).format('DD MMM YYYY HH:mm:ss');