add favicon logo kemenkes & info data pending
This commit is contained in:
parent
c3ecb23a38
commit
6765543c16
@ -37,6 +37,16 @@ class PesananController extends Controller
|
|||||||
}else{
|
}else{
|
||||||
$tanggalFormatted = [Carbon::now()->toDateString()];
|
$tanggalFormatted = [Carbon::now()->toDateString()];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dataPending = Order::whereIn('status_order', [
|
||||||
|
'Menunggu Konfirmasi Pembayaran',
|
||||||
|
'Menunggu Konfirmasi Pembayaran Via Billing',
|
||||||
|
'Menunggu Konfirmasi Pesanan MCU'
|
||||||
|
])
|
||||||
|
->select(DB::raw('COUNT(DISTINCT DATE(entry_at)) as total'))
|
||||||
|
->value('total');
|
||||||
|
|
||||||
|
|
||||||
$orders = DB::connection('dbOrderGizi')->table('public.order as o')
|
$orders = DB::connection('dbOrderGizi')->table('public.order as o')
|
||||||
->leftJoin('public.order_detail as od', 'od.order_id', '=', 'o.order_id')
|
->leftJoin('public.order_detail as od', 'od.order_id', '=', 'o.order_id')
|
||||||
->where('o.statusenabled', true)
|
->where('o.statusenabled', true)
|
||||||
@ -86,10 +96,12 @@ class PesananController extends Controller
|
|||||||
->filter(function($item){
|
->filter(function($item){
|
||||||
return $item['total_detail'] > 0 && $item['total_detail'] != $item['selesai_detail'];
|
return $item['total_detail'] > 0 && $item['total_detail'] != $item['selesai_detail'];
|
||||||
})->values();
|
})->values();
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'rows' => $grouped->values(),
|
'rows' => $grouped->values(),
|
||||||
'total' => $grouped->count()
|
'total' => $grouped->count(),
|
||||||
|
'dataPending'=> $dataPending
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -181,6 +193,23 @@ class PesananController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function dataPending(){
|
||||||
|
$data = Order::selectRaw('DATE(entry_at) as tgl, COUNT(*) as total')
|
||||||
|
->whereIn('status_order', [
|
||||||
|
'Menunggu Konfirmasi Pembayaran',
|
||||||
|
'Menunggu Konfirmasi Pembayaran Via Billing',
|
||||||
|
'Menunggu Konfirmasi Pesanan MCU'
|
||||||
|
])
|
||||||
|
->groupBy(DB::raw('DATE(entry_at)'))
|
||||||
|
->orderBy('tgl', 'asc')
|
||||||
|
->get();
|
||||||
|
return response()->json([
|
||||||
|
'status' => true,
|
||||||
|
'rows' => $data->values(),
|
||||||
|
'total' => $data->count()
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
public function indexSelesai()
|
public function indexSelesai()
|
||||||
{
|
{
|
||||||
$payload = [
|
$payload = [
|
||||||
@ -282,9 +311,32 @@ class PesananController extends Controller
|
|||||||
// if($status !== "all"){
|
// if($status !== "all"){
|
||||||
// $data->where('status_order', $status);
|
// $data->where('status_order', $status);
|
||||||
// }
|
// }
|
||||||
|
$dataPending = OrderDetail::whereHas('order', function($query) {
|
||||||
|
$query->where('status_order', 'Lunas');
|
||||||
|
})->where('status_order', 'Pending')
|
||||||
|
->select(DB::raw('COUNT(DISTINCT DATE(tgl_antar)) as total'))
|
||||||
|
->value('total');
|
||||||
|
|
||||||
$data = $data->get();
|
$data = $data->get();
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
|
'rows' => $data->values(),
|
||||||
|
'total' => $data->count(),
|
||||||
|
'dataPending' => $dataPending
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function dataPekerjaanPending(){
|
||||||
|
$data = OrderDetail::with('order')->where('status_order', 'Pending')
|
||||||
|
->select(DB::raw('DATE(tgl_antar) as tgl'), DB::raw('COUNT(*) as total'))
|
||||||
|
->whereHas('order', function($query) {
|
||||||
|
$query->where('status_order', 'Lunas'); // filter status di tabel orders
|
||||||
|
})
|
||||||
|
->groupBy(DB::raw('DATE(tgl_antar)'))
|
||||||
|
->orderBy('tgl', 'asc')
|
||||||
|
->get();
|
||||||
|
return response()->json([
|
||||||
|
'status' => true,
|
||||||
'rows' => $data->values(),
|
'rows' => $data->values(),
|
||||||
'total' => $data->count()
|
'total' => $data->count()
|
||||||
]);
|
]);
|
||||||
|
|||||||
@ -5,3 +5,6 @@ const modalDetailOrder = document.getElementById('modalDetailOrder');
|
|||||||
const modalActionOrder = document.getElementById('modalActionApproveOrder');
|
const modalActionOrder = document.getElementById('modalActionApproveOrder');
|
||||||
|
|
||||||
const modalExport = document.getElementById('modalExportPekerjaan');
|
const modalExport = document.getElementById('modalExportPekerjaan');
|
||||||
|
|
||||||
|
const modalInfoPending = document.getElementById('modalActionInfoPending')
|
||||||
|
const datatablePekerjaanPending = $("#datatableDataPending")
|
||||||
|
|||||||
@ -102,6 +102,7 @@ document.getElementById('formActionApproveOrder').addEventListener('submit', fun
|
|||||||
backdrop: true,
|
backdrop: true,
|
||||||
});
|
});
|
||||||
datatablePekerjaan.bootstrapTable('refresh');
|
datatablePekerjaan.bootstrapTable('refresh');
|
||||||
|
|
||||||
modalActionOrder.removeEventListener('hidden.bs.modal', handler); // ✅ pakai DOM
|
modalActionOrder.removeEventListener('hidden.bs.modal', handler); // ✅ pakai DOM
|
||||||
getReminderVerifikasiMakanan()
|
getReminderVerifikasiMakanan()
|
||||||
};
|
};
|
||||||
@ -124,3 +125,43 @@ document.getElementById('formActionApproveOrder').addEventListener('submit', fun
|
|||||||
function exportPekerjaan(){
|
function exportPekerjaan(){
|
||||||
new bootstrap.Modal(modalExport).show()
|
new bootstrap.Modal(modalExport).show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function datapending(){
|
||||||
|
new bootstrap.Modal(modalInfoPending).show()
|
||||||
|
datatablePekerjaanPending.bootstrapTable('destroy')
|
||||||
|
datatablePekerjaanPending.bootstrapTable({
|
||||||
|
url: "/dashboard/data/pending-pekerjaan",
|
||||||
|
showColumns: true,
|
||||||
|
showColumnsToggleAll: true,
|
||||||
|
showRefresh: true,
|
||||||
|
sortable: true,
|
||||||
|
search: true,
|
||||||
|
searchOnEnterKey: false,
|
||||||
|
searchHighlight: true,
|
||||||
|
pagination: true,
|
||||||
|
serverSide:true,
|
||||||
|
pageSize: 10,
|
||||||
|
pageList: [10, 20, 30, 40, 50, 100, 200],
|
||||||
|
cookie: true,
|
||||||
|
cookieIdTable: "datatablePesananPending",
|
||||||
|
icons: {
|
||||||
|
refresh: "fas fa-sync-alt", // atau ganti ke icon lain
|
||||||
|
columns: "fas fa-th-large"
|
||||||
|
},
|
||||||
|
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
title: "Tanggal",
|
||||||
|
field: 'tgl',
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Total",
|
||||||
|
formatter: function(value, row){
|
||||||
|
return row?.total
|
||||||
|
},
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@ -156,6 +156,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
|
onLoadSuccess: function (res) {
|
||||||
|
// res = data JSON dari server
|
||||||
|
if (res.dataPending && res.dataPending > 0) {
|
||||||
|
$("#data_pending").show(); // tampilkan tombol
|
||||||
|
} else {
|
||||||
|
$("#data_pending").hide(); // sembunyikan tombol
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$(document).on('click', '#selectAll', function () {
|
$(document).on('click', '#selectAll', function () {
|
||||||
selectedRows = [];
|
selectedRows = [];
|
||||||
@ -193,3 +201,5 @@
|
|||||||
window.open(`/dashboard/pekerjaan/label?data=${order_detail_ids}`, '_blank');
|
window.open(`/dashboard/pekerjaan/label?data=${order_detail_ids}`, '_blank');
|
||||||
// window.open(`https://smart.rsabhk.co.id:2222/service-reporting/label-cetering/${order_detail_ids}`, '_blank');
|
// window.open(`https://smart.rsabhk.co.id:2222/service-reporting/label-cetering/${order_detail_ids}`, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,3 +18,7 @@ const modalExportPekerjaan = document.getElementById('modalExportPekerjaan');
|
|||||||
const datatableOfPekerjaan = $("#datatableVerifikasiMakananOffcanvas")
|
const datatableOfPekerjaan = $("#datatableVerifikasiMakananOffcanvas")
|
||||||
const modalDetailOrder = document.getElementById('modalDetailOrderOf');
|
const modalDetailOrder = document.getElementById('modalDetailOrderOf');
|
||||||
const modalActionOrderPekerjaan = document.getElementById('modalActionApproveOrder');
|
const modalActionOrderPekerjaan = document.getElementById('modalActionApproveOrder');
|
||||||
|
|
||||||
|
|
||||||
|
const modalDataPending = document.getElementById('modalActionInfoPending')
|
||||||
|
const datatableDataPending = $("#datatableDataPending")
|
||||||
|
|||||||
@ -158,3 +158,43 @@ function approveProgress(order_id){
|
|||||||
function exportPending(){
|
function exportPending(){
|
||||||
new bootstrap.Modal(modalExport).show();
|
new bootstrap.Modal(modalExport).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function datapending(){
|
||||||
|
new bootstrap.Modal(modalDataPending).show();
|
||||||
|
datatableDataPending.bootstrapTable('destroy')
|
||||||
|
datatableDataPending.bootstrapTable({
|
||||||
|
url: "/dashboard/data/pending",
|
||||||
|
showColumns: true,
|
||||||
|
showColumnsToggleAll: true,
|
||||||
|
showRefresh: true,
|
||||||
|
sortable: true,
|
||||||
|
search: true,
|
||||||
|
searchOnEnterKey: false,
|
||||||
|
searchHighlight: true,
|
||||||
|
pagination: true,
|
||||||
|
serverSide:true,
|
||||||
|
pageSize: 10,
|
||||||
|
pageList: [10, 20, 30, 40, 50, 100, 200],
|
||||||
|
cookie: true,
|
||||||
|
cookieIdTable: "datatablePesananPending",
|
||||||
|
icons: {
|
||||||
|
refresh: "fas fa-sync-alt", // atau ganti ke icon lain
|
||||||
|
columns: "fas fa-th-large"
|
||||||
|
},
|
||||||
|
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
title: "Tanggal",
|
||||||
|
field: 'tgl',
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Total",
|
||||||
|
formatter: function(value, row){
|
||||||
|
return row?.total
|
||||||
|
},
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@ -192,6 +192,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
|
onLoadSuccess: function (res) {
|
||||||
|
// res = data JSON dari server
|
||||||
|
if (res.dataPending && res.dataPending > 0) {
|
||||||
|
$("#data_pending").show(); // tampilkan tombol
|
||||||
|
} else {
|
||||||
|
$("#data_pending").hide(); // sembunyikan tombol
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -336,3 +336,49 @@ document.getElementById('formActionApproveOrder').addEventListener('submit', fun
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
function dataPendingPekerjaan(){
|
||||||
|
const offcanvas = bootstrap.Offcanvas.getInstance(document.getElementById('offcanvasKonfirmasiPesanan')) || new bootstrap.Offcanvas(document.getElementById('offcanvasKonfirmasiPesanan'));
|
||||||
|
offcanvas.hide();
|
||||||
|
new bootstrap.Modal(modalDataPending).show();
|
||||||
|
datatableDataPending.bootstrapTable('destroy')
|
||||||
|
datatableDataPending.bootstrapTable({
|
||||||
|
url: "/dashboard/data/pending-pekerjaan",
|
||||||
|
showColumns: true,
|
||||||
|
showColumnsToggleAll: true,
|
||||||
|
showRefresh: true,
|
||||||
|
sortable: true,
|
||||||
|
search: true,
|
||||||
|
searchOnEnterKey: false,
|
||||||
|
searchHighlight: true,
|
||||||
|
pagination: true,
|
||||||
|
serverSide:true,
|
||||||
|
pageSize: 10,
|
||||||
|
pageList: [10, 20, 30, 40, 50, 100, 200],
|
||||||
|
cookie: true,
|
||||||
|
cookieIdTable: "datatablePesananPending",
|
||||||
|
icons: {
|
||||||
|
refresh: "fas fa-sync-alt", // atau ganti ke icon lain
|
||||||
|
columns: "fas fa-th-large"
|
||||||
|
},
|
||||||
|
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
title: "Tanggal",
|
||||||
|
field: 'tgl',
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Total",
|
||||||
|
formatter: function(value, row){
|
||||||
|
return row?.total
|
||||||
|
},
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
document.getElementById('modalActionInfoPending').addEventListener('hidden.bs.modal', () => {
|
||||||
|
new bootstrap.Offcanvas(document.getElementById('offcanvasKonfirmasiPesanan')).show()
|
||||||
|
}, { once:true});
|
||||||
|
}
|
||||||
|
|||||||
BIN
public/logo/icon.ico
Normal file
BIN
public/logo/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
public/logo/logo-kemkes-kiri.png
Normal file
BIN
public/logo/logo-kemkes-kiri.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@ -17,7 +17,7 @@
|
|||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
|
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
|
<link rel="icon" href="/logo/icon.ico" type="image/x-icon">
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
|
<link rel="icon" href="/logo/icon.ico" type="image/x-icon">
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
|||||||
@ -77,7 +77,7 @@
|
|||||||
<li class="menu-item {{ Request::is('dashboard/pending') ? 'active' : '' }}">
|
<li class="menu-item {{ Request::is('dashboard/pending') ? 'active' : '' }}">
|
||||||
<a href="/dashboard/pending" class="menu-link">
|
<a href="/dashboard/pending" class="menu-link">
|
||||||
<i class="menu-icon tf-icons bx bx-collection"></i>
|
<i class="menu-icon tf-icons bx bx-collection"></i>
|
||||||
<div data-i18n="Basic">Konfirmasi Pesanan<span class="badge badge-canter rounded-circle bg-danger ms-1 mb-1 fs-6" id="konfirmasi_pesanan"></span>
|
<div data-i18n="Basic">Konfirmasi Pesanan <span class="badge badge-canter rounded-circle bg-danger ms-1 mb-1 fs-6" id="konfirmasi_pesanan"></span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@ -18,6 +18,9 @@
|
|||||||
<!-- Kanan: Tombol Export + Input Tanggal -->
|
<!-- Kanan: Tombol Export + Input Tanggal -->
|
||||||
<div class="d-flex align-items-center gap-2">
|
<div class="d-flex align-items-center gap-2">
|
||||||
<!-- Tombol Export -->
|
<!-- Tombol Export -->
|
||||||
|
<button type="button" class="btn btn-sm btn-info" id="data_pending" onclick="datapending()">
|
||||||
|
<i class="fa-solid fa-circle-info"></i> Info Data Pending
|
||||||
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-primary" id="buttonLabel" onclick="labelDownload()" disabled>
|
<button type="button" class="btn btn-sm btn-primary" id="buttonLabel" onclick="labelDownload()" disabled>
|
||||||
<i class="fa-solid fa-qrcode"></i> Cetak Label
|
<i class="fa-solid fa-qrcode"></i> Cetak Label
|
||||||
</button>
|
</button>
|
||||||
@ -48,6 +51,8 @@
|
|||||||
|
|
||||||
@include('dashboard.pesanan.pekerjaan.modal.detail')
|
@include('dashboard.pesanan.pekerjaan.modal.detail')
|
||||||
@include('dashboard.pesanan.pekerjaan.modal.action')
|
@include('dashboard.pesanan.pekerjaan.modal.action')
|
||||||
|
@include('dashboard.pesanan.pekerjaan.modal.infoDataPending')
|
||||||
|
|
||||||
<x-modalExport modalId="modalExportPekerjaan" form="/dashboard/pekerjaan/export" confirm="Verifikasi Makanan"/>
|
<x-modalExport modalId="modalExportPekerjaan" form="/dashboard/pekerjaan/export" confirm="Verifikasi Makanan"/>
|
||||||
<script src="{{ ver('/js/pekerjaan/_init.js') }}"></script>
|
<script src="{{ ver('/js/pekerjaan/_init.js') }}"></script>
|
||||||
<script src="{{ ver('/js/pekerjaan/dt.js') }}"></script>
|
<script src="{{ ver('/js/pekerjaan/dt.js') }}"></script>
|
||||||
|
|||||||
@ -0,0 +1,23 @@
|
|||||||
|
<!-- Modal -->
|
||||||
|
<div class="modal fade" id="modalActionInfoPending" tabindex="-1" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
||||||
|
<div class="modal-content">
|
||||||
|
|
||||||
|
<!-- Modal Header -->
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title fs-5">Data Pending</h5>
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Modal Body -->
|
||||||
|
<div class="modal-body">
|
||||||
|
<table class="table" id="datatableDataPending"></table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Modal Footer -->
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Tutup</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@ -12,12 +12,16 @@
|
|||||||
<div class="card-header d-flex justify-content-between align-items-center">
|
<div class="card-header d-flex justify-content-between align-items-center">
|
||||||
<h5 class="mb-0">Konfirmasi Pesanan <strong id="confirm_date_pesanan_pending"></strong></h5>
|
<h5 class="mb-0">Konfirmasi Pesanan <strong id="confirm_date_pesanan_pending"></strong></h5>
|
||||||
<div class="d-flex align-items-center gap-2">
|
<div class="d-flex align-items-center gap-2">
|
||||||
|
<button type="button" class="btn btn-sm btn-info" id="data_pending" onclick="datapending()">
|
||||||
|
<i class="fa-solid fa-circle-info"></i> Info Data Pending
|
||||||
|
</button>
|
||||||
<button class="btn btn-sm btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasKonfirmasiPesanan" aria-controls="offcanvasKonfirmasiPesanan">
|
<button class="btn btn-sm btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasKonfirmasiPesanan" aria-controls="offcanvasKonfirmasiPesanan">
|
||||||
Verifikasi Makanan <span class="badge badge-canter rounded-circle bg-danger ms-2 mb-1" id="konfirmasi_pesanan_offcanvas"></span>
|
Verifikasi Makanan <span class="badge badge-canter rounded-circle bg-danger ms-2 mb-1" id="konfirmasi_pesanan_offcanvas"></span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-outline-secondary" onclick="exportPending()">
|
<button type="button" class="btn btn-sm btn-outline-secondary" onclick="exportPending()">
|
||||||
<i class="fa fa-download me-1"></i> Export
|
<i class="fa fa-download me-1"></i> Export
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="input-group input-group-sm" style="width: 240px;">
|
<div class="input-group input-group-sm" style="width: 240px;">
|
||||||
<span class="input-group-text bg-white">
|
<span class="input-group-text bg-white">
|
||||||
<i class="fa fa-calendar-alt"></i>
|
<i class="fa fa-calendar-alt"></i>
|
||||||
@ -48,6 +52,7 @@
|
|||||||
{{-- @include('dashboard.pesanan.pending.modal.export') --}}
|
{{-- @include('dashboard.pesanan.pending.modal.export') --}}
|
||||||
@include('dashboard.pesanan.pending.offcanvas.konfirmasiPesanan')
|
@include('dashboard.pesanan.pending.offcanvas.konfirmasiPesanan')
|
||||||
@include('dashboard.pesanan.pending.modal.actionPekerjaan')
|
@include('dashboard.pesanan.pending.modal.actionPekerjaan')
|
||||||
|
@include('dashboard.pesanan.pending.modal.infoDataPending')
|
||||||
|
|
||||||
|
|
||||||
<script src="{{ ver('/js/pesanan_pending/_init.js') }}"></script>
|
<script src="{{ ver('/js/pesanan_pending/_init.js') }}"></script>
|
||||||
|
|||||||
@ -0,0 +1,23 @@
|
|||||||
|
<!-- Modal -->
|
||||||
|
<div class="modal fade" id="modalActionInfoPending" tabindex="-1" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
||||||
|
<div class="modal-content">
|
||||||
|
|
||||||
|
<!-- Modal Header -->
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title fs-5">Data Pending</h5>
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Modal Body -->
|
||||||
|
<div class="modal-body">
|
||||||
|
<table class="table" id="datatableDataPending"></table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Modal Footer -->
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Tutup</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@ -14,6 +14,9 @@
|
|||||||
<div class="offcanvas-body">
|
<div class="offcanvas-body">
|
||||||
<!-- Toolbar -->
|
<!-- Toolbar -->
|
||||||
<div class="d-flex align-items-center gap-2 mb-3">
|
<div class="d-flex align-items-center gap-2 mb-3">
|
||||||
|
<button type="button" class="btn btn-sm btn-info" onclick="dataPendingPekerjaan()">
|
||||||
|
<i class="fa-solid fa-circle-info"></i> Info Data Pending
|
||||||
|
</button>
|
||||||
<!-- Tombol Cetak Label -->
|
<!-- Tombol Cetak Label -->
|
||||||
<button type="button" class="btn btn-sm btn-primary" id="buttonLabel" onclick="labelDownload()" disabled>
|
<button type="button" class="btn btn-sm btn-primary" id="buttonLabel" onclick="labelDownload()" disabled>
|
||||||
<i class="fa-solid fa-qrcode"></i> Cetak Label
|
<i class="fa-solid fa-qrcode"></i> Cetak Label
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<title>{{ $title }} | Order Gizi RSAB HK</title>
|
<title>{{ $title }} | Order Gizi RSAB HK</title>
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="keywords" content="">
|
<meta name="keywords" content="">
|
||||||
{{-- <link rel="icon" type="image/png" href="{{ asset('logo/logo_rsabhk.png') }}" sizes="16x16"> --}}
|
<link rel="icon" href="/logo/icon.ico" type="image/x-icon">
|
||||||
|
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link href="https://fonts.googleapis.com" rel="preconnect">
|
<link href="https://fonts.googleapis.com" rel="preconnect">
|
||||||
|
|||||||
@ -62,6 +62,7 @@ Route::group(['middleware' => ['auth']], function(){
|
|||||||
Route::put('/pending/action-billing/{order_id}', [PesananController::class, 'actionOrderViaBilling']);
|
Route::put('/pending/action-billing/{order_id}', [PesananController::class, 'actionOrderViaBilling']);
|
||||||
Route::get('/pending/action-progress-order/{order_id}', [PesananController::class, 'getDataOrderDetail']);
|
Route::get('/pending/action-progress-order/{order_id}', [PesananController::class, 'getDataOrderDetail']);
|
||||||
Route::post('/pending/update-detail-status/{order_id}', [PesananController::class, 'updateDetailStatusOrder']);
|
Route::post('/pending/update-detail-status/{order_id}', [PesananController::class, 'updateDetailStatusOrder']);
|
||||||
|
Route::get('/data/pending', [PesananController::class, 'dataPending']);
|
||||||
|
|
||||||
Route::get('/selesai', [PesananController::class, 'indexSelesai']);
|
Route::get('/selesai', [PesananController::class, 'indexSelesai']);
|
||||||
Route::post('/selesai/export', [PesananController::class, 'exportSelesai']);
|
Route::post('/selesai/export', [PesananController::class, 'exportSelesai']);
|
||||||
@ -81,6 +82,7 @@ Route::group(['middleware' => ['auth']], function(){
|
|||||||
Route::post('pekerjaan/export', [PesananController::class, 'exportPekerjaan']);
|
Route::post('pekerjaan/export', [PesananController::class, 'exportPekerjaan']);
|
||||||
Route::get('/pekerjaan/detail/{id}', [PesananController::class, 'getPekerjaanDetail']);
|
Route::get('/pekerjaan/detail/{id}', [PesananController::class, 'getPekerjaanDetail']);
|
||||||
Route::get('/pekerjaan/label', [PesananController::class, 'downloadLabel']);
|
Route::get('/pekerjaan/label', [PesananController::class, 'downloadLabel']);
|
||||||
|
Route::get('/data/pending-pekerjaan', [PesananController::class, 'dataPekerjaanPending']);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::post('/logout', [AuthController::class, 'logout']);
|
Route::post('/logout', [AuthController::class, 'logout']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user