ikinci temizlik tamamlandı
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
$(".generate-all2:not('.disabled')").on("click", function(){
|
||||
Swal.fire('{{e2("Generate Start")}}', '{{e2("Please wait...")}}', 'success');
|
||||
$(this).attr("disabled", "disabled").addClass("disabled").html("Please wait...");
|
||||
|
||||
$.get("{{url("cron-documents?type=")}}" + $(this).attr("type"), function(d) {
|
||||
Swal.fire('', 'Generated PDF Document Count:' + d, 'success');
|
||||
$(".generate-all2").html('<i class="fa fa-file-pdf"></i> {{e2("Generate All")}}');
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user