update blast sms dan wasap by sag
This commit is contained in:
@@ -244,6 +244,7 @@
|
||||
<div class="card-body text-center">
|
||||
|
||||
<form id="exportpdf" action="{{route('stokaudit.exportlaporancetakkhas')}}" target="_blank" method="POST">
|
||||
{{-- <a class="btn m-1 btn-success confirmdel" href="{{route('stokaudit.exportlaporancetakkhas')}}" data-toggle="tooltip" data-placement="top" title="Blast"><i class="far fa-mail-alt"></i>Blast Whatsapp & SMS</a> --}}
|
||||
@csrf
|
||||
<input type="hidden" name="type" id="typedonwload" value="">
|
||||
<input type="hidden" name="daritempoh" value="{{ $daritempoh}}">
|
||||
@@ -404,9 +405,14 @@
|
||||
titleAttr: 'Blast Whatsapp',
|
||||
text: '<h8><b>WHATSAPP & SMS</b></h8>',
|
||||
action: function ( e, dt, node, config ) {
|
||||
$('#typedonwload').val('whatsapp');
|
||||
$("#exportpdf").submit();
|
||||
// window.open("_blank");
|
||||
// $('#typedonwload').val('whatsapp');
|
||||
// $("#exportpdf").submit();
|
||||
$("#exportpdf").click(function() {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
alert("ADAKAH ANDA PASTI?");
|
||||
$('#typedonwload').val('whatsapp');
|
||||
$("#exportpdf").submit();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user