fix form create update postcheck and precheck
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<a href="{{ route('transaction') }}" class="mt-4 btn btn-danger"><i class="fa fa-chevron-left"></i> Kembali</a>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
{{-- <h5 class="text-center mt-4">Cipta Kreasi Baru</h5> --}}
|
||||
<a href="/"><img src="{{ asset('logo-ckb.png') }}" style="width: 100%" alt="LOGO CKB"></a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -294,17 +293,6 @@
|
||||
|
||||
$string .= "*TOTAL: ".$total_qty." Unit*\n\n";
|
||||
$overall_total += $total_qty;
|
||||
|
||||
// Remove monthly data display since this is daily report
|
||||
// if (isset($trx['total_body']) && is_array($trx['total_body'])) {
|
||||
// foreach ($trx['total_body'] as $total) {
|
||||
// $string .= $total;
|
||||
// }
|
||||
// }
|
||||
|
||||
// if (isset($trx['total_total'])) {
|
||||
// $string .= $trx['total_total']."\n\n";
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
$string .= "*Tidak ada data transaksi hari ini*\n\n";
|
||||
@@ -385,6 +373,18 @@
|
||||
<script>
|
||||
$("#kt-table").DataTable()
|
||||
|
||||
function precheck(id) {
|
||||
let url = $("#precheck"+id).attr("data-url")
|
||||
console.log(url)
|
||||
// window.open(url, "_blank")
|
||||
}
|
||||
|
||||
function postcheck(id) {
|
||||
let url = $("#postcheck"+id).attr("data-url")
|
||||
console.log(url)
|
||||
// window.open(url, "_blank")
|
||||
}
|
||||
|
||||
// Check if Web Share API is supported
|
||||
function isWebShareSupported() {
|
||||
return navigator.share && typeof navigator.share === 'function';
|
||||
|
||||
Reference in New Issue
Block a user