temporary direct print before php gd work
This commit is contained in:
@@ -89,5 +89,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.print();
|
||||
setTimeout(function () {
|
||||
window.close();
|
||||
}, 100);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -126,13 +126,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form method="POST" name="generateresit" action="{{ route('resit.pdf') }}">
|
||||
<form method="POST" name="generateresit" action="{{ route('resit.pdf') }}" target="_blank" id="myForm">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 text-center" id="rem">
|
||||
@csrf
|
||||
<input type="hidden" name="billplzid" value="{{ $payment_details['billplz_id'] }}">
|
||||
<input type="hidden" name="norujukan" value="{{ $payment_details['norujukan'] }}">
|
||||
<input type="hidden" name="company" value="{{ $company }}">
|
||||
<input type="hidden" name="jenis" value="print">
|
||||
<a class="btn btn-primary"onclick="loadingbtn();" href="{{ route('home') }}">Kembali Muka Hadapan</a>
|
||||
<button class="btn btn-primary" onclick="cetakresit()">Cetak Resit</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user