Debug Documents
This commit is contained in:
parent
e339b8d851
commit
1b79c32073
1 changed files with 10 additions and 2 deletions
12
vendor/view/documents/documents_form.php
vendored
12
vendor/view/documents/documents_form.php
vendored
|
|
@ -273,8 +273,8 @@ try{
|
|||
|
||||
<?php }} ?>
|
||||
|
||||
<input type="text" name="company_id" value="<?php echo $DocumentsResult->company_id;?>">
|
||||
<input type="hidden" name="documents_id" value="<?php echo $DocumentsResult->documents_id;?>">
|
||||
<input type="text" name="company_id" id="company_id" value="">
|
||||
<input type="hidden" name="documents_id" id="documents_id" value="<?php echo $DocumentsResult->documents_id;?>">
|
||||
<input type="hidden" name="TABLE" value="documents" />
|
||||
<input type="hidden" name="ACTION" value="documents_save" />
|
||||
<input type="hidden" name="FOLDER" value="action" />
|
||||
|
|
@ -338,6 +338,14 @@ try{
|
|||
/** inputs mask */
|
||||
loadMask();
|
||||
|
||||
<?php
|
||||
/** Verifica se o cliente foi informado */
|
||||
if($companiesId > 0){ ?>
|
||||
|
||||
$('#company_id').val(<?php echo $companiesId;?>);
|
||||
|
||||
<?php } ?>
|
||||
|
||||
/** tooltips */
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue