Finalize value on all-report

This commit is contained in:
2026-08-05 15:33:24 +07:00
parent 2b09537122
commit e8b00b10d2
11 changed files with 479 additions and 230 deletions
@@ -10,6 +10,23 @@
.table td {
text-align: right;
}
#loadingOverlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
}
#loadingOverlay .loading-box {
background: #fff;
padding: 24px 32px;
border-radius: 8px;
width: 280px;
text-align: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
</style>
@endsection
@@ -53,6 +70,7 @@
<div class="d-flex align-items-center">
<div class="ms-auto mb-1" id="harian"></div>
</div>
<div class="table-bordered mb-5">
<table class="table table-striped" id="cash">
<thead>
@@ -181,6 +199,14 @@
</div>
</div>
</div>
<div id="loadingOverlay" class="d-none">
<div class="loading-box">
<p class="mb-2">Memuat data...</p>
<div class="progress" style="height: 6px;">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-primary" style="width: 100%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
@@ -197,6 +223,11 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/3.5.31/jspdf.plugin.autotable.min.js"></script>
@if(app()->environment('local'))
<script src="{{ asset('js/report/report-vehicle.js') }}"></script>
<script src="{{ asset('js/report/report-print.js') }}"></script>
@else
<script src="{{ asset('jx/report/report-vehicle.parkq.jx') }}"></script>
<script src="{{ asset('jx/report/report-print.parkq.jx') }}"></script>
@endif
@endsection