203 lines
12 KiB
PHP
203 lines
12 KiB
PHP
@extends('layouts.master')
|
|
|
|
@section('styles')
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.10.0/css/bootstrap-datepicker3.min.css">
|
|
<style>
|
|
.table th {
|
|
text-align: center;
|
|
}
|
|
.table td {
|
|
text-align: right;
|
|
}
|
|
</style>
|
|
@endsection
|
|
|
|
@section('content')
|
|
<!-- partial -->
|
|
<div class="container-fluid page-body-wrapper">
|
|
<div class="main-panel">
|
|
<div class="content-wrapper">
|
|
<div class="row">
|
|
<div class="col-md-12 grid-margin stretch-card">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<div class="col d-flex align-items-center gap-2">
|
|
<div class="col-sm-2">
|
|
<input type="date" lang=id class="form-control" id="tanggalCari" name="tanggal_mulai" required>
|
|
<!--<input type="text" id="tanggalCari" ... style="display:none"> <!-- asli, hidden, format Y-m-d -->
|
|
<!--<input type="text" class="form-control flatpickr-input" ...>-->
|
|
</div>
|
|
<p class="mb-0 me-2 ms-auto">Harian</p>
|
|
<label class="toggle-switch toggle-switch-success">
|
|
<input type="checkbox" id="harianToggle" checked>
|
|
<span class="toggle-slider round" checked></span>
|
|
</label>
|
|
<div class="me-2">
|
|
{{-- <button type="button" class="btn btn-sm btn-primary" data-dismiss="modal">Cetak</button>--}}
|
|
<div class="btn-list text-right" style="float: right; display: flex; gap: 10px; margin-bottom: 10px; display: block;">
|
|
<button type="button" class="btn btn-icon btn-success btn-export-excel"><i class="fa fa-file-excel-o"></i></button>
|
|
<button type="button" class="btn btn-icon btn-danger btn-export-pdf"><i class="fa fa-file-pdf-o"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body" id="cetak">
|
|
<h4 class="card-title">
|
|
{{ ($locationSettings->namalokasi) ?? '' }} - {{ ($locationSettings->namaperusahaan) ?? '' }}
|
|
</h4>
|
|
<h5 class="card-title text-center">Rekap Transaksi Kendaraan
|
|
<div class="mx-auto mt-1" id="tanggal-trans"></div>
|
|
</h5>
|
|
<!-- BARIS TANGGAL & BY -->
|
|
<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>
|
|
<tr>
|
|
<th rowspan="2" colspan="2">Jenis Kendaraan</th>
|
|
<th colspan="2">Jenis Transaksi</th>
|
|
<th colspan="2">Casual</th>
|
|
<th colspan="2">Tiket Hilang</th>
|
|
<th colspan="2">Member</th>
|
|
<th colspan="2">Manual Input</th>
|
|
<th colspan="2">Manual Mix</th>
|
|
<th colspan="2">Tiket Masalah</th>
|
|
<th rowspan="2">Pendapatan</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Masuk</th>
|
|
<th>Keluar</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table-data">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-5">
|
|
<h5 class="card-title text-center">Kendaraan yang masih menginap (Over Night)</h5>
|
|
<div class="table-bordered mb-5">
|
|
<table class="table table-on" id="pn">
|
|
<thead>
|
|
<tr>
|
|
<th>Jenis Kend</th>
|
|
<th>Menginap</th>
|
|
<th>ON (Expired)</th>
|
|
<th>Total</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table-overnight">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h5 class="card-title text-center">Rekap Transaksi Per Petugas</h5>
|
|
<div class="table-bordered mb-5">
|
|
<table class="table table-striped" id="petugas">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" colspan="2">Nama Petugas
|
|
<th colspan="2">Jenis Transaksi</th>
|
|
<th colspan="2">Casual</th>
|
|
<th colspan="2">Tiket Hilang</th>
|
|
<th colspan="2">Member</th>
|
|
<th colspan="2">Manual Input</th>
|
|
<th colspan="2">Manual Mix</th>
|
|
<th colspan="2">Tiket Masalah</th>
|
|
<th rowspan="2">Pendapatan</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Masuk</th>
|
|
<th>Keluar</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="officer-data">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<h5 class="card-title text-center">Rekap Transaksi Per Pembayaran</h5>
|
|
<div class="table-bordered">
|
|
<table class="table" id="payment">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" colspan="2">Jenis Pembayaran</th>
|
|
<th colspan="2">Jenis Transaksi</th>
|
|
<th colspan="2">Casual</th>
|
|
<th colspan="2">Tiket Hilang</th>
|
|
<th colspan="2">Member</th>
|
|
<th colspan="2">Manual Input</th>
|
|
<th colspan="2">Manual Mix</th>
|
|
<th colspan="2">Tiket Masalah</th>
|
|
<th rowspan="2">Pendapatan</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Masuk</th>
|
|
<th>Keluar</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
<th>JML</th>
|
|
<th>Nilai</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="payment-data">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
@endsection
|
|
|
|
@section('javascript')
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
<!--<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.10.0/js/bootstrap-datepicker.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
|
|
<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>
|
|
<script src="{{ asset('jx/report/report-vehicle.parkq.jx') }}"></script>
|
|
<script src="{{ asset('jx/report/report-print.parkq.jx') }}"></script>
|
|
@endsection
|