Debug Documents
This commit is contained in:
parent
2b8030691b
commit
93cd227a8c
1 changed files with 8 additions and 11 deletions
19
vendor/view/documents/documents_form.php
vendored
19
vendor/view/documents/documents_form.php
vendored
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue