tombol print
parent
0031a64d82
commit
d41014da77
|
@ -76,6 +76,13 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body style="width: 58mm;">
|
<body style="width: 58mm;">
|
||||||
|
<!-- Button Print -->
|
||||||
|
<div class="">
|
||||||
|
<div class="col-6 mb">
|
||||||
|
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
<h2 style="text-align: center">Sepiring Telur Keriting</h2>
|
<h2 style="text-align: center">Sepiring Telur Keriting</h2>
|
||||||
<p style="text-align: center">Jln. Jawa No. 28A, Jember</p>
|
<p style="text-align: center">Jln. Jawa No. 28A, Jember</p>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
|
@ -225,18 +232,6 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
|
|
||||||
<!-- Button Print -->
|
|
||||||
<br>
|
|
||||||
<div class="">
|
|
||||||
<div class="col-6 mb">
|
|
||||||
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 mt-2">
|
|
||||||
<button class="btn btn-danger btn-block hidden-print" id="refresh">Refresh
|
|
||||||
Halaman</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
/* Untuk menyembunyikan tombol print */
|
/* Untuk menyembunyikan tombol print */
|
||||||
|
|
|
@ -76,6 +76,13 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body style="width: 58mm;">
|
<body style="width: 58mm;">
|
||||||
|
<!-- Button Print -->
|
||||||
|
<div class="">
|
||||||
|
<div class="col-6 mb">
|
||||||
|
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
<h2 style="text-align: center">Sepiring Telur Keriting</h2>
|
<h2 style="text-align: center">Sepiring Telur Keriting</h2>
|
||||||
<p style="text-align: center">Jln. Jawa No. 28A, Jember</p>
|
<p style="text-align: center">Jln. Jawa No. 28A, Jember</p>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
|
@ -225,18 +232,6 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
|
|
||||||
<!-- Button Print -->
|
|
||||||
<br>
|
|
||||||
<div class="">
|
|
||||||
<div class="col-6 mb">
|
|
||||||
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 mt-2">
|
|
||||||
<button class="btn btn-danger btn-block hidden-print" id="refresh">Refresh
|
|
||||||
Halaman</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
/* Untuk menyembunyikan tombol print */
|
/* Untuk menyembunyikan tombol print */
|
||||||
|
|
|
@ -76,6 +76,13 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body style="width: 58mm;">
|
<body style="width: 58mm;">
|
||||||
|
<!-- Button Print -->
|
||||||
|
<div class="">
|
||||||
|
<div class="col-6 mb">
|
||||||
|
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
@for ($i = 0; $i < 2; $i++)
|
@for ($i = 0; $i < 2; $i++)
|
||||||
<hr class="dashed-line" style="margin-top: 15px;">
|
<hr class="dashed-line" style="margin-top: 15px;">
|
||||||
<p style="text-align: center;font-size: 7pt">Print Dapur</p>
|
<p style="text-align: center;font-size: 7pt">Print Dapur</p>
|
||||||
|
@ -142,18 +149,6 @@
|
||||||
</table>
|
</table>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
@endfor
|
@endfor
|
||||||
|
|
||||||
<!-- Button Print -->
|
|
||||||
<br>
|
|
||||||
<div class="">
|
|
||||||
<div class="col-6 mb">
|
|
||||||
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 mt-2">
|
|
||||||
<button class="btn btn-danger btn-block hidden-print" id="refresh">Refresh
|
|
||||||
Halaman</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
/* Untuk menyembunyikan tombol print */
|
/* Untuk menyembunyikan tombol print */
|
||||||
|
|
|
@ -76,6 +76,13 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body style="width: 58mm;">
|
<body style="width: 58mm;">
|
||||||
|
<!-- Button Print -->
|
||||||
|
<div class="">
|
||||||
|
<div class="col-6 mb">
|
||||||
|
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
@for ($i = 0; $i < 3; $i++)
|
@for ($i = 0; $i < 3; $i++)
|
||||||
<hr class="dashed-line" style="margin-top: 15px;">
|
<hr class="dashed-line" style="margin-top: 15px;">
|
||||||
<p style="text-align: center;font-size: 7pt">Print Dapur</p>
|
<p style="text-align: center;font-size: 7pt">Print Dapur</p>
|
||||||
|
@ -145,18 +152,6 @@
|
||||||
</table>
|
</table>
|
||||||
<hr class="style2">
|
<hr class="style2">
|
||||||
@endfor
|
@endfor
|
||||||
|
|
||||||
<!-- Button Print -->
|
|
||||||
<br>
|
|
||||||
<div class="">
|
|
||||||
<div class="col-6 mb">
|
|
||||||
<button class="btn btn-info btn-block hidden-print" id="print-dapur">Print</button>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 mt-2">
|
|
||||||
<button class="btn btn-danger btn-block hidden-print" id="refresh">Refresh
|
|
||||||
Halaman</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
/* Untuk menyembunyikan tombol print */
|
/* Untuk menyembunyikan tombol print */
|
||||||
|
|
|
@ -595,11 +595,13 @@
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function printDapurDuaKali(id) {
|
function printDapurDuaKali(id) {
|
||||||
var url = "{{ route('transaksi.printDapurDuaKali', '') }}/" + id + '?print=true'
|
var url = "{{ route('transaksi.printDapurDuaKali', '') }}/" + id + '?print=true'
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function printDapurSatuKali(id) {
|
function printDapurSatuKali(id) {
|
||||||
var url = "{{ route('transaksi.printDapurSatuKali', '') }}/" + id + '?print=true'
|
var url = "{{ route('transaksi.printDapurSatuKali', '') }}/" + id + '?print=true'
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
|
@ -1123,7 +1125,7 @@
|
||||||
// // refresh page
|
// // refresh page
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location.reload(1);
|
window.location.reload(1);
|
||||||
}, 2000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
error: function(xhr, status, error) {
|
error: function(xhr, status, error) {
|
||||||
document.getElementById('pesan-bayar').disabled = false;
|
document.getElementById('pesan-bayar').disabled = false;
|
||||||
|
|
Loading…
Reference in New Issue