add more seeder product and product category and fix daterangepicker
This commit is contained in:
@@ -38,7 +38,7 @@ input.datepicker {
|
||||
|
||||
<div class="kt-portlet__body">
|
||||
<!-- Filter Section -->
|
||||
<div class="ke-form row mb-3">
|
||||
<div class="ke-form row">
|
||||
<div class="form-group col-md-3">
|
||||
<label class="form-label">Filter Dealer</label>
|
||||
<select class="form-control select2" id="filter-dealer">
|
||||
@@ -105,103 +105,103 @@ input.datepicker {
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Detail Modal -->
|
||||
<div class="modal fade" id="auditDetailModal" tabindex="-1" role="dialog" aria-labelledby="auditDetailModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="auditDetailModalLabel">Detail Audit Stock</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modal-close-btn">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="auditDetailContent">
|
||||
<!-- Loading State -->
|
||||
<div id="modal-loading" class="text-center">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="sr-only">Memuat...</span>
|
||||
<!-- Detail Modal -->
|
||||
<div class="modal fade" id="auditDetailModal" tabindex="-1" role="dialog" aria-labelledby="auditDetailModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="auditDetailModalLabel">Detail Audit Stock</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modal-close-btn">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<p class="mt-2">Memuat data audit...</p>
|
||||
</div>
|
||||
|
||||
<!-- Error State -->
|
||||
<div id="modal-error" class="alert alert-danger" style="display: none;">
|
||||
<strong>Error:</strong> <span id="error-message">Gagal memuat detail audit</span>
|
||||
</div>
|
||||
|
||||
<!-- Content Area -->
|
||||
<div id="modal-content" style="display: none;">
|
||||
<!-- Stock Information -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="font-weight-bold">Informasi Stock</h6>
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<td><strong>Produk:</strong></td>
|
||||
<td id="product-name">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Dealer:</strong></td>
|
||||
<td id="dealer-name">-</td>
|
||||
</tr>
|
||||
<tr></tr>
|
||||
<td><strong>Stock Sebelum:</strong></td>
|
||||
<td id="previous-quantity">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Stock Sesudah:</strong></td>
|
||||
<td id="new-quantity">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Perubahan:</strong></td>
|
||||
<td id="quantity-change">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Jenis Perubahan:</strong></td>
|
||||
<td id="change-type">-</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="font-weight-bold">Informasi Sistem</h6>
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<td><strong>User:</strong></td>
|
||||
<td id="user-name">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Tanggal:</strong></td>
|
||||
<td id="created-at">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Deskripsi:</strong></td>
|
||||
<td id="description">-</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Source Detail (will be shown/hidden based on data) -->
|
||||
<div id="source-detail" style="display: none;">
|
||||
<hr>
|
||||
<h6 class="font-weight-bold">Detail Sumber Perubahan</h6>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0" id="source-title">-</h6>
|
||||
<div class="modal-body" id="auditDetailContent">
|
||||
<!-- Loading State -->
|
||||
<div id="modal-loading" class="text-center">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="sr-only">Memuat...</span>
|
||||
</div>
|
||||
<div class="card-body" id="source-content">
|
||||
<!-- Content will be populated by JavaScript -->
|
||||
<p class="mt-2">Memuat data audit...</p>
|
||||
</div>
|
||||
|
||||
<!-- Error State -->
|
||||
<div id="modal-error" class="alert alert-danger" style="display: none;">
|
||||
<strong>Error:</strong> <span id="error-message">Gagal memuat detail audit</span>
|
||||
</div>
|
||||
|
||||
<!-- Content Area -->
|
||||
<div id="modal-content" style="display: none;">
|
||||
<!-- Stock Information -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="font-weight-bold">Informasi Stock</h6>
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<td><strong>Produk:</strong></td>
|
||||
<td id="product-name">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Dealer:</strong></td>
|
||||
<td id="dealer-name">-</td>
|
||||
</tr>
|
||||
<tr></tr>
|
||||
<td><strong>Stock Sebelum:</strong></td>
|
||||
<td id="previous-quantity">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Stock Sesudah:</strong></td>
|
||||
<td id="new-quantity">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Perubahan:</strong></td>
|
||||
<td id="quantity-change">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Jenis Perubahan:</strong></td>
|
||||
<td id="change-type">-</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="font-weight-bold">Informasi Sistem</h6>
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<td><strong>User:</strong></td>
|
||||
<td id="user-name">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Tanggal:</strong></td>
|
||||
<td id="created-at">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Deskripsi:</strong></td>
|
||||
<td id="description">-</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Source Detail (will be shown/hidden based on data) -->
|
||||
<div id="source-detail" style="display: none;">
|
||||
<hr>
|
||||
<h6 class="font-weight-bold">Detail Sumber Perubahan</h6>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0" id="source-title">-</h6>
|
||||
</div>
|
||||
<div class="card-body" id="source-content">
|
||||
<!-- Content will be populated by JavaScript -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="modal-close-footer-btn">Tutup</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="modal-close-footer-btn">Tutup</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user