Debug Documents

This commit is contained in:
Kenio 2025-09-06 07:24:34 -03:00
parent 2b8030691b
commit 93cd227a8c

View file

@ -302,9 +302,15 @@ try{
/** Verifica se o cliente foi informado */
if($DocumentsResult->documents_id > 0){ ?>
$('input#company_id').val(<?php echo $DocumentsResult->company_id;?>);
alert();
$('input:#company_id').val(<?php echo $DocumentsResult->company_id;?>);
/** Caso selecione outro cliente, atualizo o valor */
$('select:#company_id').change(function(){
$('input:#company_id').val($('select:#company_id option:selected').val());
});
<?php } ?>
});
@ -359,15 +365,6 @@ try{
/** inputs mask */
loadMask();
<?php
/** Verifica se o cliente foi informado */
if($companiesId > 0){ ?>
$('#company_id').val(<?php echo $companiesId;?>);
alert();
<?php } ?>
/** tooltips */
$('[data-toggle="tooltip"]').tooltip();