// Cria nova contrato $("#btn_save_recebivel").click(function (e){ $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') } }) e.preventDefault(); var formData = { credor: $('#credor_modal_man').val(), valor : $('#valor_modal_man').val(), qtd_parcelas: $('#qtd_parcelas_modal_man').val(), dividir: $("input[name='dividir_modal_man']:checked").val(), dt_vcto: $('#dt_vcto_modal_man').val(), } var state = $('#btn_save_recebivel').val(); var type = "POST"; //Valida se pode cadastrar a configuração //if($('#liberacadastro_contrato_modal').val() == "true"){ $.ajax({ type: type, url: "../../get-receber/recebivel", data: formData, dataType: 'json', success: function (data) { //console.log(data); // alert('Salvo com sucesso'); //$("#alertModalsuccess_contrato").removeClass('d-none'); // $('#frm_create_contrato').trigger("reset"); // $('#CadConfParModal').modal('hide'); // location.reload(); $.each(JSON.parse(data),function(key,value){ $('#validation_return').append('
'+value+''+value+''+value+''+value+' 0){ $.ajax({ type: type, url: "../../boleto/html", data: formData, dataType: 'json', beforeSend: function(){ $("#gif_load").html(''); }, success: function (data) { $.each(JSON.parse(data),function(key,value){ $("#bt_respboleto").click(); $("#teste_boleto").html(value); $("#btn_impboleto").click(); }); }, error: function (data) { $("#gif_load").html('
Clique em "Buscar", Irá recarregar os dados novamente o próximo documento a ser gerado está com problema de cadastro, preencher todos os dados do cliente, clicar em "Editar", mesmo que não seja alterado nada.